maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] N900 Notifier (https://talk.maemo.org/showthread.php?t=64647)

badboyuk 2010-11-01 12:46

Re: [Announce] N900 Notifier
 
I tried running the vbs file today and its not working. So I done python server.py in cmd and getting an error. Not sure why tho? I didnt change anything.

http://i53.tinypic.com/3462tqa.png

badboyuk 2010-11-01 13:10

Re: [Announce] N900 Notifier
 
its ok got it sorted.

badboyuk 2010-11-01 13:27

Re: [Announce] N900 Notifier
 
ok i figured it out, its not working on the gprs connection today, im pretty sure i was running on it last nite hmm
But on the wifi its all working.

badboyuk 2010-11-01 13:42

Re: [Announce] N900 Notifier
 
Quote:

Originally Posted by antezz (Post 859051)
So you got it working?

Ye growl need to run its the program that shows notifications. If you wanna hide the CMD window from server.py you can just make a bat-file containing "python c:\path\to\file\server.py" then make a .vbs file containing :



then you run the .vbs file and it should run the bat file with no window. thats what i did since i failed with making a service of the .py file with AnySrv, it just started and stopped lol, well well it works atleast.

And on N900 theres alot of ways to run stuff in background. a noob-friendly and simple way is to use the "nohup client.py &" command

The nohup command doesnt work for me or doesnt do much. Terminal still runs and i get no notifications.
Running the normal way (python client.py) works and shows notifications.

legendsohai 2010-11-01 14:13

Re: [Announce] N900 Notifier
 
hmm~~ just wondering, if possible to use it to send/reply a message

etonline 2010-11-01 14:14

Re: [Announce] N900 Notifier
 
Quote:

Originally Posted by badboyuk (Post 859628)
The nohup command doesnt work for me or doesnt do much. Terminal still runs and i get no notifications.
Running the normal way (python client.py) works and shows notifications.

How about "screen"?



A question...
is it compatible with python 3.1?
I can't run it on my WIndows
Quote:

server.py Line41
if detect_os() == "Linux":
^
TabError: inconsistent use of tabs and spaces in indentation

raily 2010-11-01 14:19

Re: [Announce] N900 Notifier
 
so this works over wifi, correct? what if there is no hotspot available?

badboyuk 2010-11-01 15:51

Re: [Announce] N900 Notifier
 
Quote:

Originally Posted by raily (Post 859672)
so this works over wifi, correct? what if there is no hotspot available?

Then without a wifi connection it will not be able to inform you of any notifications........however if it does manage to connect to a wifi and you had any calls/txts then it will inform you of them.
I guess its ideal for home/office use as your phone might be lying about somewhere so would come in handy.

Hopefully future update will fix this issue, but for now im glad at least it works! :)

b0unc3 2010-11-01 16:02

Re: [Announce] N900 Notifier
 
Quote:

Originally Posted by raily (Post 859672)
so this works over wifi, correct? what if there is no hotspot available?

I use it with a (manual) usb connection.

antezz 2010-11-01 16:06

Re: [Announce] N900 Notifier
 
Well, it's kinda simple why it's not working outside your wi-fi.

You see, you used internal IP which only works inside the same network.
In order to get it work on all networks you need to use your PCs external IP and insert into the client.py but then you need to open the port you use in your router/firewall to.


All times are GMT. The time now is 02:00.

vBulletin® Version 3.8.8