Re: [Cellhunter] no offline log any more

2009-03-20 Thread arne anka
On every openmoko distro like fso or shr the user is root with home /home/root/ those are iirc all oe based -- debian is an om distro too, and it does not use /home/root/ but /root/. gentoo does so to iirc. /tmp is a bad idea because its only tmpfs and deleted everytime it boots up. and

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Sebastian Hammerl
arne anka schrieb: Cellhunter tries to read out your $HOME variable. when NOT set it goes to /home/root (line 536) that seems to be a very strange fallback - where is root's home below /home/? so far i've seen it in oe only - why is the user root assumed? On every openmoko distro

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Sebastian Hammerl
Tony Berth schrieb: On Thu, Mar 19, 2009 at 8:31 PM, Sebastian Hammerl list-openm...@omoco.de mailto:list-openm...@omoco.de wrote: try to start it from the commandline with parameter -d cellhunter.py -d perhaps this will tell you more. Sebastian I did re-start the

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Sebastian Hammerl
arne anka schrieb: On every openmoko distro like fso or shr the user is root with home /home/root/ those are iirc all oe based -- debian is an om distro too, and it does not use /home/root/ but /root/. gentoo does so to iirc. /tmp is a bad idea because its only tmpfs and deleted

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Tony Berth
2009/3/20 Sebastian Hammerl list-openm...@omoco.de Tony Berth schrieb: On Thu, Mar 19, 2009 at 8:31 PM, Sebastian Hammerl list-openm...@omoco.de wrote: try to start it from the commandline with parameter -d cellhunter.py -d perhaps this will tell you more. Sebastian I did

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Sebastian Hammerl
Tony Berth schrieb: 2009/3/20 Sebastian Hammerl list-openm...@omoco.de mailto:list-openm...@omoco.de Tony Berth schrieb: On Thu, Mar 19, 2009 at 8:31 PM, Sebastian Hammerl list-openm...@omoco.de mailto:list-openm...@omoco.de wrote: try to start it from the commandline

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Tony Berth
2009/3/20 Sebastian Hammerl list-openm...@omoco.de Tony Berth schrieb: 2009/3/20 Sebastian Hammerl list-openm...@omoco.de Tony Berth schrieb: On Thu, Mar 19, 2009 at 8:31 PM, Sebastian Hammerl list-openm...@omoco.de wrote: try to start it from the commandline with parameter -d

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Stefan Monnier
Cellhunter tries to read out your $HOME variable. when NOT set it goes to /home/root (line 536) that seems to be a very strange fallback - where is root's home below /home/? so far i've seen it in oe only - why is the user root assumed? a sane fallback would be /tmp, which usually exists

Re: [Cellhunter] no offline log any more

2009-03-20 Thread arne anka
No, a sane fallback would be to signal an error and exit. that's no fallback -- that's an exit strategy. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Stefan Monnier
No, a sane fallback would be to signal an error and exit. that's no fallback -- that's an exit strategy. For a problem detected at startup, it's much better than a bogus fallback. After all, a missing HOME envvar, or a $HOME that points to a missing directory is the result of a misconfiguration

[Cellhunter] no offline log any more

2009-03-19 Thread Tony Berth
I have SHR latest unstable and the latest cellhunter version. In the very first beginning, when I switched to offline mode a log was indeed created. After going online and run 'cellhunter_upload.sh' to upload it to the cellhunter server, no log was re-generated? Why? Thanks Tony

Re: [Cellhunter] no offline log any more

2009-03-19 Thread Tony Berth
that's what I thought too but cellhunter doen't create a new log when going offline! That's exactly my problem. It did created once, and after 'cellhunter_upload.sh' deleted that file no new log is been generated any more! Thanks Tony On Thu, Mar 19, 2009 at 5:01 PM, Leonti Bielski

Re: [Cellhunter] no offline log any more

2009-03-19 Thread Leonti Bielski
What do you mean by no log was re-generated? Script cellhunter_upload.sh send info to the server and then delets log file. New log will be created next time you are using cellhunter in offline mode. Leonti On Thu, Mar 19, 2009 at 9:37 AM, Tony Berth tonybe...@googlemail.com wrote: I have SHR

Re: [Cellhunter] no offline log any more

2009-03-19 Thread arne anka
that's what I thought too but cellhunter doen't create a new log when going offline! That's exactly my problem. It did created once, and after 'cellhunter_upload.sh' deleted that file no new log is been generated any more! no clue about cellhunter -- but did you ever restart it? maybe it

Re: [Cellhunter] no offline log any more

2009-03-19 Thread Johny Tenfinger
Happens for me too - for me cellhunter offline log has never created. I can't see anything about that in stdout. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community

Re: [Cellhunter] no offline log any more

2009-03-19 Thread Sebastian Hammerl
try to start it from the commandline with parameter -d cellhunter.py -d perhaps this will tell you more. Sebastian ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community

Re: [Cellhunter] no offline log any more

2009-03-19 Thread Alex (Maxious) Sadleir
Something I realised on Debian/fyp was that in /usr/bin/cellhunter.py home is set to /home/root but on fyp root's home is just /root. Cellhunter 0.4.2 *did not* present an error message when it tried to write the offline log to a non-existant path, it just silently failed. So this should