Comments (9)
It seems odd ... the error indicates that the caldav library found no calendars, but I can see there being one calendar returned.
Would it be possible to let me access your radicale server so I could run the caldav test suite towards it and debug the issue?
from calendar-cli.
I guess not, because I've already killed it.
I've done smth like pip install radicale; radicale -f -D
.
from calendar-cli.
Wow, that's easy. But how do you define users on that radicale server?
from calendar-cli.
hah. I don't.
from calendar-cli.
so username d and password d was actually verbatim? Is it a default user in radicale? Otherwise, I would guess that it's needed to create a user in radicale before it's possible to view or add calendar items.
from calendar-cli.
maybe. I don't know. I think you can have users, but you don't have to. But I was able to show items with DAVDroid in an Android emulator. As I wanted to have something less complicated to show the items in the DAV collection, I looked into calendar-cli. That, however, was crashing. I think that's bad in any case.
from calendar-cli.
A caldav server and client without configuring any users or passwords ... wow. If we can package radicale and calendar-cli together, we'll have a complete command-line calendaring system :-)
I'm wondering if this requires fixing in the underlying caldav-library.
from calendar-cli.
I regret that I so far never got time to look more into this.
I did have some issues getting Radicale to work at all with the caldav library. Radicale seems to lack some of the support for creating and handling calendar sets, this seems to be allowed according to the RFC, but both the caldav library and the calendar-cli tool seems to require some modification to support Radicale.
I hope to get this on track in 0.12 or 0.13.
A workaround may possibly be to specify the calendar-URL in the config file.
from calendar-cli.
caldav library 0.7.0 was released today, tests are running fine towards radicale, test framework has been fixed to spawn up radicale. However this does not solve the problem above, one would have to create a calendar first.
With radicale, a calendar is automatically created when trying to access one - so a valid work-around would be to specify a calendar-url in the config file or in the command line options.
I think I will close this issue and raise two more issues, we should have automatic tests based on radicale and xandikos, and calendar-cli needs commands for creating a new calendar.
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.