maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Flip clock pre pre pre pre release (https://talk.maemo.org/showthread.php?t=25582)

Rassilon7 2009-01-24 10:19

Re: Flip clock pre pre pre pre release
 
Worked perfectly! It's Chinese New Year at the moment so I do not have to get up for work. I will let you know how it goes once I have to,

I keep getting the "Estimated battery time left message" popping up over the nice beautiful clock. It seems to arrive every couple of minutes and stay on screen until I touch it.

ciroip 2009-01-24 16:12

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by qwerty12 (Post 259634)
Ok, I've released a test package here:
https://garage.maemo.org/frs/downloa..._0.050_all.deb

Tell me if you notice any problems when running flipclock using this package if the same errors you encounter do not exist in the tarball version. I've had to make quite a few changes so I'd like to know if I've missed something out or messed something up :).

If the package is proven to work, then I or ciroip have no problems in uploading it to extras-devel.

Thank you.

great job, the installation seem working just fine. Im sorry you had to mess so much with the code but at least now I have an installable base to fix the final bugs. Ill stop messing with the structure, no more feature creeps.
The tablet/led switch IF controls overlapped a bit I guess so I need to move all the TABLET features under the 'TABLET IF' control and add another control for the light sensor (I rush a bit that part).
I didnt know the n800 didnt have the light sensor :o my bad. The led otherwhise should work on both the device (800 and 810)
once Ill fix the IF controls Ill ask for some feedback here.
Now is time to touch a bit that code. Ill keep you update

ciroip 2009-01-25 04:57

Re: Flip clock pre pre pre pre release
 
ok qwerty12, great job. As I told you I had a lot of problems trying to make python understand where find the modules. the only way I was able to have somethine work for me is to add directly inside the main py (flipclock) the new syspath+flipclock.
https://garage.maemo.org/frs/downloa...00-n810.tar.gz
I read somewhere this sould make complatible the thing with the tablet, mac, linux and window.
Like usual there is the path to set for local and installed version. I could not resist to change again a module... :o. I substitute the battery_status.py (dbus) with a more brutal query of the /dev/retu (and this should solve the annoyng duefault popup each minute when the charger is connected as pointed out by Rassilon7). The problem is that Im calling the external program kcbatt (great small program from KotCzarny) with the python:
kcbatt = ci.os.popen("./kcbatt ","r") in ci_battery.py
but Im not sure how hard can be to make a package out of this mess.
I finally fixed the tablet/sw_battery/sw_led/sw_lux thing. Now I check the tablet model (thanks again qwerty12) and it should automagically downgrade the clock for the n800s: no led, no lux, si batteryes si sound.
Let me know if something cause too trouble for the .debianizing Im sure I can find some alternative way to make the thing work.
Buonanotte e buona domenica

Rassilon7 2009-01-25 05:05

Re: Flip clock pre pre pre pre release
 
Actually it only gave the message when it wasn't plugged in, once I plugged it in I got no message every minute.

Munk 2009-01-25 07:57

Re: Flip clock pre pre pre pre release
 
Qwerty! Oh no, I was installing the latest .05 deb and then the tablet rebooted in the middle of the installation. After I booted back into my SD based install the original Flip Clock, I believe version .04 which was the other deb, was gone.

Using xterminal I have browsed to "/usr/share/flilpclock" and when I do an "ls" I get weird stuff like:

Code:

ls: cannot access a1.png: input/output error
I have tried "rm -r *" but it wont delete anything giving me the errors such as:

Code:

rm: cannot stat 'help0.png': input/output error
Did my SD card get somewhat corrupted when the install rebooted the NIT? And if so, does anyone know how to repair it? :confused:

albright 2009-01-25 18:38

Re: Flip clock pre pre pre pre release
 
Hi. I love this app, but at the moment (using the
.50 deb) I cannot get any sound out of it. No alarm
sounds I mean. I can set the alarm just fine but when
the time comes there is only silence:confused:

Any trick to this - some python package I might need,
or what?

Saturn 2009-01-25 21:35

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by Munk (Post 259773)
Did my SD card get somewhat corrupted when the install rebooted the NIT? And if so, does anyone know how to repair it? :confused:

Did you try to fsck the card? sometimes it helps.

that is, boot from flash, gain root and type:
Code:

fsck -fy /dev/mmcblk0p2
HIH

ciroip 2009-01-25 22:50

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by albright (Post 259822)
Hi. I love this app, but at the moment (using the
.50 deb) I cannot get any sound out of it. No alarm
sounds I mean. I can set the alarm just fine but when
the time comes there is only silence:confused:

Any trick to this - some python package I might need,
or what?

oh, odd, I tried to minimize any kind of dependencies using the hildon calls (avoiding the crappy pygame audio support and his stupid esd calls) and I packaged a sound 'ringin.wav' for the alarm sound.

during the developping I discovered that if you have the
System Sound OFF
under the setting/controlpanel/sounds all the hildon calls are mute.
You can use the about button to test is the sound works (I HATED to have to set the alarm just to test the sounds :) )

ciroip 2009-01-25 22:56

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by Rassilon7 (Post 259641)
Worked perfectly! It's Chinese New Year at the moment so I do not have to get up for work. .

Happy new ox? :)

yukop4 2009-01-26 06:00

Re: Flip clock pre pre pre pre release
 
i installed it -looks great - what are the white arrows that come up when you press help or the numbers


ed


All times are GMT. The time now is 13:46.

vBulletin® Version 3.8.8