ntt/reverence

Errors under Mac OS 10.6

gtaylor opened this issue · 1 comments

Latest from git. Here's the full REPL session:

Python 2.7.2 (default, Mar 12 2012, 01:46:05) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from reverence import blue
>>> eve = blue.EVE('/Users/gtaylor/Library/Application Support/EVE Online/p_drive/Local Settings/Application Data/CCP/EVE')
>>> cfg = eve.getconfigmgr()
>>> rec = cfg.invtypes.Get(638)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/gtaylor/.virtualenvs/uploader-qt/lib/python2.7/site-packages/reverence/config.py", line 393, in __get__
    value = self.method(obj)
  File "/Users/gtaylor/.virtualenvs/uploader-qt/lib/python2.7/site-packages/reverence/config.py", line 405, in method
    return self._loadbulkdata(tableName=(tableName or attrName), storageClass=storageClass, rowClass=rowClass, primaryKey=primaryKey, bulkID=bulkID)
  File "/Users/gtaylor/.virtualenvs/uploader-qt/lib/python2.7/site-packages/reverence/config.py", line 927, in _loadbulkdata
    rs = util.IndexRowset(obj[0], obj[1], key=primaryKey, RowClass=rowClass, cfgInstance=self)
TypeError: 'NoneType' object is not subscriptable

Figured this out. Had the wrong path. Updated the Mac wiki page:

https://github.com/ntt/reverence/wiki/Reverence-on-Mac-OS-X