maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   chumby (https://talk.maemo.org/showthread.php?t=11803)

dburr10085 2008-03-03 18:23

Re: chumby
 
Hi -

Will this work on the 2007HE, or should I just move on?

hns 2008-03-03 19:42

Re: chumby
 
Quote:

Originally Posted by chariscomp (Post 150381)
I can scroll up and down in the list, but as soon as I press the center button, nothing further happens. After this, the highlight doesn't move anymore in the list. Any suggestions on what might be going on?

My guess is that it could be something with the info banner saying "Loading xxx" in the upper right corner, because that's the only thing happening between the button press and the movie being displayed.

If you start the application from xterm you should get an error message (just type grumby). You may also want to check if your python2.5-hildon up to date. I have version 0.8.8-1osso8 here.

Quote:

Originally Posted by dburr10085 (Post 150441)
Will this work on the 2007HE, or should I just move on?

I don't know. It depends on a microb package that provides a libgtkmozembed, and a python binding for it. If that is available on 2007HE, it would be quite easy to de-OS2008ify the rest of it, if at all necessary. But I don't have a 770 to try :)

Laughing Man 2008-03-03 19:55

Re: chumby
 
Is python2.5-hildon part of the python2.5-runtime package? If not, which repo can I get it from? I'm having a similar problem (list of Chumby widgets show up, but can't really interact with them with button pressers or touch screen). It just highlights the one I click in blue.


PS: I can post the error message if need be.

lm2 2008-03-03 20:06

Re: chumby
 
Will it be possible to use grumby as an alarm clock using virtual chumby widgets?

hns 2008-03-03 20:12

Re: chumby
 
Quote:

Originally Posted by Laughing Man (Post 150474)
Is python2.5-hildon part of the python2.5-runtime package?

Yes it is. Actually, it's not very likely it is missing as the program wouldn't probably run at all.

Quote:

Originally Posted by Laughing Man (Post 150474)
PS: I can post the error message if need be.

Please, that would be really helpful.

Laughing Man 2008-03-03 21:19

Re: chumby
 
BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ grumby
Traceback (most recent call last):
File "/usr/bin/grumby", line 361, in filter_browser_url
self.start_playing(None, self.movie_idx)
File "/usr/bin/grumby", line 152, in start_playing
self.write_movie_page()
File "/usr/bin/grumby", line 156, in write_movie_page
hildon.hildon_banner_show_information(self.window, None, "Opening: " + movie['name']);
TypeError: hildon_banner_show_information() argument 2 must be string, not None
Traceback (most recent call last):
File "/usr/bin/grumby", line 243, in on_key_press
self.toggle_play()
File "/usr/bin/grumby", line 140, in toggle_play
self.stop_playing(None)
File "/usr/bin/grumby", line 145, in stop_playing
hildon.hildon_banner_show_information(self.window, None, "Opening channel overview");
TypeError: hildon_banner_show_information() argument 2 must be string, not None


---
Edit: Hope this is helpful.

polossatik 2008-03-03 21:59

Re: chumby
 
been looking at that chumby stuff myself, now created a virtual one and I'm honestly disappointed by the widgets. Nothing special clocks and tickers and other stuff you have already on the N8x0 (besides maybe a game or 2 that uses the Chumby's motion sensor?)
Or do I miss something? what widgets do you actually use?

Laughing Man 2008-03-03 23:13

Re: chumby
 
I think it's because these widgets can be full screened. So it's nice to have when working on say another computer.

hns 2008-03-04 16:03

Re: chumby
 
Quote:

Originally Posted by Laughing Man (Post 150508)
TypeError: hildon_banner_show_information() argument 2 must be string, not None

Thanks, Laughing Man. This was indeed a info banner related python bug, and it was fixed only 6 weeks ago, so some people still have the old package.

I uploaded a new release that works around this problem.

http://www.henso.com/files/grumby/

I also implemented looping through widgets using the play times defined in the channel. This works quite well, except for widgets running in cooperative mode such as the youtube widget, where the flash movie sets a flag when it's done (just couldn't get the Javascript working to read the flag from the flash movie).

Sloan 2008-03-04 20:21

Re: chumby
 
Quote:

Originally Posted by hns (Post 150775)
I also implemented looping through widgets using the play times defined in the channel.

Woohoo! That was quick. :)


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

vBulletin® Version 3.8.8