Quantcast
Channel: uncategorized - Forum - FlexGet
Viewing all articles
Browse latest Browse all 376

Flexget fails to run: 'ascii' codec can't decode byte

$
0
0

@gifty wrote:

Hi All,

When I run flexget, I get the following output:

[~] sudo flexget --debug -c .flexget/config.yml execute                                                                                                              12:41:42
    2016-05-15 12:42 DEBUG    manager                       Figuring out config load paths
    2016-05-15 12:42 DEBUG    manager                       Found config: /home/sofia/.flexget/config.yml
    2016-05-15 12:42 DEBUG    manager                       Config file /home/sofia/.flexget/config.yml selected
    2016-05-15 12:42 DEBUG    manager                       sys.defaultencoding: utf-8
    2016-05-15 12:42 DEBUG    manager                       sys.getfilesystemencoding: utf-8
    2016-05-15 12:42 DEBUG    manager                       os.path.supports_unicode_filenames: False
    2016-05-15 12:42 DEBUG    plugin                        Trying to load plugins from: ['/home/sofia/.flexget/plugins', '/usr/local/lib/python3.4/dist-packages/flexget/plugins']
    2016-05-15 12:42 DEBUG    plugin                        Plugin `memusage` requires `ext lib `guppy`` to load.
    2016-05-15 12:42 DEBUG    safe                          Reading from cache file /tmp/safe-0.4.words.cache
    2016-05-15 12:43 DEBUG    plugin                        Plugins took 2.65 seconds to load
    2016-05-15 12:43 DEBUG    manager                       Connecting to: sqlite:////home/sofia/.flexget/db-config.sqlite
    2016-05-15 12:43 DEBUG    manager                       config_name: config
    2016-05-15 12:43 DEBUG    manager                       config_base: /home/sofia/.flexget
    2016-05-15 12:43 DEBUG    manager                       New config data loaded.
    2016-05-15 12:43 INFO     manager                       Database upgrade is required. Attempting now.
    2016-05-15 12:43 ERROR    schema                        Failed to upgrade database for plugin simple_persistence: 'ascii' codec can't decode byte 0xdf in position 1: ordinal not in range(128)
    Traceback (most recent call last):
      File "/usr/local/lib/python3.4/dist-packages/flexget/db_schema.py", line 150, in upgrade_wrapper
        new_ver = upgrade_func(current_ver, session)
      File "/usr/local/lib/python3.4/dist-packages/flexget/utils/simple_persistence.py", line 60, in upgrade
        p = pickle.loads(row['value'])
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xdf in position 1: ordinal not in range(128)
    2016-05-15 12:43 DEBUG    manager                       Removed /home/sofia/.flexget/.config-lock
    Traceback (most recent call last):
      File "/usr/local/lib/python3.4/dist-packages/flexget/db_schema.py", line 150, in upgrade_wrapper
        new_ver = upgrade_func(current_ver, session)
      File "/usr/local/lib/python3.4/dist-packages/flexget/utils/simple_persistence.py", line 60, in upgrade
        p = pickle.loads(row['value'])
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xdf in position 1: ordinal not in range(128)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/bin/flexget", line 11, in <module>
        sys.exit(main())
      File "/usr/local/lib/python3.4/dist-packages/flexget/__init__.py", line 42, in main
        manager.start()
      File "/usr/local/lib/python3.4/dist-packages/flexget/manager.py", line 309, in start
        self.initialize()
      File "/usr/local/lib/python3.4/dist-packages/flexget/manager.py", line 206, in initialize
        fire_event('manager.upgrade', self)
      File "/usr/local/lib/python3.4/dist-packages/flexget/event.py", line 106, in fire_event
        result = event(*args, **kwargs)
      File "/usr/local/lib/python3.4/dist-packages/flexget/event.py", line 23, in __call__
        return self.func(*args, **kwargs)
      File "/usr/local/lib/python3.4/dist-packages/flexget/db_schema.py", line 158, in upgrade_wrapper
        manager.shutdown(finish_queue=False)
      File "/usr/local/lib/python3.4/dist-packages/flexget/manager.py", line 858, in shutdown
        raise RuntimeError('Cannot shutdown manager that was never initialized.')
    RuntimeError: Cannot shutdown manager that was never initialized.

This is the locale output:

[~] locale                                                                                                                                                           12:45:40
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

I'm running latest flexget:

[~] flexget -V                                                                                                                                                      
2.0.22
You are on the latest release.

Any idea of what might be the problem?

Thanks in advance!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 376

Trending Articles