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 misconfigurati

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
>> 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 e

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Tony Berth
2009/3/20 Sebastian Hammerl > Tony Berth schrieb: > > 2009/3/20 Sebastian Hammerl > >> 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 >>> >

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Sebastian Hammerl
Tony Berth schrieb: > 2009/3/20 Sebastian Hammerl > > > Tony Berth schrieb: >> On Thu, Mar 19, 2009 at 8:31 PM, Sebastian Hammerl >> mailto: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 Tony Berth
2009/3/20 Sebastian Hammerl > Tony Berth schrieb: > > On Thu, Mar 19, 2009 at 8:31 PM, Sebastian Hammerl > 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 phone but s

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 > 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 phone bu

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

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Tony Berth
On Thu, Mar 19, 2009 at 8:31 PM, Sebastian Hammerl 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 phone but still 'cellhunter' doesn't create a log file. Here is the outcome when ru

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. an

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 ope

Re: [Cellhunter] no offline log any more

2009-03-20 Thread arne anka
> 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 ev

Re: [Cellhunter] no offline log any more

2009-03-20 Thread Sebastian Hammerl
Alex (Maxious) Sadleir schrieb: > 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 jus

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 defina

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 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 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

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 wrote: > Wh

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 wrote: > I have SHR latest unstable and th