|
2009-03-25
, 21:42
|
Posts: 631 |
Thanked: 837 times |
Joined on May 2007
@ Milton, Ontario, Canada
|
#372
|
Just tested it. First problem, I still get the wallpaper error message on program start. I then set an alarm and exited the program. The program reactivated, presented the wallpaper message, flashed a few pretty lights, showed the snooze button, but didn't make any sounds. The program then promptly (under 2 seconds) closed itself.
|
2009-03-25
, 23:57
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#373
|
|
2009-03-26
, 04:15
|
Posts: 15 |
Thanked: 11 times |
Joined on Jun 2008
|
#374
|
~ $ flipclock /usr/lib/python2.5/site-packages/flipclock/flipclock.py:4: RuntimeWarning: import cdrom: No module named cdrom import pygame /usr/lib/python2.5/site-packages/flipclock/flipclock.py:4: RuntimeWarning: import joystick: No module named joystick import pygame 24 sent on_battery python[11459]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x34a810, (null), (null), 1) pre comparing and updating alarms comparing and updating alarms pre comparing and updating alarms Done alarm update Received alarm trigger found matching alarm, running trying to load file/usr/share/flipclock/ringer.mp3 set vol to 0 process 11459: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3003. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace Aborted
|
2009-03-26
, 12:49
|
Posts: 631 |
Thanked: 837 times |
Joined on May 2007
@ Milton, Ontario, Canada
|
#375
|
userbg = "" try: config=ConfigParser.ConfigParser() config.read (userpath+"/.osso/hildon-desktop/home-background.conf") userbg = config.get("Hildon Home", "BackgroundImage") userbg = userbg.replace("file://", "") #replace spaces userbg = userbg.replace("%20", " ") us_bground=pygame.image.load(userbg).convert() #Background user except: if (len(userbg) > 0): if tablet==1: osso_c = osso.Context("osso_test_note", "0.0.1", False) note = osso.SystemNote(osso_c) result = note.system_note_dialog("Can't read the user wallpaper", type='notice') print result #Use default background us_bground=pygame.image.load(path+"sosbg.png").convert()
name = dbus.service.BusName(BME_REQ_IFC, bus=self.bus)
self.name = dbus.service.BusName(BME_REQ_IFC, bus=self.bus)
self.HelloSignal("Ok");
#self.HelloSignal("Ok");
|
2009-03-26
, 17:37
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#376
|
LABAUDIO, one quick thought I just had... when you set an alarm, exit the app, and open it up again manually (i.e. before the alarm is triggered), if you go to the alarms page, does the alarm actually still show up there??
Did you remember to erase the old config file manually before installing the latest build (I mentioned before that the config file from Ciro's clock didn't work with the latest builds so you had to manually remove it)....
|
2009-03-26
, 18:12
|
Posts: 631 |
Thanked: 837 times |
Joined on May 2007
@ Milton, Ontario, Canada
|
#377
|
|
2009-03-26
, 22:40
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#378
|
/usr/lib/python2.5/site-packages/flipclock/flipclock.py:4: RuntimeWarning: import cdrom: No module named cdrom import pygame /usr/lib/python2.5/site-packages/flipclock/flipclock.py:4: RuntimeWarning: import joystick: No module named joystick import pygame sent on_battery python-launcher-daemon[1566]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x33b410, a3033f6a-9dd9-4f81-96fb-2ab7a436d815, WLAN_INFRA, 0) Received alarm trigger found matching alarm, running trying to load filefile:///media/mmc1/mp3/J'ai pas de face.mp3 set vol to 0 done running alarm 1236897180 <enum GST_STATE_PLAYING of type GstState> Playing alarm stopped {'sound': "file:///media/mmc1/mp3/J'ai pas de face.mp3", 'snoozeTime': 10, 'alarm_index': 4, 'recurrence_count': -1, 'ampm': 0, 'alarm_cookie': 1236897180, 'title': 'Flipclock Alarm 5', 'enabled': 1, 'loopSound': 0, 'alarm_time': 1236897180, 'recurrence': 10080, 'alarm_day': 4, 'alarm_hhmm': '1833', 'alertMode': 1} done stopping alarm snoozed <enum GST_STATE_NULL of type GstState> None done main loop
|
2009-03-26
, 23:04
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#379
|
|
2009-03-27
, 14:38
|
Posts: 631 |
Thanked: 837 times |
Joined on May 2007
@ Milton, Ontario, Canada
|
#380
|
#Alarm was triggered! print "Received alarm trigger"
osso_c = osso.Context("osso_test_note", "0.0.1", False) note = osso.SystemNote(osso_c) result = note.system_note_dialog("Running alarm", type='notice')
Tags |
clock, flip clock |
Thread Tools | |
|
Also, when this is running, my blue led blinks about once every few seconds even if I set the color mood to red.