[Calypso] General Calypso usage

Stefan sbegerad at t-online.de
Wed Dec 23 05:54:17 PST 2015


Dear Jelmer,
thx for the hints. I installed calypso without the prefix, cos of
trouble with the python path. Now, calypso is installed
in /usr/local/bin. When I launch calypos as user, everything works fine.
When I launch calypso as root, it does not work. It fowllows an example
output with a client trying to add a contact.

root at debian:/home/stefan# calypso
192.168.178.23 - - [23/Dec/2015 14:47:32] "PROPFIND /private/test/
HTTP/1.1" 207 -
Failed PUT for /private/test/251AA394-1D817C5B-277A9EA0.vcf
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/calypso/__init__.py", line 406, in
do_PUT
    item = self._collection.get_item(item_name)
AttributeError: 'NoneType' object has no attribute 'get_item'
192.168.178.23 - - [23/Dec/2015 14:47:32]
"PUT /private/test/251AA394-1D817C5B-277A9EA0.vcf HTTP/1.1" 400 -

Calypso behaves in the same way, when i try to launch it using the init
script from git.

root at debian:/etc/init.d# calypso start
192.168.178.23 - - [23/Dec/2015 14:48:40] "PROPFIND /private/test/
HTTP/1.1" 207 -
Failed PUT for /private/test/56E27BF0-738A4B92-0DC6F1F0.vcf
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/calypso/__init__.py", line 406, in
do_PUT
    item = self._collection.get_item(item_name)
AttributeError: 'NoneType' object has no attribute 'get_item'
192.168.178.23 - - [23/Dec/2015 14:48:40]
"PUT /private/test/56E27BF0-738A4B92-0DC6F1F0.vcf HTTP/1.1" 400 -

I reckon something is wrong in my setup, when calypso is launched as
root. I will try to run calypso in an autonomous way as user. Do you
have any ideas on this?

Cheers,
Stefan

On Sun, 2015-12-20 at 20:28 +0000, Jelmer Vernooij wrote:
> On Sun, Dec 20, 2015 at 07:56:05PM +0100, Stefan wrote:
> > I reckon the script "calypso-init" will not work. Calypso has no
> > executable like those under /usr/bin or /bin. Calypso need to be
> > interpreted using python. This fact seem not to be considered in the
> > example init script.
> You can install calypso into /usr if you specify --prefix=/usr to
> setup.py.
> 
> calypso has #!/usr/bin/python as its first line, that's how
> the interpreter is found.
> 
> Cheers,
> 
> Jelmer
> 
> > 
> > On Sun, 2015-12-20 at 16:22 +0000, Jelmer Vernooij wrote:
> > > On Sun, Dec 20, 2015 at 03:50:55PM +0100, Stefan wrote:
> > > > Dear all,
> > > > I have running an calypso instance on my virtual Debian 8 box since
> > > > today. That is why I like to play with calypso a bit. Until now, I
> > > > figured out how to create appointments and contacts. That seems to be
> > > > straight forward.Now I like to do more serious stuff.
> > > > 
> > > > Some questions appeared I would like to ask this way. Here it goes.
> > > > 
> > > > *According to the file setup.py, a website called
> > > > http://www.calypso.org/ shall exist. This website, however, seems to be
> > > > offline or moved somewhere else. Any idea?
> > > I don't think that website ever existed. Perhaps we should update it
> > > to point at Keith's calypso page.
> > > 
> > > > *Doe you have experience with autostart setup of calypso? Some day in
> > > > the future I would like to run a calypso instance on a rather
> > > > operational and real server.
> > > See calypso-init in the git repo for an example init script.
> > > 
> > > > *Does any documentation exist apart from the git repo?
> > > I'm not aware of anything outside of the git repo.
> > > 
> > > > *I am not an expert of git, but I could imagine running a remote repo to
> > > > backup a calypso database. Does anybody has experience with that?
> > > Yes, just backing up the git repo should be sufficient. The repo isn't
> > > special in any way so you can just clone it to make a backup.
> > > 
> > > Cheers,
> > > 
> > > Jelmer
> > 
> > 




More information about the Calypso mailing list