When I try and access your server over https it loads, but when using http, it doesn’t. If the calls you listed at the bottom are indeed doing http calls, they might be failing in the same way. I don’t know many details about pyxnat (I’m guessing verify=false is saying to not worry about https?), but it sounds like it could be an http/https issue to me.
Thanks,
Charlie
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To post to this group, send email to
xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-5-a01131c2bd47> in <module>() 10 password='mypassword', 11 cachedir='/tmp') ---> 12 xnat_gu.select.projects().get() /home/tempie/anaconda2/lib/python2.7/site-packages/pyxnat/core/select.pyc in projects(self, id_filter) 251 Name pattern to filter the returned projects. 252 """ --> 253 self._intf._get_entry_point() 254 255 return globals()['Projects']( /home/tempie/anaconda2/lib/python2.7/site-packages/pyxnat/core/interfaces.pyc in _get_entry_point(self) 251 except Exception as e: 252 if not '/data/JSESSION' in str(e): --> 253 raise e 254 255 return self._entry AttributeError: 'Response' object has no attribute 'keys'
verify: True, False, or path to file containing certificate for your site
Added to the requests Session, as documented here:
http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification
Simplifies handling self-certified sites, or sites where there is an issue
with certification
--
You received this message because you are subscribed to a topic in the Google Groups "xnat_discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xnat_discussion/WieRHNZIJCI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xnat_discussion+unsubscribe@googlegroups.com.
To post to this group, send email to xnat_discussion@googlegroups.com.