is you server ok? try with a fake adaptor and http for example if ok, try with serial
2011/1/23 Paul Alfille <[email protected]>: > If you add "--debug" to the command line, you'll get quite a bit more > information. > > > > On Sun, Jan 23, 2011 at 7:12 PM, Mick Sulley <[email protected]> wrote: >> I just hit a variation on the problem. >> >> My Python code just hangs. >> >> owhttpd -p 3001 -d /dev/ttyS2 >> in a terminal comes back to me straight away suggesting that all is >> well, but http://localhost:3001 in a browser gives 'Unable to Connect' >> >> Rebooted - same problem >> Reboot again - all working fine! >> >> Is there anything more I can do to try to get to the bottom of this? >> >> Cheers >> >> Mick >> >> On Sat, 2011-01-22 at 17:31 -0500, Gregg Levine wrote: >>> On Sat, Jan 22, 2011 at 3:36 PM, Mick Sulley <[email protected]> wrote: >>> > Hi Marcus, >>> > >>> > + I can't see anything in dmesg that suggests a problem. >>> > >>> > + It is a proper serial port, not USB. >>> > >>> > + Not using owserver. >>> > >>> > + I know this sounds like a stupid question, but how do I use owhttpd? >>> > >>From the example I found I have tried typing >>> > >>> > owhttpd -p 3001 -d /dev/ttyS2 >>> > >>> > in a terminal and it just comes straight back to me. Do I have to open >>> > up a browser? If so what address do need to call? >>> > >>> > Thanks >>> > Mick >>> > >>> > On Fri, 2011-01-21 at 10:10 +0100, Marcus Priesch wrote: >>> >> Hi Mick, >>> >> >>> >> + you could take a look at the dmesg output for any errors on your >>> >> serial port >>> >> >>> >> + try reloading the serial modules (ist it usb->serial?) >>> >> >>> >> + are you using owserver - and connecting remotely ? - then restarting >>> >> owserver could also help >>> >> >>> >> + other things would involve tyring owhttpd and see if it has the >>> >> same behaviour - and then use --debug on it and ... maybe post the >>> >> relevant parts here ... >>> >> >>> >> regards, >>> >> m. >>> >> >>> >> >>> >> Am Freitag, den 21.01.2011, 00:04 +0000 schrieb Mick Sulley: >>> >> > Hi, >>> >> > >>> >> > I have python code reading my 1-wire network using pyowfs and a DS9097 >>> >> > connected via a serial port. Sometimes when I start up it cannot see >>> >> > anything and I get the error >>> >> > >>> >> > ow_reconnect.c:TestConnection(52) Failed to reconnect DS9097 bus >>> >> > master! >>> >> > >>> >> > This is then a consistent problem, re-running the code just generates >>> >> > the same error. However if I reboot, changing nothing at all, it works >>> >> > fine again! >>> >> > >>> >> > Any ideas what can cause this and how to fix it? >>> >> > >>> >> > Running Ubuntu 10.10 64 bit and owfs version 2.8p4 >>> >> > >>> >> > Thanks >>> >> > >>> >> > Mick >>> >>> Hello! >>> Mick the fact that it comes back to you confirms it is working. >>> Open a browser, and type into its locator window http://localhost:3001 >>> >>> : Inside there you should see stuff working. >>> >>> ----- >>> Gregg C Levine [email protected] >>> "This signature fought the Time Wars, time and again." >> >> >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Owfs-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > -- Roberto Spadim Spadim Technology / SPAEmpresarial ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
