Active Topics

 



Notices


Reply
Thread Tools
strange1712's Avatar
Posts: 185 | Thanked: 111 times | Joined on Jul 2010 @ Mexico DF, Mexico
#11
installed using dpkg -i --force-architecture lightningbeam.deb.
This is what I get.

Code:
$ lightningbeam
<svlgui.Lightningbeam object at 0x5d56f0>
<svlgui.Lightningbeam object at 0x5d56f0>
Traceback (most recent call last):
  File "/usr/share/lightningbeam/lightningbeam.py", line 327, in <module>
    MainWindow = lightningbeam_windows.MainWindowOSX()
  File "/usr/share/lightningbeam/lightningbeam_windows.py", line 246, in __init__
    i.setvisible(False)
  File "/usr/share/lightningbeam/svlgui.py", line 719, in setvisible
    self.frame._gtk_inner_widget.set_visible(False)
AttributeError: 'gtk.Fixed' object has no attribute 'set_visible'
I've slept just a couple hours, so I'll do further testing (don't really know what to do) later.

Thanks for your efforts!
__________________
Linux Registered User # 492214
http://counter.li.org/
------------------------
N900 registered as Linux Machine # 426325
 

The Following User Says Thank You to strange1712 For This Useful Post:
Posts: 1,746 | Thanked: 1,832 times | Joined on Dec 2010
#12
i get the same problem when i run from source. using python lightningbeam.py
 

The Following User Says Thank You to m4r0v3r For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#13
Originally Posted by Mentalist Traceur View Post
I'll give it a try soonish as well.

In the meantime, skykooler, where are you that you can't find any N900s for sale?
I am in Pennsylvania, USA.

installed using dpkg -i --force-architecture lightningbeam.deb.
This is what I get.

Code:
$ lightningbeam
<svlgui.Lightningbeam object at 0x5d56f0>
<svlgui.Lightningbeam object at 0x5d56f0>
Traceback (most recent call last):
  File "/usr/share/lightningbeam/lightningbeam.py", line 327, in <module>
    MainWindow = lightningbeam_windows.MainWindowOSX()
  File "/usr/share/lightningbeam/lightningbeam_windows.py", line 246, in __init__
    i.setvisible(False)
  File "/usr/share/lightningbeam/svlgui.py", line 719, in setvisible
    self.frame._gtk_inner_widget.set_visible(False)
AttributeError: 'gtk.Fixed' object has no attribute 'set_visible'
Ok, I think this package should fix that. It is also built as "armel" architecture, so dpkg shouldn't complain.

https://github.com/downloads/skykool...beam_armel.deb
 
Posts: 215 | Thanked: 348 times | Joined on May 2011
#14
I got this

Code:
~/MyDocs/.documents $ sudo dpkg -i lightningbeam_armel.deb 
Selecting previously deselected package lightningbeam.
(Reading database ... 30289 files and directories currently installed.)
Unpacking lightningbeam (from lightningbeam_armel.deb) ...
dpkg: dependency problems prevent configuration of lightningbeam:
 lightningbeam depends on libc; however:
  Package libc is not installed.
dpkg: error processing lightningbeam (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 lightningbeam
Code:
~/MyDocs/.documents $ sudo apt-get install libc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libc has no installation candidate
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#15
Originally Posted by lonk View Post
I got this

Code:
~/MyDocs/.documents $ sudo dpkg -i lightningbeam_armel.deb 
Selecting previously deselected package lightningbeam.
(Reading database ... 30289 files and directories currently installed.)
Unpacking lightningbeam (from lightningbeam_armel.deb) ...
dpkg: dependency problems prevent configuration of lightningbeam:
 lightningbeam depends on libc; however:
  Package libc is not installed.
dpkg: error processing lightningbeam (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 lightningbeam
Code:
~/MyDocs/.documents $ sudo apt-get install libc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libc has no installation candidate
Oops. It shouldn't depend on libc. I'll take that out.
 

The Following User Says Thank You to skykooler For This Useful Post:
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#16
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.
Attached Images
 
 

The Following User Says Thank You to AapoRantalainen For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#17
Here's a new one with that fixed:
https://github.com/downloads/skykool...htningbeam.deb
 
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)?
 
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#19
Originally Posted by skykooler View Post
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)?
No need for debian chroot, disabling finger-ui do the trick
Code:
GTK2_RC_FILES= python ./lightningbeam.py
Attached Images
 
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post:
Reply

Tags
flash, html5, pygtk, python, testing

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:21.