Page 1 of 1

Problem with update INDIGO 7.1 - image refresh error

PostPosted: Wed Oct 18, 2017 1:28 pm
by PME999
Hello,
Since the update this evening, I have an error from indigo touch or from a browser for the refresh of a .png localised in my mac. the file url is name is ile:/Users/patriceagnesmetairie1/ishot-pacdomo.png
the error I have is :

WebServer internal server error "http://"ipadress":8176/refreshingimage" from 192.168.0.254
WebServer

Request Headers:
AUTHORIZATION: Digest username="lesmetairie", realm="Indigo Control Server", nonce="c28e1be1e865bccf687aebfa4b1d7870", uri="/refreshingimage?page=MAISON%20PAT&id=414&nocache=1310", response="320ea23d41c2f9915116cb1e7ace8ccb", algorithm="MD5", cnonce="ba96d6ef183a3c288c3dd7c9597f8f36", nc=0000001a, qop="auth"
HOST: 88.162.9.241:8176
ACCEPT: */*
USER-AGENT: Indigo%20Touch/2.1.2 CFNetwork/889.3 Darwin/17.2.0
CONNECTION: keep-alive
Remote-Addr: 192.168.0.254
ACCEPT-LANGUAGE: fr-fr
ACCEPT-ENCODING: gzip, deflate

Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/cherrypy/_cprequest.py", line 609, in respond
cherrypy.response.body = self.handler()
File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/indigopy/indigoreqhandler.py", line 468, in refreshingimage
if result_content_type != '' and result_content_type.find('image') != 0:
UnboundLocalError: local variable 'result_content_type' referenced before assignment

Please help
Thanks
Patrice

Re: Problem with update INDIGO 7.1 - image refresh error

PostPosted: Wed Oct 18, 2017 3:03 pm
by jay (support)
Not sure if this is just a copy/paste error, but this isn't valid:

Code: Select all
ile:/Users/patriceagnesmetairie1/ishot-pacdomo.png


notice the missing "f" at the beginning...

Re: Problem with update INDIGO 7.1 - image refresh error

PostPosted: Wed Oct 18, 2017 4:02 pm
by PME999
yes sorry, a bad copy/paste, The good url is file:/Users/patriceagnesmetairie1/ishot-pacdomo.png
nothing changes between INDIGO 7 and 7.1. It was working well just before.
Thanks
Patrice

Re: Problem with update INDIGO 7.1 - image refresh error

PostPosted: Wed Oct 18, 2017 4:04 pm
by matt (support)
Then this sounds like a bug. We did have a change around that area, so we'll investigate this ASAP.

Re: Problem with update INDIGO 7.1 - image refresh error

PostPosted: Wed Oct 18, 2017 6:04 pm
by matt (support)
The correct URL format should have 3 /'s, so change it to:

file:///Users/patriceagnesmetairie1/ishot-pacdomo.png

Indigo 7.0 allowed the single / version (which macOS also allows) but 7.1.0 is more strict. I'm changing it back to be me forgiving (in 7.1.1) but for now if you edit the URL it should work.

Re: Problem with update INDIGO 7.1 - image refresh error

PostPosted: Wed Oct 18, 2017 10:38 pm
by PME999
Thanks a lot

Re: Problem with update INDIGO 7.1 - image refresh error

PostPosted: Tue Nov 07, 2017 9:05 pm
by matt (support)
Indigo 7.1.1 is now available for download and should fix the file:/// URL issue.

Re: Problem with update INDIGO 7.1 - image refresh error

PostPosted: Wed Nov 08, 2017 8:48 pm
by PME999
Thank you Matt