Comments (4)
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.
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.
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.
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)
- Remove kal from calendar-cli
- Clean up kal from tests
- test_cal.py no longer usable (since splitting plann and calendar_cli) HOT 2
- Full-day events mangled on davmail HOT 2
- Calculations HOT 3
- Why "cal calendar add" does not sync new event with server? HOT 3
- Exception Handling and Debugging HOT 35
- Add a new option --show-uid
- All day events sometimes show on wrong day HOT 4
- AttributeError: 'datetime.date' object has no attribute 'astimezone' HOT 3
- RFC: vtodo -> vevent -> vjournal workflow
- RFC: new interface for version 1.0 HOT 12
- Warning in zone usage of pytz with Python 3.10 HOT 1
- update/change docs: consider not installing pip packages via sudo
- suggestion: use a library to do the presentation or type checking for you?
- Unable to use with radicale HOT 1
- How to pull UID of future events? HOT 2
- "NameError: name 'calendar' is not defined" when running calendar-cli HOT 14
- Caldav 0.12-dev0 can't be installed via pip HOT 3
- Mutliple BEGIN:VCALENDAR in ical output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calendar-cli.