quickly package --extras doesn't produce /opt/extras.ubuntu.com/../share/locale

Posted by user75704 on Ask Ubuntu See other posts from Ask Ubuntu or by user75704
Published on 2012-07-09T14:53:58Z Indexed on 2012/07/09 15:24 UTC
Read the original article Hit count: 244

Filed under:
|
|

I'm trying to package an app to /opt, but when installed the app won't run and complains:

Traceback (most recent call last):
 File "/opt/extras.ubuntu.com/drawers/bin/drawers", line 45, in <module>
    import drawers
  File "/opt/extras.ubuntu.com/drawers/drawers/__init__.py", line 21, in <module>
    locale.bindtextdomain('drawers', '/opt/extras.ubuntu.com/drawers/share/locale')
NameError: name 'locale' is not defined

I can't figure out what I need to change. Is there a config file I need to alter?

© Ask Ubuntu or respective owner

Related posts about python

Related posts about quickly