![]() |
Re: Flip clock pre pre pre pre release
ciroip (and others)
I stumbled upon a great site last night offering some amazing clockface designs http://www.darkroastedblend.com/2009...d-watches.html some are most interesting and certainly fodder for ideas :) |
Re: Flip clock pre pre pre pre release
Quote:
@Lcuk: lol, good site and yes, the steampunk, the clockbomb and the goggle clock versions are already in the project drawer but there are another couple of cool idea there :) |
Re: Flip clock pre pre pre pre release
I'm noticing an interesting bug. It seems alarms won't show in the main interface (the one with the clock) but they'll still fire if turned on.
I noticed this with the last version and an upgrade didn't fix it. |
Re: Flip clock pre pre pre pre release
Never have used pygame, but a simple statement l like:
Code:
try: Edit: I just tried that and it doesn't work (that'll teach me to post code before testing it! :p). |
Re: Flip clock pre pre pre pre release
Quote:
Once I get the modularity and code cleanup done, then the new features and graphics will be next, but I want to try and spend a bit of time figuring out a way to make the clock at least somewhat easily "skinnable" so that users will get to choose which one of Ciro's Uber Crazy clock designs they want, rather than just using which ever one we (the devs) impose at will ;o) Nice try Brent, unfortunately it looks like it is a problem with the compiled pygame main module (it points to the CDRom and Joystick modules that were never ported to Maemo since the hardware didn't have support for them); it's not a big deal since this is a GUI app anyways, and maybe one day we'll find a way to clean it up... |
Re: Flip clock pre pre pre pre release
The count-down area is blank.
|
Re: Flip clock pre pre pre pre release
Determined to kill the error, I just tried placing two files in /usr/lib/python2.5/site-packages/pygame/; one named "cdrom.py" the other "joystick.py". I just put "pass" in each file, and....drum roll.... that seems to work fine.
Sloppy, kludgy, horrible, yes, I know, but a solution nonetheless :) |
Re: Flip clock pre pre pre pre release
Quote:
Try opening up ci_alarmNew.py, go to line 344 where it currently reads: Code:
if (mins < 10): Code:
if (mins < 10): |
Re: Flip clock pre pre pre pre release
Hmm and oddly the alarms do not go off reliably. (whatever ones I set in flipclock). The regular ones I have still go off.
|
Re: Flip clock pre pre pre pre release
"alarms do not go off reliably" as in they don't play? The clock doesn't auto-launch? Are you using the same sound file all the time, or?
If it's the "clock doesn't autolaunch/do anything at alarm time" then you can always fall back on Flip's internal alarms instead of alarmD; Make sure you have all alarms in Flip TURNED OFF, then just edit the config file (/home/user/.flipclock) and look for the section that says "useAlarmD=1"; change that to 0, save, and you should be all set. Note that this approach will no longer cause auto-launches/etc and means you'll need to have the app running in order to get alarms, but it should at least be 100% consistent. |
Re: Flip clock pre pre pre pre release
guys,
is it worth going through the application and creating a decent log file of whats happening? It will certainly help with diagnosis of errors. liqbase makes extensive use of the log to help me track down the causes of problems. I can read the log and know exactly what happened and also what i did leading up to it. |
Re: Flip clock pre pre pre pre release
Quote:
Also jolouis, where is ci_alarmNew.py? I did a find in terminal with no success. |
Re: Flip clock pre pre pre pre release
All of the flipclock files, including ci_alarmNew.py, are tucked away in
/usr/lib/python2.5/site-packages/flipclock (I've typed that so many times now it's just second nature! lol) Lcuk, at this point the xterm output is what I've been using as a diagnosis log since it outputs pretty much everything that the clock is up to; the main problem that creeps up with this particular app is conflicts or failure of alarmD to work properly for people; personally I've never had a problem with alarmD failing, and I think most users are in the same situation, but for those who do it can be annoying as it's "random" and a log for Flip really wouldn't help diagnose the problem unless we can get a consistent failure to occur. The other big problem is that I'm now knee deep into a major overhaul of the way the interface and application is constructed, so while I can offer small suggestions on minor code goofs, any kind of major re-write/addition at this point is just going to be one more thing to add to my already very large list; once I get the overhaul done then more focus can be put on bringing back in more behind the scenes stuff like log files. Also btw aside from Laughing Man's oddity there nobody else has put forward any major bug reports/failings of the app lately so I've also forwarded the current version over to the regular Extra's repo so that more people can start to enjoy it! |
Re: Flip clock pre pre pre pre release
Have latest Flip Clock installed, but get no sound when the alarm goes off. Is there a certain path to a "sounds" folder that I need to create? I briefly gazed through all of the posts but may have missed what I was searching for.
|
Re: Flip clock pre pre pre pre release
Hi Den,
Nah you should be able to just pick an Mp3 from within the app and it should work. I've found that it can be a bit picky in terms of what will actually play back and the current version has almost no feedback to indicate what works and doesn't, so what I recommend is to select a sound, set the alarm for like two minutes in the future, and see if the sound plays; if it does, then you know you're good; if not, try another Mp3. (You choose a sound by pressing where it says "Sound" in the alarm settings screen; sounds are set per alarm, so make sure you choose your sound file for each alarm that you setup). Also make sure the volume on the tablet isn't too low. When the alarm starts the sound will be very quiet, and get louder as it continues to play, so if you have a very short sound it probably won't work as you expect. |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
I still have a problem with old/hidden alarms!
'flipclock -f' doesn't clean it! On the console it outputs alarm stopped {...'alarm_hhmm': '0545'...}, but it rang at 0500h and rings again at 0545h! So looks like the flipclock thinks it is the 0545h alarm. Really strange all that! Bye, Didge |
Re: Flip clock pre pre pre pre release
What's the latest version? I haven't found the latest upgrade in extras since jolouis's post on 5/12.
|
Re: Flip clock pre pre pre pre release
I just installed Flipclock for the first time - it's really nice. Thanks to all who have contributed. It came from one of the repos that I have active. Version is 0.2.1-1.
The flip and night LED version shows the time but none of the other functions appear to work (alarms particularly) I also understand that the night mode colour can be changed. How? Do I have the right version? I see several versions on post one, perhaps I should choose one of these? BTW, if i need a different version should i uninstall the version I have first. Thanks for the input. |
Re: Flip clock pre pre pre pre release
alarms start of silent at first.
to change color, on the alarm screen, bottom right tap rainbow colored block. |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
i'm showing version 0.2.1-1 on mine. All the buttons should work, 12/24 alarm on/off, sound, numbers.
Maybe try a re-install? |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
Anyone who's having odd buttons not working/strange behaviour, try opening up x-term and running flipclock from there:
flipclock then, drag up to the alarm settings screen and try pressing a button or something, then exit and post up the logs. It sounds like there's something causing flip to fail, usually it's caused by a stale config file from an older installation or something or wrong permissions. Anyways latest right now is the one in extras, should be 0.2.1-1 I believe; I know it's working for most people (including myself), so should just be a small fix. Thanks! -Rob |
Re: Flip clock pre pre pre pre release
here's what I get in xterm. Hope it's helpful....
Code:
$ flipclock |
Re: Flip clock pre pre pre pre release
In addition to the settings buttons not working (except the 12/24 h slider as mentioned) I may have another problem.
I have 'Autolock' loaded and it apprears that Flipclock has a conflict. Even after disabling 'insomniac mode' and exiting Flipclock, my screen will no longer go off and lock when the sensor is covered. It does, however, go off after the 2 munites set in the contol panel. One other strange thing, this morning my N810 had reverted back to the desktop even though I set Flipclock running in night mode, insomniac and had the charger plugged in. Any ideas? thanks. |
Re: Flip clock pre pre pre pre release
gazza_d, dfinch, and anyone else with the "Settings don't work" bug: I'll try to get some time to look into it in the next few days, I've been very busy with work and other matters lately and just have not had the time to look back into the code to try and troubleshoot this. Thanks for the patience though, I'll probably be asking for your help to work through some possible solutions but just didn't want you guys to think that you were "on your own" here ;o)
dfinch - I don't have an N810 (only N800s) so I've never tried the autolock app, but I'll try to take a look at it and see what's going on; my guess is that it over-rides/affects the same gconf settings that Flip uses for making insomniac mode operate, and that's probably where the problem is coming from. My guess would be that this is the same problem that caused Flip to crash/exit unexpectedly... If you have two minutes and it's not too much trouble, would you mind uninstalling autolock for a day and seeing if that fixes both problems? I don't know how difficult it is, but if it's easy to do I'd greatly appreciate the feedback so I can determine if it's a direct conflict or not; and if it's a pain then don't worry I'll do my best to poke through the autolock code when I get some time... Thanks! |
Re: Flip clock pre pre pre pre release
I'am curious to know finaly what is the pattern and all code related to blinking led when the application ics launched?
T |
Re: Flip clock pre pre pre pre release
Quote:
Cheers. |
Re: Flip clock pre pre pre pre release
I disabled autolock and it has not given a problem with insom mode or shutdown over night. Of course the settings are not available still. BTW what is the nealy black box on the upper left of the settings screen? It looks a bit like a big fingerprint.
|
Re: Flip clock pre pre pre pre release
Quote:
http://img31.imageshack.us/img31/8110/screenshot00.png About your problem with Settings and Alarm: http://img8.imageshack.us/img8/8833/screenshot01l.png This is the main screen on FlipClock ... Focus on that two Arrows (Olive Green) in the center of the clock ... When you move your finger or stylus from bottom to top Arrow (Like you want to drag the screen) you will switch the screen into Settings and Alarm Page http://img197.imageshack.us/img197/6...reenshot02.png And that's all. |
Re: Flip clock pre pre pre pre release
Thanks, I had never seen the lower screen before. Now I can slide the alarm on but nothing goes off. I selected an MP3 from my mini SD card - presumably this is ok even tho it said not supported? BTW, where are the default ring tone(s)? - I should have remembered the folder.
BTW I have an AM/PM slider where you have a grey box. Also, only one day was red until I touched it and they are all red now as your screenshot. I'd love the color scheme to cycle through the colors with corner light on and then off. I like the green but w/o the LED on. Can this be achieved? Lastly, what is the point of your screen one? It seems almost the same as your third screen except instead of an alarm clock set there is a fringe pattern? This is a great application - destined to become one of my most used along with autolock (opops, I had to disable that for flipclock). |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
ok ok guys i'll reply to everything tomorrow, just been swamped at work and haven't had time... don't worry lab, you're at the top of the list!
dfinch, yea I suddenly realized you were on the wrong screen, which is why the buttons don't work.... that screen is the old 'window mode' that hasn't been updated yet... anyways proper screen is where u found it down below as pointed out! i'll reply more tomorrow! thanks all! |
Re: Flip clock pre pre pre pre release
Quote:
RED Squares indicates Alarm. When you Click on Monday and Switch Alarm ON it will change color to Green. The colored glow is only for indication ... Which color is choosed and it's dark when you choose default one (Blue) I think that the 1st screen is some kind of Old Config screen ... It was replaced and now it's disabled Yeah i stareted to using it like my Alarm Clock ... It's just Great. |
Re: Flip clock pre pre pre pre release
Quote:
BTW, I really like the green display. It seems like it would be good to be able to set any avaialble color to either bright or night setting (with or w/o unit's LED on). If I can be of assistance with specific N810 testing I would be glad to help. I wait with baited breath..... Cheers!:D |
Re: Flip clock pre pre pre pre release
Shark NX, thanks for helping to clarify things. One of the main problems with the app right now is that there's no clear documentation/indication of how to use the thing to get to the various settings/etc! That's still a work in progress of course! But yea, to clarify:
The "window mode" which is the screen with the odd "fingerprint dealie" was there originally as a copy of the settings screen (the one that has the alarm times/etc on it), from way back when Ciro first built the app. I took over development, added a whole ton of new features and settings to the "Settings" screen, and never bothered to update the "window mode" since it didn't make sense to have two screens to do the same thing. The plan is to replace that "window mode" screen with just a smaller version of the main clock display so that you can leave it running without having to have it in full screen mode if you want, but that's tied in with the rest of the UI overhaul that I'm in the middle of right now, so it's kind of having to wait until everything's done. So for the moment, that "window mode" is just there so that you can check the status bar/etc without having to exit the app; don't expect any functionality out of it! The alarm "settings" screen is where all the goodness is at right now. You should be able to press on any of the "day of the week" buttons on the bottom left, and a little rectangle will appear around that day indicating that you've selected it. The rest of the screen will update to show you the settings for the alarm for that day. If you change the time, sound file, etc then the settings are automatically saved/applied as soon as you either A) select another day or B) drag back up to the main clock screen. You will see a gray "one moment " screen to indicate that the settings are being saved/applied. Any day that has an alarm enabled for it will be a green box, any day with the alarm disabled will be red. Turning alarms on and off does not delete their settings, it just makes it so the alarm doesn't ring that day. Alarms are set on a weekly basis. That is, if you set an alarm for Monday at 8:00am, it will go off every monday at 8:00am. If Flipclock is not open at the time of the alarm, it will automatically launch and play the alarm for you. Quote:
Quote:
Quote:
Code:
moods = [{"name":"Off","image":pygame.image.load(path + "m_0.png"), "color":(0,0,0), "nightColor":(0,0,250)}, And finally, since Lab has been so patient! All the code that Ciro wrote related to controlling the LEDs is at the bottom of the ci_alarmNew.py file, beginning from the section marked Code:
#################### OLD CODE ######################################### Hope that helps, thanks guys keep the feedback coming! |
Re: Flip clock pre pre pre pre release
Wow, a lot to digest! Thanks for all the pointers. I think the first thing I should resolve is no alarm sound. Everything works as you describe (thanks for the clarification on how the daily alarm boxes work) but I have no sound. I spent about 30 minutes trying various ways without sucess. I did discover that the standard clock app alarm will sound even with flipclock running so that's what I did last night. Any pointers on what I need to do to get the alarm to actually sound? Don't overlook the obvious because I might be. Yes the volume was up - anything elese?
Thanks again for all the input and work on this project. Cheers Derek |
Re: Flip clock pre pre pre pre release
Any word on getting alarms to sound? Thanks.
|
Re: Flip clock pre pre pre pre release
Sorry about the delay here, I've been swamped with other things recently and not had as much time to spend on this project as I've wanted to. As far as the no sound playing goes, have you tried it with one of the default MP3s that comes pre-loaded on the tablet? Try setting the alarm for like 2 minutes ahead of the current time and then see if it actually plays and does the alarm thing.
Also try the same thing from X-term; that is, run flipclock, then set an alarm for a minute or two in the future and wait for it to go off. Once it's started/alarming then stop it by pressing the screen, exit flip, and post up the x-term output as I'm pretty sure I left the debugging stuff for the actual alarm playback in there by default. Failing that I'll setup a backport build so that I can make some small tweaks to the existing app (the current development build is VERY different from the existing app in terms of the way the coding works) so that we can try and get things sorted out for you. Thanks! |
All times are GMT. The time now is 12:13. |
vBulletin® Version 3.8.8