maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting) (https://talk.maemo.org/showthread.php?t=46594)

ForeverYoung 2011-01-28 05:29

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
1 Attachment(s)
Quote:

Originally Posted by iscio (Post 929745)
anyone could help me? thank you very much

Take a file from attach and unpack it to /opt

ecksun 2011-01-29 01:04

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
I just installed alarmed on my brand new n900 (love warranty :)), it doesn't work.

Code:

env: python: No such file or directory
Im guessing this is because there is no command python on my device, however there is python2.5, Im guessing you only need to modify the first line in alarmed_gui.py, and Im going to try that in a second :)

Perhaps installing the real version of python and not the minimal will fix it, however atm it depends on the minimal one.

Edit: I seem to have been right, just changing the first line to
Code:

#!/usr/bin/env python2.5
made it possible to start it :)

AlexV12 2011-01-30 16:57

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by ecksun (Post 931017)
I just installed alarmed on my brand new n900 (love warranty :)), it doesn't work.

Code:

env: python: No such file or directory
Im guessing this is because there is no command python on my device, however there is python2.5, Im guessing you only need to modify the first line in alarmed_gui.py, and Im going to try that in a second :)

Perhaps installing the real version of python and not the minimal will fix it, however atm it depends on the minimal one.

Edit: I seem to have been right, just changing the first line to
Code:

#!/usr/bin/env python2.5
made it possible to start it :)


how did you do that? i cn edit the file using midnight commander, but i can't save the file as i dont know how to become root in midnight commander..

if i open xterm and become root, then open MC it still doesn't work.

also i can type root in MC which gives me an xterm kind of field. but then i can't open the file... very annoying.. so how did you do it?

iscio 2011-01-30 17:37

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by ForeverYoung (Post 930454)
Take a file from attach and unpack it to /opt

thank you very much but why I have to overwrite my files? is it a bug of alarmed?
thanks

edit: I found two folders
home/opt/alarmed and
/opt/alarmed

what is the one that I have to overwrite?
I try the second one but doesn't work, I touch the icon but the program doesn't start

ForeverYoung 2011-01-31 11:34

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by iscio (Post 931987)
thank you very much but why I have to overwrite my files? is it a bug of alarmed?
thanks

edit: I found two folders
home/opt/alarmed and
/opt/alarmed

what is the one that I have to overwrite?
I try the second one but doesn't work, I touch the icon but the program doesn't start

/home/opt and /opt actually are the same:
Code:

[1|user@Nokia-N900|~]mount | grep /home/opt
/home/opt on /opt type none (bind)

I made some modifications to alarmed including non-english profiles/event names support and ProfileX support.

If start alarmed now from terminal, what does it say?

iscio 2011-01-31 14:28

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
1 Attachment(s)
Code:

[1|user@Nokia-N900|~]mount | grep /home/opt
/home/opt on /opt type none (bind)

what is the meaning of this code?
I installed your patch and started the program from Xterm..
This is the error..


after this error the program starts and i tested it. I see the possibility to choose profiles of profilesX but my problem about modifing or deleting events is always here, I have to restart the program to see the change

iscio 2011-01-31 15:42

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
1 Attachment(s)
another problem...here the layout about alarm

ForeverYoung 2011-01-31 19:44

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
I described my patch earlier in this thread http://talk.maemo.org/showpost.php?p...&postcount=378

Your bugs is 1st and 3rd TODOs in that post, but I didn't fix them yet.

About messages in terminal - I think something with your theme, but it seems to be only warnings, not errors.

About /opt and /home/opt - code is a proof of that /opt and /home/opt are the same

iscio 2011-01-31 19:48

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by ForeverYoung (Post 932781)
I described my patch earlier in this thread http://talk.maemo.org/showpost.php?p...&postcount=378

Your bugs is 1st and 3rd TODOs in that post, but I didn't fix them yet.

About messages in terminal - I think something with your theme, but it seems to be only warnings, not errors.

About /opt and /home/opt - code is a proof of that /opt and /home/opt are the same

ok thank you very much..I like your release because I use profilesX but if it doesn't start from menu is a big problem. I tested it also on another phone and there is the same problem.
The error in Xterm is always there also with original release of alarmed.
I hope you could solve the various bug and the possibility to start the app from menu

ForeverYoung 2011-01-31 20:05

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
may be problem with executable permission
try run
# chmod +x /opt/alarmed/alarmed.py
under root


All times are GMT. The time now is 09:05.

vBulletin® Version 3.8.8