View Single Post
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#18
Originally Posted by AapoRantalainen View Post
It depends on package: python-imaging
Seems it is not listed.
*
On maemo5 packages should be installed on /opt/ not /usr/share

I copied code from git (81622cc3bf421eed87606c589fd3a489e9462b98) and put them to /opt/lightningbeam/ and then it needs also:
Code:
ln -s /opt/lightningbeam/ /usr/share/lightningbeam
*
I can open menus, but clicking elements doesn't do anything (e.g. Open, close, quit, preferences). Only once I got traceback:

Traceback (most recent call last):
File "/opt/lightningbeam/GUI/Generic/GApplications.py", line 147, in run
self.event_loop()
File "/opt/lightningbeam/GUI/Generic/GApplications.py", line 165, in event_loop
self._event_loop(None)
File "/opt/lightningbeam/GUI/Generic/GApplications.py", line 181, in _event_loop
self.handle_next_event(modal_window)
File "/opt/lightningbeam/GUI/Gtk/Application.py", line 29, in handle_next_event
_call_with_excepthook(gtk.main_iteration)
File "/opt/lightningbeam/GUI/Gtk/Menu.py", line 54, in <lambda>
action = lambda widget: app.dispatch(command)
File "/opt/lightningbeam/GUI/Generic/GApplications.py", line 324, in dispatch
self.target.handle(message, *args)
File "/opt/lightningbeam/GUI/Generic/MessageHandler.py", line 62, in handle
self.pass_to_next_handler(message, *args)
File "/opt/lightningbeam/GUI/Generic/MessageHandler.py", line 72, in pass_to_next_handler
next.handle(message, *args)
File "/opt/lightningbeam/GUI/Generic/MessageHandler.py", line 62, in handle
self.pass_to_next_handler(message, *args)
File "/opt/lightningbeam/GUI/Generic/MessageHandler.py", line 72, in pass_to_next_handler
next.handle(message, *args)
File "/opt/lightningbeam/GUI/Generic/MessageHandler.py", line 62, in handle
self.pass_to_next_handler(message, *args)
File "/opt/lightningbeam/GUI/Generic/MessageHandler.py", line 72, in pass_to_next_handler
next.handle(message, *args)
File "/opt/lightningbeam/GUI/Generic/MessageHandler.py", line 59, in handle
method(*args)
File "lightningbeam.py", line 480, in preferences
prefwin = svlgui.PreferencesWindow()
File "/opt/lightningbeam/svlgui.py", line 2260, in __init__
self.win.title = "Preferences"
AttributeError: PreferencesWindow instance has no attribute 'win'


*
How much pixels this needs? Check screenshot.
It shouldn't need that many pixels. Maybe hildon scales elements up. What happens if you run it from a debian chroot (anybody who has one)?