Webserver Image Load Error

Posted on
Wed Dec 05, 2018 11:21 am
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Webserver Image Load Error

Had this fixed in 7.1 but just upgraded to 7.2 and it's back again.
The log is flooded with this error:
Code: Select all
WebServer                       http://192.168.1.80:8000/++image?cameraNum=1&width=320&height=240 load error: HTTP Error 404: OK
   WebServer                       http://192.168.1.80:8000/++image?cameraNum=1&width=320&height=240 load error: HTTP Error 404: OK
   WebServer                       http://192.168.1.80:8000/++image?cameraNum=1&width=320&height=240 load error: HTTP Error 404: OK
   WebServer                       http://192.168.1.80:8000/++image?cameraNum=1&width=320&height=240 load error: HTTP Error 404: OK
   


I replaced this line, as before in the indigoreqhandler.py file,
cherrypy.server.indigoConn._RaiseServerError(imageUrl + " load error: " + str(err))
with
return u"couldn't load image"
but it still returns the above error. Maybe something has changed?

Thanks,

Carl

Posted on
Wed Dec 05, 2018 12:30 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Webserver Image Load Error

Can you point us to the original post that had the instructions to edit that file? Context would help... ;)

[MODERATOR NOTE] moved to a more appropriate forum.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Dec 05, 2018 1:02 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Webserver Image Load Error

Thanks, I believe it was this one: viewtopic.php?f=83&t=14651

Carl

Posted on
Wed Dec 05, 2018 3:35 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Webserver Image Load Error

Did you restart the Indigo Server? I don't know why the patch you did before wouldn't work the same in 7.2.

Image

Posted on
Wed Dec 05, 2018 3:46 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Webserver Image Load Error

Yes, I restarted a couple times. Just to be sure, it is the indigoreqhandler.py file right that needs the edit?

Thanks,

Carl

Posted on
Wed Dec 05, 2018 4:58 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Webserver Image Load Error

Yes. Are you editing the one in the Indigo 7.2/IndigoWebServer/ folder? Change lines 464 and 466 to both:

Code: Select all
               return u"couldn't load image"

Image

Posted on
Wed Dec 05, 2018 5:41 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Webserver Image Load Error

As always...Doh! Didn’t realize the upgrade made a new 7.2 folder with a new set of files.
Did the patch on the file in the 7.2 folder and all is well.

Sorry, thanks.

Carl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests