ntt/reverence

Can't access categories/groups/types

Artefact2 opened this issue · 2 comments

The error:

Traceback (most recent call last):
  File "revshell.py", line 6, in <module>
    cfg.invcategories
  File "build/bdist.linux-x86_64/egg/reverence/config.py", line 91, in __get__
  File "build/bdist.linux-x86_64/egg/reverence/config.py", line 114, in method
  File "build/bdist.linux-x86_64/egg/reverence/config.py", line 56, in __init__
sqlite3.OperationalError: no such table: cache

How to reproduce:

from reverence import blue
eve = blue.EVE("/home/romain/.local/wine/eve/drive_c/EVE", cachepath="/home/romain/.local/wine/eve/drive_c/users/romain/Local Settings/Application Data/CCP/EVE/c_eve_tranquility", sharedcachepath="/home/romain/.local/wine/eve/drive_c/SharedCache")
cfg = eve.getconfigmgr()
cfg.invcategories

Perhaps this is the issue? (These empty .db files look very suspicious… The game is updated and runs fine, though.)

Silmeria ~/.local/wine/eve/drive_c/EVE/bin/staticdata % ls -l
total 35M
-rw-r--r-- 1 romain users   0 Aug 25 15:23 blueprints.db
-rw-r--r-- 1 romain users   0 Aug 25 15:24 evecategories.db
-rw-r--r-- 1 romain users   0 Aug 25 15:24 evegroups.db
-rw-r--r-- 1 romain users   0 Aug 25 15:24 evetypes.db
-rw-r--r-- 1 romain users 35M Aug 19 15:24 mapObjects.db
ntt commented

Yep. after 12 years, CCP still keeps moving files or changing formats every other patch. Gotta love this consistent and stable asset management.

Pushed a fix for at least categories/groups/types. There may be other tables that don't work but I'll get to those later.

Thanks for the fix. And thanks for your continued work on reverence, ntt!