You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> import owncloud
>>> oc = owncloud.Client("https://b2drop.eudat.eu/")
>>> oc.login("059ab6ba-4030-48bb-b81b-12115f531296", "12345")
Traceback (most recent call last):
File "zoo.py", line 4, in <module>
oc.login("059ab6ba-4030-48bb-b81b-12115f531296", "12345")
File "/Users/alper/venv/lib/python3.7/site-packages/owncloud/owncloud.py", line 354, in login
self._update_capabilities()
File "/Users/alper/venv/lib/python3.7/site-packages/owncloud/owncloud.py", line 1798, in _update_capabilities
tree = ET.fromstring(res.content)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/xml/etree/ElementTree.py", line 1316, in XML
return parser.close()
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
=> What may cause this error? is there any way to prevent it?
I think, I may exceed to login count where server rejects my login request. In order to handle it I think to save the oc object using pickle , https://stackoverflow.com/a/6568495/2402577. Hence, is there any time-limit for session of the login to be ended?
The text was updated successfully, but these errors were encountered:
Excuse me for digging out an old issue, but I just had this problem and it was due to using authelia and hidng my owncloud behind a middleware via a one_factor authentification.
Hope this helps to people accidently setting this up and forgetting about it.
When I try to login I get following error:
=> What may cause this error? is there any way to prevent it?
I think, I may exceed to login count where server rejects my login request. In order to handle it I think to save the
oc
object usingpickle
, https://stackoverflow.com/a/6568495/2402577. Hence, is there any time-limit for session of the login to be ended?The text was updated successfully, but these errors were encountered: