Xanthos-Code / vintel

EVE Online Visual Intel Tool
113 stars 59 forks source link

Gentoo Linux drops pykde4 from PyQt4 #158

Open radub7 opened 7 years ago

radub7 commented 7 years ago

On Gentoo Linux, PyQt4 is dropping the 'pykde4' module entirely, and already dropped 'pykde4 kio', so Vintel won't load. Here's a link from the Gentoo forums where a dev told it to someone else. I get the following output in the console when I'm trying to use Vintel:

radub7@gentoo ~/vintel/src $python2.7 ./vintel.py /home/radub7/EVE/logs/Chatlogs
05/04 08:37:45|
05/04 08:37:45| ------------------- Vintel 1.2.4 starting up -------------------
05/04 08:37:45|
05/04 08:37:45| -- Unhandled Exception --
05/04 08:37:45|   File "./vintel.py", line 138, in <module>
    app = Application(sys.argv)
  File "./vintel.py", line 129, in __init__
    self.mainWindow = viui.MainWindow(chatLogDirectory, trayIcon, backGroundColor)
  File "/home/radu/vintel/src/vi/ui/viui.py", line 63, in __init__
    uic.loadUi(resourcePath('vi/ui/MainWindow.ui'), self)
  File "/usr/lib64/python2.7/site-packages/PyQt4/uic/__init__.py", line 236, in loadUi
    return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
  File "/usr/lib64/python2.7/site-packages/PyQt4/uic/Loader/loader.py", line 50, in __init__
    UIParser.__init__(self, QtCore, QtGui, LoaderCreatorPolicy(package))
  File "/usr/lib64/python2.7/site-packages/PyQt4/uic/uiparser.py", line 183, in __init__
    self.factory = QObjectCreator(creatorPolicy)
  File "/usr/lib64/python2.7/site-packages/PyQt4/uic/objcreator.py", line 97, in __init__
    self._cwFilters.append(plugin_locals["getFilter"]())
  File "<string>", line 23, in getFilter

05/04 08:37:45| <type 'exceptions.ImportError'>: No module named kio
05/04 08:37:45| -- ------------------- --

I have PyQt4.12 and Python 2.7.12 on my machine, if it matters.

bperian commented 6 years ago

I added a pre-release using PyQt5 and Python 3.6 if you're still using vintel , feedback is welcome. it should work fine with pip/pip3 packet installation for linux https://github.com/bperian/vintel