[Remind-Fans] Radicale Remind Storage

Jeronimo Pellegrini j_p at aleph0.info
Thu Mar 12 09:37:20 EDT 2015


On Thu, Mar 12, 2015 at 02:19:54PM +0100, Jochen Sprickerhof wrote:
> * Jeronimo Pellegrini <j_p at aleph0.info> [2015-03-12 08:31]:
> > filesystem_folder = /home/jeronimo/sub/org/
> 
> filesystem_folder would be the common basepath that gets stripped from
> the URL. In your case this would be /home.
> (I still need to implement multi user support where this should be
> useful).
 
> then try again:
> cadaver http://myhost.com:5232/jeronimo/sub/org/

Ok... But I still get an internal server error.
 
> > remind_file = /home/jeronimo/sub/org/reminders
> 
> Just to be sure, this would be the remind file. Can you do:
> 
> rem2ics /home/jeronimo/sub/org/reminders
> 
> (with rem2ics from my python-remind lib)

Ah -- something seems wrong here:

# rem2ics /home/jeronimo/sub/org/reminders
Traceback (most recent call last):
  File "/usr/local/bin/rem2ics", line 9, in <module>
    load_entry_point('remind==0.2.0', 'console_scripts', 'rem2ics')()
  File "/usr/local/lib/python2.7/dist-packages/remind.py", line 440, in rem2ics
    args.outfile.write(remind.to_vobject().serialize())
  File "/usr/local/lib/python2.7/dist-packages/remind.py", line 233, in to_vobject
    self._update()
  File "/usr/local/lib/python2.7/dist-packages/remind.py", line 218, in _update
    self._icals = self._parse_remind(self._filename)
  File "/usr/local/lib/python2.7/dist-packages/remind.py", line 61, in _parse_remind
    rem = Popen(cmd, stdin=PIPE, stdout=PIPE).communicate(input=lines.encode('utf-8'))[0].decode('utf-8')
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

But the file is there!

# ls -l /home/jeronimo/sub/org/reminders
-rw-r--r-- 1 jeronimo jeronimo 908 Mar 12 09:17 /home/jeronimo/aleph0/org/reminders

So it seems to be path/filesystem related. What wlse could I do to find the
problem?

J.


More information about the Remind-fans mailing list