can't find 'share' dir when using homebrew on Mac OS X

Bug #826481 reported by Uznick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DreamPie
Expired
Undecided
Unassigned

Bug Description

I get exception

Traceback (most recent call last):
  File "/usr/local/share/python/dreampie", line 3, in <module>
    from dreampielib.gui import main
  File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/dreampielib/gui/__init__.py", line 74, in <module>
    data_dir = find_data_dir()
  File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/dreampielib/gui/__init__.py", line 72, in find_data_dir
    raise OSError("Could not find the 'share' directory")
OSError: Could not find the 'share' directory

When try to run dreampie.

gtksourceview was installed via homebrew.
dreampie was installed with setup.py script.

Tags: homebrew mac

Related branches

Revision history for this message
Uznick (uznick) wrote :

The correct path to 'share' directory in this case is /usr/local/share/python/dreampie

Revision history for this message
Noam Yorav-Raphael (noamraph) wrote :

Thanks for the report!

I added the directory in revision 242. Can you check out the latest revision and see if it now works?

Noam

Changed in dreampie:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for DreamPie because there has been no activity for 60 days.]

Changed in dreampie:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.