Git Product home page Git Product logo

Comments (4)

tobixen avatar tobixen commented on June 26, 2024

WFM

$ calendar-cli.py todo add 'kjøpe øl eller bringebærsyltetøy'
Added todo item with uid=f895b96a-c723-11e8-8fdd-9c8e99d15218

I think that the error comes from the vobject module, which version do you have that? Have you tried with python3?

from calendar-cli.

Pupo1 avatar Pupo1 commented on June 26, 2024

Now the todos completely stopped working. :-(
I can still :
$ calendar-cli.py calendar add 2018-10-10 test
but
$ calendar-cli.py todo add testing2Traceback (most recent call last):
File "/usr/local/bin/calendar-cli.py", line 5, in
pkg_resources.run_script('calendar-cli==0.11.0', 'calendar-cli.py')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1401, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/calendar_cli-0.11.0-py2.7.egg/EGG-INFO/scripts/calendar-cli.py", line 870, in

File "/usr/local/lib/python2.7/dist-packages/calendar_cli-0.11.0-py2.7.egg/EGG-INFO/scripts/calendar-cli.py", line 867, in main

File "/usr/local/lib/python2.7/dist-packages/calendar_cli-0.11.0-py2.7.egg/EGG-INFO/scripts/calendar-cli.py", line 417, in todo_add

File "/usr/local/lib/python2.7/dist-packages/calendar_cli-0.11.0-py2.7.egg/EGG-INFO/scripts/calendar-cli.py", line 146, in _calendar_addics

File "/usr/local/lib/python2.7/dist-packages/caldav-0.5.0-py2.7.egg/caldav/objects.py", line 435, in add_event
return Event(self.client, data = ical, parent = self).save()
File "/usr/local/lib/python2.7/dist-packages/caldav-0.5.0-py2.7.egg/caldav/objects.py", line 793, in save
self._create(self._instance.serialize(), self.id, path)
File "/usr/local/lib/python2.7/dist-packages/caldav-0.5.0-py2.7.egg/caldav/objects.py", line 774, in _create
{"Content-Type": 'text/calendar; charset="utf-8"'})
File "/usr/local/lib/python2.7/dist-packages/caldav-0.5.0-py2.7.egg/caldav/davclient.py", line 191, in put
return self.request(url, "PUT", body, headers)
File "/usr/local/lib/python2.7/dist-packages/caldav-0.5.0-py2.7.egg/caldav/davclient.py", line 242, in request
raise ex
caldav.lib.error.AuthorizationError: AuthorizationError at 'https://neueherbold.de/nextcloud/remote.php/dav/calendars/admin/639a6ec6-0685-4cb7-8541-801c2cd02484/75b9531a-c734-11e8-90ec-0024d7179re0.ics', reason 'Forbidden'

from calendar-cli.

Pupo1 avatar Pupo1 commented on June 26, 2024

By the way, python3 gives me a different error: $ python3 /home/pupo/calendar-cli/calendar-cli.py todo add testing2
Traceback (most recent call last):
File "/home/pulmo/calendar-cli/calendar-cli.py", line 22, in
import pytz
ImportError: No module named 'pytz'

But that's not important now, I would be happy if it would work at all again somehow - even without Umlaut...

from calendar-cli.

tobixen avatar tobixen commented on June 26, 2024

sorry for the slow response on this, probably it's all too late, but ...

authorization error most likely means there was some problems with password or username.

pytz is one of the required python libraries, it has to be installed separately on python3.

problems with umlauts seems to be in the vobject library, perhaps the wrong version has been used.

Closing this issue.

from calendar-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.