e2crawfo/notetaker

If installed normally (not editable) through pip, config.ini doesn't get installed properly.

Closed this issue · 0 comments

Traceback (most recent call last):
  File "/home/eric/.virtualenvs/nengo/bin/makenote", line 9, in <module>
    load_entry_point('notetaker==0.0.1', 'console_scripts', 'makenote')()
  File "/home/eric/.virtualenvs/nengo/local/lib/python2.7/site-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/eric/.virtualenvs/nengo/local/lib/python2.7/site-packages/pkg_resources.py", line 2431, in load_entry_point
    return ep.load()
  File "/home/eric/.virtualenvs/nengo/local/lib/python2.7/site-packages/pkg_resources.py", line 2147, in load
    ['__name__'])
  File "/home/eric/.virtualenvs/nengo/local/lib/python2.7/site-packages/notetaker/__init__.py", line 1, in <module>
    from main import view_note_cl, make_note_cl
  File "/home/eric/.virtualenvs/nengo/local/lib/python2.7/site-packages/notetaker/main.py", line 13, in <module>
    config_string = pkg_resources.resource_string(__name__, 'config.ini')
  File "/home/eric/.virtualenvs/nengo/local/lib/python2.7/site-packages/pkg_resources.py", line 962, in resource_string
    self, resource_name
  File "/home/eric/.virtualenvs/nengo/local/lib/python2.7/site-packages/pkg_resources.py", line 1389, in get_resource_string
    return self._get(self._fn(self.module_path, resource_name))
  File "/home/eric/.virtualenvs/nengo/local/lib/python2.7/site-packages/pkg_resources.py", line 1510, in _get
    stream = open(path, 'rb')
IOError: [Errno 2] No such file or directory: '/home/eric/.virtualenvs/nengo/local/lib/python2.7/site-packages/notetaker/config.ini'