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
Version information. Calcurse 4.8.1, Httplib2 0.22.0
Bug description. When I run calcurse-caldav --init=keep-local I get the following error:
Connecting to [redacted].com...
Removing all objects from the CalDAV server...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1343, in _conn_request
conn.connect()
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1119, in connect
address_info = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/calcurse-caldav", line 762, in <module>
remote_wipe(conn)
File "/usr/bin/calcurse-caldav", line 375, in remote_wipe
remove_remote_object(conn, remote_items[href], href)
File "/usr/bin/calcurse-caldav", line 459, in remove_remote_object
remote_query(conn, "DELETE", hostname_uri + href, headers, None)
File "/usr/bin/calcurse-caldav", line 306, in remote_query
resp, body = conn.request(path, cmd, body=body, headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1701, in request
(response, content) = self._request(
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1421, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1350, in _conn_request
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.error.ServerNotFoundError: Unable to find the server at [redacted].comhttps
As you can see, https has been appended to the hostname for no reason. calcurse-caldav --init=keep-remote works: although it says "Failed to import object" for all of the objects, all of them do get imported.
Reproduce. Install calcurse. Run it once, make an event for example. Make a simple config file in ~/.config/calcurse/caldav/config:
Version information. Calcurse 4.8.1, Httplib2 0.22.0
Bug description. When I run
calcurse-caldav --init=keep-local
I get the following error:As you can see, https has been appended to the hostname for no reason.
calcurse-caldav --init=keep-remote
works: although it says "Failed to import object" for all of the objects, all of them do get imported.Reproduce. Install calcurse. Run it once, make an event for example. Make a simple config file in ~/.config/calcurse/caldav/config:
Run
calcurse-caldav --init=keep-local
. Get errorExpected Behavior. Expected to put events from local calcurse calendar into CalDAV calendar.
The text was updated successfully, but these errors were encountered: