Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work with oc 10? #22

Open
magicWF opened this issue Nov 14, 2017 · 5 comments
Open

Work with oc 10? #22

magicWF opened this issue Nov 14, 2017 · 5 comments

Comments

@magicWF
Copy link

magicWF commented Nov 14, 2017

Hello,

i tried the script with oc 10, but it does not work. No imported items, no errors!?

Regards
Maik

@josefw
Copy link

josefw commented Feb 2, 2018

Same problem here. Any news?

@buzz
Copy link
Owner

buzz commented Feb 14, 2018

Sorry, this was just meant as a stop-gap solution until OC supports webcal natively. OC does now so I'm not using this anymore personally. Please debug yourself.

@tboerner
Copy link

  1. Python:
    The script uses Python 3 syntax, but the virtualenv provides Python 2.7.
    Either adapt it to 2.7:
    replace #!/usr/bin/env python3 with #!/usr/bin/env python2
    add
    from future import print_function
    and replace configparser with ConfigParser.
    Or, if you have Python 3 installed, run the script directly (not with the shell script).
    Make sure you have python3-icalendar installed.

  2. Owncloud:
    The base_url has changed. It is now:
    CALDAVURL = '%sremote.php/dav/calendars/%s/%s/'

@buzz
Copy link
Owner

buzz commented Dec 11, 2019

  1. Python:
    The script uses Python 3 syntax, but the virtualenv provides Python 2.7.
    Either adapt it to 2.7:
    replace #!/usr/bin/env python3 with #!/usr/bin/env python2
    add
    from future import print_function
    and replace configparser with ConfigParser.
    Or, if you have Python 3 installed, run the script directly (not with the shell script).
    Make sure you have python3-icalendar installed.
  2. Owncloud:
    The base_url has changed. It is now:
    CALDAVURL = '%sremote.php/dav/calendars/%s/%s/'

If you can create a PR I'm happy to pull.

@tboerner
Copy link

tboerner commented Dec 12, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants