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

IOError: [Errno 20] Not a directory #161

Closed
paulepanter opened this issue May 14, 2014 · 5 comments
Closed

IOError: [Errno 20] Not a directory #161

paulepanter opened this issue May 14, 2014 · 5 comments
Labels
Milestone

Comments

@paulepanter
Copy link

With Debian and the package Radicale 0.8-2 the following error is shown on the terminal.

    # radicale --foreground -D --hosts 0.0.0.0:5232
    Traceback (most recent call last):
      File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
        self.result = application(self.environ, self.start_response)
      File "/usr/lib/python2.7/dist-packages/radicale/__init__.py", line 300, in __call__
        user)
      File "/usr/lib/python2.7/dist-packages/radicale/__init__.py", line 509, in propfind
        environ["PATH_INFO"], content, collections, user)
      File "/usr/lib/python2.7/dist-packages/radicale/xmlutils.py", line 226, in propfind
        response = _propfind_response(path, collection, props, user)
      File "/usr/lib/python2.7/dist-packages/radicale/xmlutils.py", line 237, in _propfind_response
        collection_props = properties
      File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
        self.gen.next()
      File "/usr/lib/python2.7/dist-packages/radicale/storage/filesystem.py", line 113, in props
        with open(self._props_path, "w") as prop_file:
      File "/usr/lib/python2.7/dist-packages/radicale/storage/filesystem.py", line 42, in open
        return codecs.open(abs_path, mode, config.get("encoding", "stock"))
      File "/usr/lib/python2.7/codecs.py", line 878, in open
        file = __builtin__.open(filename, mode, buffering)
    IOError: [Errno 20] Not a directory: '/var/lib/radicale/collections/calendars/joe/joe.ics.props'

    # ls /var/lib/radicale/collections/calendars/joe/
    ls: cannot access /var/lib/radicale/collections/calendars/joe/: Not a directory
    # ls /var/lib/radicale/collections/calendars/joe
    /var/lib/radicale/collections/calendars/joe
@cristen
Copy link

cristen commented May 14, 2014

What client are you using ? What url did you provide to the client ?
Why are you trying to list the adrian directory when radicale is looking inside joe's one ?
A full log with your config would help understand the behavior.

Thanks :).

@paulepanter
Copy link
Author

The user joe used an iPhone with the integrated calendar application.

I’ll try to reproduce this and get back to you. Sorry for listing the wrong user. I corrected my post.

@rongarret
Copy link

This is almost certainly the same problem as issue #159

@untitaker
Copy link
Contributor

Or because you provided the wrong URL. I've seen this happen in #162.

@liZe liZe added the Bug label Jul 28, 2014
@liZe liZe added this to the 1.0 milestone Jul 28, 2014
@liZe liZe mentioned this issue Apr 4, 2016
39 tasks
@liZe
Copy link
Member

liZe commented Apr 18, 2016

Probably fixed, now that #159 and #162 are fixed, and now that the storage module has been rewritten.

@liZe liZe closed this as completed Apr 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants