You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello. first of all Thank you very much for this amazing fitting tool.
last version that was working great with my linux computer was 1.1.20
i have the same error message since the traits tab has been implemented
./pyfa.py
Traceback (most recent call last):
File "./pyfa.py", line 88, in
from gui.mainFrame import MainFrame
File "/home/bip/Bureau/pyfa/new/gui/mainFrame.py", line 39, in
from gui.additionsPane import AdditionsPane
File "/home/bip/Bureau/pyfa/new/gui/additionsPane.py", line 22, in
from gui.boosterView import BoosterView
File "/home/bip/Bureau/pyfa/new/gui/boosterView.py", line 24, in
import gui.marketBrowser as mb
File "/home/bip/Bureau/pyfa/new/gui/marketBrowser.py", line 24, in
from gui.contextMenu import ContextMenu
File "/home/bip/Bureau/pyfa/new/gui/contextMenu.py", line 108, in
from gui.builtinContextMenus import *
File "/home/bip/Bureau/pyfa/new/gui/builtinContextMenus/itemStats.py", line 2, in
from gui.itemStats import ItemStatsDialog
File "/home/bip/Bureau/pyfa/new/gui/itemStats.py", line 29, in
from collections import OrderedDict
ImportError: cannot import name OrderedDict
thank you for your help and for this amazing tool.
Fly Safe
The text was updated successfully, but these errors were encountered:
This was introduced with commit 2e96801 for the new traits tab. The reason you're receiving this is because you don't have Python 2.7 (which has OrderedDict).
But don't worry! Pyfa ships with it's own OrderedDict in case the running environment isn't running 2.7. @cl05tomp must not have realized it when he was developing the feature. I just committed a permanent fix.
You can either get the latest git branch, or fix this yourself buy opening gui/itemStats.py and replacing the OrderedDict import on line 29 with:
try:
from collections import OrderedDict
except ImportError:
from gui.utils.compat import OrderedDict
Otherwise wait for the new release. Thanks for letting us know about this! =)
w9jds
pushed a commit
to w9jds/Pyfa
that referenced
this issue
Aug 14, 2017
hello. first of all Thank you very much for this amazing fitting tool.
last version that was working great with my linux computer was 1.1.20
i have the same error message since the traits tab has been implemented
./pyfa.py
Traceback (most recent call last):
File "./pyfa.py", line 88, in
from gui.mainFrame import MainFrame
File "/home/bip/Bureau/pyfa/new/gui/mainFrame.py", line 39, in
from gui.additionsPane import AdditionsPane
File "/home/bip/Bureau/pyfa/new/gui/additionsPane.py", line 22, in
from gui.boosterView import BoosterView
File "/home/bip/Bureau/pyfa/new/gui/boosterView.py", line 24, in
import gui.marketBrowser as mb
File "/home/bip/Bureau/pyfa/new/gui/marketBrowser.py", line 24, in
from gui.contextMenu import ContextMenu
File "/home/bip/Bureau/pyfa/new/gui/contextMenu.py", line 108, in
from gui.builtinContextMenus import *
File "/home/bip/Bureau/pyfa/new/gui/builtinContextMenus/itemStats.py", line 2, in
from gui.itemStats import ItemStatsDialog
File "/home/bip/Bureau/pyfa/new/gui/itemStats.py", line 29, in
from collections import OrderedDict
ImportError: cannot import name OrderedDict
thank you for your help and for this amazing tool.
Fly Safe
The text was updated successfully, but these errors were encountered: