max_tts_lib.max_ttsconfig.project_path_not_found

Bug #950819 reported by Marek Bardoński
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Max TTS
Expired
Undecided
Unassigned

Bug Description

Hello,

After clean install from trunk, I received error:

"
Traceback (most recent call last):
  File "/usr/local/bin/max-tts", line 44, in <module>
    max_tts.main()
  File "/usr/local/lib/python2.7/dist-packages/max_tts/__init__.py", line 44, in main
    window = MaxTtsWindow.MaxTtsWindow()
  File "/usr/local/lib/python2.7/dist-packages/max_tts_lib/Window.py", line 44, in __new__
    builder = get_builder('MaxTtsWindow')
  File "/usr/local/lib/python2.7/dist-packages/max_tts_lib/helpers.py", line 36, in get_builder
    ui_filename = get_data_file('ui', '%s.ui' % (builder_file_name,))
  File "/usr/local/lib/python2.7/dist-packages/max_tts_lib/max_ttsconfig.py", line 51, in get_data_file
    return os.path.join(get_data_path(), *path_segments)
  File "/usr/local/lib/python2.7/dist-packages/max_tts_lib/max_ttsconfig.py", line 68, in get_data_path
    raise project_path_not_found
max_tts_lib.max_ttsconfig.project_path_not_found
"

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Thanks for the report!

I am using the quickly framework for application development, and it looks like this error lies somewhere in the quickly template code. I’d have to have a deeper look into quickly internals to figure out why it fails with a standard install.

In the meanwhile, you could install it from my PPA: https://launchpad.net/~frederik-elwert/+archive/max-tts or install quickly and use "quickly run" from the source directory.

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Sorry, forgot to ask in my first comment: Could you please tell me what __max_tts_data_directory__ is in /usr/local/lib/python2.7/dist-packages/max_tts_lib/max_ttsconfig.py ? If it starts with /usr/share instead of /usr/local/share, then installing with --prefix=/usr might help.

 (I think I remember issues with prefix and python distutils, but I am not really sure.)

Changed in max-tts:
status: New → Incomplete
Revision history for this message
Marek Bardoński (bdfhjk) wrote : Re: [Bug 950819] Re: max_tts_lib.max_ttsconfig.project_path_not_found

I have installed your program, calling: sudo python setup.py install .I
will try with quickly.

Revision history for this message
Marek Bardoński (bdfhjk) wrote :

Trying with quickly not work:

(max-tts:9931): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure:
assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL'
failed

(max-tts:9931): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure:
assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL'
failed

(max-tts:9931): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure:
assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL'
failed

(max-tts:9931): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure:
assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL'
failed

(max-tts:9931): GLib-GIO-CRITICAL **: Settings schema
'net.launchpad.max-tts' is not installed

(max-tts:9931): GLib-GIO-CRITICAL **: Settings schema
'net.launchpad.max-tts' is not installed

I have '/usr/share/max-tts/'.

Installing with prefix=/usr lead to the same error as using quickly .

I recommend put a INSTALL file into trunk with instalation details.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in max-tts:
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.