scooter800m
Posts: 11
Joined: Sun May 29, 2016 10:55 pm

server status code not working

Tue Aug 23, 2016 2:45 am

i was just following all the directions on the tutorial for making my own web server. i copied the first bit of python program (all the stuff has been install) into the app.py, it gives me a variable not defined, i am confused as the tutorial said that if everything was put in right (and to my knowledge it is) that it would spit out a couple lines of code letting me know of the server status, instead it gave me the variable is not defined error and it frustrates me. how do i fix this.

W. H. Heydt
Posts: 12783
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: some things not working

Tue Aug 23, 2016 4:09 am

What model of Pi are you using? Is it a CM?

User avatar
DougieLawson
Posts: 39296
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: some things not working

Tue Aug 23, 2016 6:20 am

Post the pertinent error messages, it's likely something that we've seen before.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: some things not working

Tue Aug 23, 2016 6:58 am

scooter800m wrote:i was just following all the directions on the tutorial for making my own web server. i copied the first bit of python program (all the stuff has been install) into the app.py, it gives me a variable not defined, i am confused as the tutorial said that if everything was put in right (and to my knowledge it is) that it would spit out a couple lines of code letting me know of the server status, instead it gave me the variable is not defined error and it frustrates me. how do i fix this.
Hi,
we have no idea which tutorial or python code you are referring too. Please supply web links..
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Return to “Compute Module”