OmegaK2/PyPoE

No files showing up in UI

Closed this issue · 6 comments

I load up my GGPK, it parses it for a minute, says everything is ok, but there are no files in the left pane.

Using it as a library to parse data (i.e. RePoE) works fine.

can you run PyPoE\ui\ggpk_viewer__init__.py directly from a console and see if there are any error messages? Also which OS?

Traceback (most recent call last):
File "g:\poetools\info\tool\othertools\pypoe-dev\PyPoE\ui\shared\file\model.py", line 183, in index
return self.createIndex(row, column, self._data)
TypeError: 'PySide2.QtCore.QAbstractItemModel.createIndex' called with wrong argument types:
PySide2.QtCore.QAbstractItemModel.createIndex(int, int, DirectoryNode)
Supported signatures:
PySide2.QtCore.QAbstractItemModel.createIndex(int, int, quintptr = 0)
PySide2.QtCore.QAbstractItemModel.createIndex(int, int, void = nullptr)

OS: WIN10 PRO

Indeed, I have the same problem, Win7 x64.

working fine for me on windows 10. here's my install version and stuff.

here is my output

C:\WINDOWS\system32>pip --version
pip 18.1 from c:\program files (x86)\microsoft visual studio\shared\python36_64\lib\site-packages\pip (python 3.6)

C:\WINDOWS\system32>pip list
Package                  Version    Location
------------------------ ---------- ----------------------------------------------------
alabaster                0.7.12
asn1crypto               0.24.0
atomicwrites             1.2.1
attrs                    18.2.0
Babel                    2.6.0
Brotli                   1.0.7
certifi                  2018.10.15
cffi                     1.11.5
chardet                  3.0.4
colorama                 0.4.0
configobj                5.0.6
cryptography             2.3.1
docutils                 0.14
graphviz                 0.10.1
idna                     2.7
imagesize                1.1.0
Jinja2                   2.10
MarkupSafe               1.0
more-itertools           4.3.0
mwclient                 0.9.1
oauthlib                 2.1.0
packaging                18.0
pip                      18.1
pluggy                   0.8.0
py                       1.7.0
pycparser                2.19
Pygments                 2.2.0
PyMySQL                  0.9.2
PyOpenGL                 3.1.0
pyparsing                2.2.2
PyPoE                    1.0.0a0   
PySide2                  5.11.2
pytest                   3.9.3
pytz                     2018.6
requests                 2.20.0
requests-oauthlib        1.0.0
setuptools               40.5.0
six                      1.11.0
snowballstemmer          1.2.1
Sphinx                   1.8.1
sphinxcontrib-websupport 1.1.0
SQLAlchemy               1.2.12
tqdm                     4.28.1
urllib3                  1.24

so I reproduced the issue when I updated all my pip tools. Here's the new list. Mine is now broken too :)

C:\Users\Zaafar Ahmed\Desktop\development-work\PyPoE>pip list
Package                  Version    Location
------------------------ ---------- ----------------------------------------------------
alabaster                0.7.12
asn1crypto               0.24.0
atomicwrites             1.2.1
attrs                    18.2.0
Babel                    2.6.0
Brotli                   1.0.7
certifi                  2018.11.29
cffi                     1.11.5
chardet                  3.0.4
colorama                 0.4.1
configobj                5.0.6
cryptography             2.4.2
docutils                 0.14
graphviz                 0.10.1
idna                     2.8
imagesize                1.1.0
Jinja2                   2.10
MarkupSafe               1.1.0
more-itertools           5.0.0
mwclient                 0.9.3
oauthlib                 2.1.0
packaging                18.0
pip                      18.1
pluggy                   0.8.0
py                       1.7.0
pycparser                2.19
Pygments                 2.3.1
PyMySQL                  0.9.3
PyOpenGL                 3.1.0
pyparsing                2.3.0
PyPoE                    1.0.0a0   
PySide2                  5.12.0
pytest                   4.0.2
pytz                     2018.7
requests                 2.21.0
requests-oauthlib        1.0.0
setuptools               40.6.3
shiboken2                5.12.0
six                      1.12.0
snowballstemmer          1.2.1
Sphinx                   1.8.3
sphinxcontrib-websupport 1.1.0
SQLAlchemy               1.2.15
tqdm                     4.28.1
urllib3                  1.24.1

This seems to be a bug specific to pyside2 5.12.0 (see https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-883?filter=allopenissues ). Installing 5.11.2 will fix the problem:
pip install -U pyside2==5.11.2