Skip to content

Pyfa 2.8.0 not starting - yaml.FullLoader issue #1901

@DeeDeeRanged

Description

@DeeDeeRanged

Bug Report

version 2.8.0:
Error in sys.excepthook:
Traceback (most recent call last):
File "/home/filip/Games/EVE/Pyfa-2.8.0/gui/errorDialog.py", line 40, in HandleException
with config.logging_setup.threadbound():
AttributeError: 'NoneType' object has no attribute 'threadbound'

Original exception was:
Traceback (most recent call last):
File "Games/EVE/Pyfa-2.8.0/pyfa.py", line 104, in
config.defPaths(options.savepath)
File "/home/filip/Games/EVE/Pyfa-2.8.0/config.py", line 116, in defPaths
data = yaml.load(file, Loader=yaml.FullLoader)
AttributeError: module 'yaml' has no attribute 'FullLoader'

Expected behavior:

Normal startup like with 2.7.0 :)

Actual behavior:

See error message

Detailed steps to reproduce:

python3 pyfa.py in terminal

Fits involved in EFT format (Edit > To Clipboard > EFT):

Release or development git branch? Please note the release version or commit hash:

stable 2.8.0

Operating system and version (eg: Windows 10, OS X 10.9, OS X 10.11, Ubuntu 16.10):

Debian buster/testing

Other relevant information:

Manage to solve it by changing the lines containing "yaml.FullLoader" to SafeLoader in config.py and service/jargon/loader.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed to be a bugfixedThis issue has been fixed! Oh joy!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions