AD2PI Beta WebApp Failing Tests

General Discussion

AD2PI Beta WebApp Failing Tests

Postby ritter4jp » Tue Aug 05, 2014 6:23 am

I had my system working but reloaded the software and now the tests fail at the end of setup. I used the 6-18 image with the defaults which I belive to be the same as I had done before. I can telnet to the 10000 port and talk with the board via ser2sock so that seems to work fine. I get update messages from the alarm panel while connected so that is working. I was able to type a '!' char and the setup came up and seemed to be working normally. Wouldn't I get a green check for something in the tests with that much working? What would the next step be in debugging the webapp?
ritter4jp
newt
newt
 
Posts: 10
Joined: Sun Jun 08, 2014 10:05 am

Re: AD2PI Beta WebApp Failing Tests

Postby kevin » Tue Aug 05, 2014 9:41 am

A look at the /var/log/gunicorn/alarmdecoder.log around that point in time would likely help in diagnosing the problem
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AD2PI Beta WebApp Failing Tests

Postby ritter4jp » Tue Aug 05, 2014 6:13 pm

I opened a putty session monitoring the log as suggested and it worked fine. I had done the same configuration many times without success. Mechanic syndrome strikes again.

Looking back in the file I ran across a Traceback that ended with wsgi.version (1,0) failed with KeyError.

Thanks for the advice.
ritter4jp
newt
newt
 
Posts: 10
Joined: Sun Jun 08, 2014 10:05 am

Re: AD2PI Beta WebApp Failing Tests

Postby Scott » Wed Aug 06, 2014 9:14 am

If you're not even getting a green check for the 'open' test I'm thinking that something was set wrong in the setup process.

The default setup is:
  • Local Device
  • /dev/ttyAMA0
  • 115200
  • Share device should be checked and configured for localhost:10000.

If that all looks good to you, send us an email at ad2usb@support.nutech.com and attach the log. I'd also be interested to see the exported settings. (Export link at the bottom of the settings page)

Thanks!
Scott
Expert Nut
Expert Nut
 
Posts: 118
Joined: Thu Dec 12, 2013 11:17 am


Return to General

Who is online

Users browsing this forum: No registered users and 30 guests

cron