maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!] (https://talk.maemo.org/showthread.php?t=81769)

skykooler 2012-01-21 23:58

[Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
I am working on a open-source alternative to Adobe's Flash animated content creator. It is written in Python, using PyGTK under Linux, and as such should run on the N900. However, I do not have a N900 right now (still trying to find a used one for sale) - is anyone willing to test it?
Deb package - may work, may not: https://github.com/downloads/skykool...htningbeam.deb

Source: https://github.com/skykooler/Lightningbeam

m4r0v3r 2012-01-22 00:17

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
yeah go on

edit: this needs to be compiled for ARM

skykooler 2012-01-22 00:30

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
Quote:

Originally Posted by m4r0v3r (Post 1153832)
yeah go on

edit: this needs to be compiled for ARM

It is based on Python and as such should run fine on any architecture. The one binary (swfc) I did compile an arm version, which is included.

m4r0v3r 2012-01-22 00:37

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
am just running the deb thats linked and on the n900 it says it hasn't been compiled for arm?

skykooler 2012-01-22 00:38

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
Here is a screenshot running on OS X.

http://lightningbeam.org/lightningbeam-1.png

skykooler 2012-01-22 00:39

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
Quote:

Originally Posted by m4r0v3r (Post 1153836)
am just running the deb thats linked and on the n900 it says it hasn't been compiled for arm?

How are you installing it - with dpkg or with HAM/FAM?

m4r0v3r 2012-01-22 00:43

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
dpkg -i

thats all am using with the package name and it throws out


package architecture (any) does not match system (armel)

skykooler 2012-01-22 02:18

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
Quote:

Originally Posted by m4r0v3r (Post 1153841)
dpkg -i

thats all am using with the package name and it throws out


package architecture (any) does not match system (armel)

Odd - I'll look into that. In the meantime, you could try this .tar.gz.

m4r0v3r 2012-01-22 03:33

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
ill give it a shot in the morning its like 3am here lol

Mentalist Traceur 2012-01-22 05:41

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
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?

strange1712 2012-01-22 07:20

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
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!

m4r0v3r 2012-01-22 12:33

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
i get the same problem when i run from source. using python lightningbeam.py

skykooler 2012-01-22 16:57

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
Quote:

Originally Posted by Mentalist Traceur (Post 1153883)
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.

Quote:

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

lonk 2012-01-22 17:58

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
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


skykooler 2012-01-22 18:24

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
Quote:

Originally Posted by lonk (Post 1154067)
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.

AapoRantalainen 2012-01-22 18:34

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
1 Attachment(s)
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.

skykooler 2012-01-22 18:42

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
Here's a new one with that fixed:
https://github.com/downloads/skykool...htningbeam.deb

skykooler 2012-01-22 18:52

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
Quote:

Originally Posted by AapoRantalainen (Post 1154082)
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)?

AapoRantalainen 2012-01-22 19:34

Re: [Announce] Lightningbeam: Open-source Flash GUI [Testers Needed!]
 
1 Attachment(s)
Quote:

Originally Posted by skykooler (Post 1154090)
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


All times are GMT. The time now is 17:49.

vBulletin® Version 3.8.8