-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 17. Juni 2008 21:00
An: calendarserver-users@lists.macosforge.org
Betreff: calendarserver-users Digest, Vol 23, Issue 13


Send calendarserver-users mailing list submissions to
        calendarserver-users@lists.macosforge.org

To subscribe or unsubscribe via the World Wide Web, visit
        
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of calendarserver-users digest..."


Today's Topics:

   1. Python Client Library (arun chhetri)
   2. Re: Python Client Library (Cyrus Daboo)
   3. AttributeError: NotFilePath instance has no       attribute
      'startswith' (John Tanner)
   4. Re: AttributeError: NotFilePath instance has no   attribute
      'startswith' (Cyrus Daboo)
   5. Re: AttributeError: NotFilePath instance has      no      attribute
      'startswith' (John Tanner)


----------------------------------------------------------------------

Message: 1
Date: Mon, 16 Jun 2008 17:14:30 -0500
From: "arun chhetri" <[EMAIL PROTECTED]>
Subject: [CalendarServer-users] Python Client Library
To: calendarserver-users@lists.macosforge.org
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
I am trying to develop information system for whole college using python,
which is tied to the  CalDAV server. I am using CalDAV python client library
that is there on the website. I am stuck at making claendar components.
Reading and deleting is fine but I am not able to use PUT request properly.
I am using Vobjects to create calendar files, then I serialize it and at
last I change it to string. After that when I try to PUT the component back
to the CALDAV server it throws error.

Can, anybody please tell me how to you this library to Put the calendar
components on the server.


Thanks

Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20080
616/2604cf2f/attachment-0001.htm 

------------------------------

Message: 2
Date: Mon, 16 Jun 2008 18:44:04 -0400
From: Cyrus Daboo <[EMAIL PROTECTED]>
Subject: Re: [CalendarServer-users] Python Client Library
To: arun chhetri <[EMAIL PROTECTED]>,
        calendarserver-users@lists.macosforge.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi arun,

--On June 16, 2008 5:14:30 PM -0500 arun chhetri <[EMAIL PROTECTED]> 
wrote:

> I am trying to develop information system for whole college using python,
> which is tied to the  CalDAV server. I am using CalDAV python client
> library that is there on the website. I am stuck at making claendar
> components. Reading and deleting is fine but I am not able to use PUT
> request properly. I am using Vobjects to create calendar files, then I
> serialize it and at last I change it to string. After that when I try to
> PUT the component back to the CALDAV server it throws error.
>
> Can, anybody please tell me how to you this library to Put the calendar
> components on the server.
>

What error are you getting from the server?

-- 
Cyrus Daboo



------------------------------

Message: 3
Date: Tue, 17 Jun 2008 12:40:15 +0100
From: John Tanner <[EMAIL PROTECTED]>
Subject: [CalendarServer-users] AttributeError: NotFilePath instance
        has no  attribute 'startswith'
To: calendarserver-users@lists.macosforge.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Hi all,

New problem I'm afraid. I updated to the latest SVN this morning and  
tried to run the server; the following was spat out:

2008-06-17 12:36:40+0100 [-] [caldav-8008] /Users/hucklowcom/Developer/ 
CalendarServer/twistedcaldav/authkerb.py:41: RuntimeWarning: Python C  
API version mismatch for module kerberos: This Python has API version  
1013, module kerberos has version 1012.
2008-06-17 12:36:40+0100 [-] [caldav-8008]   import kerberos
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-] Log opened.
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-] twistd 2.5.0+rUnknown  
(/Library/Frameworks/Python.framework/Versions/2.5/Resources/ 
Python.app/Contents/MacOS/Python 2.5.0) starting up
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-] reactor class: <class  
'twisted.internet.selectreactor.SelectReactor'>
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]  
[twistedcaldav.tap#info] Configuring directory service of type:  
twistedcaldav.directory.xmlfile.XMLDirectoryService
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]  
[twistedcaldav.tap#info] Configuring SudoDirectoryService with file:  
conf/sudoers.plist
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]  
[twistedcaldav.tap#info] Setting up document root at: twistedcaldav/ 
test/data/
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]  
[twistedcaldav.tap#info] Setting up principal collection: <class  
'twistedcaldav 
.directory.principal.DirectoryPrincipalProvisioningResource'>
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-] Traceback (most recent  
call last):
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "../Twisted/bin/ 
twistd", line 21, in <module>
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]     run()
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/Twisted/twisted/scripts/twistd.py", line 27, in run
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]     app.run(runApp,  
ServerOptions)
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/Twisted/twisted/application/app.py", line 379, in  
run
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]     runApp(config)
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/Twisted/twisted/scripts/twistd.py", line 23, in  
runApp
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]      
_SomeApplicationRunner(config).run()
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/Twisted/twisted/application/app.py", line 157, in  
run
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]     self.application =  
self.createOrGetApplication()
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/Twisted/twisted/application/app.py", line 202, in  
createOrGetApplication
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]     ser =  
plg.makeService(self.config.subOptions)
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/CalendarServer/twistedcaldav/tap.py", line 749,  
in makeService
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]     service =  
serviceMethod(options)
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/CalendarServer/twistedcaldav/tap.py", line 502,  
in makeService_Slave
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]      
principalCollection = self.principalResourceClass("/principals/",  
directory)
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/CalendarServer/twistedcaldav/directory/ 
principal.py", line 131, in __init__
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]      
DirectoryProvisioningResource.__init__(self, url, directory)
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/CalendarServer/twistedcaldav/directory/ 
principal.py", line 88, in __init__
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]      
DAVFile.__init__(self, NotFilePath(isdir=True))
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/Twisted/twisted/web2/dav/static.py", line 72, in  
__init__
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]     indexNames =  
indexNames,
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/Twisted/twisted/web2/static.py", line 203, in  
__init__
2008-06-17 12:36:40+0100 [-] [caldav-8008]  [-]     self.fp =  
filepath.FilePath(path)
2008-06-17 12:36:41+0100 [-] [caldav-8008]  [-]   File "/Users/ 
hucklowcom/Developer/Twisted/twisted/python/filepath.py", line 290, in  
__init__
2008-06-17 12:36:41+0100 [-] [caldav-8008]  [-]     self.path =  
abspath(path)
2008-06-17 12:36:41+0100 [-] [caldav-8008]  [-]   File "/Library/ 
Frameworks/Python.framework/Versions/2.5/lib/python2.5/posixpath.py",  
line 403, in abspath
2008-06-17 12:36:41+0100 [-] [caldav-8008]  [-]     if not isabs(path):
2008-06-17 12:36:41+0100 [-] [caldav-8008]  [-]   File "/Library/ 
Frameworks/Python.framework/Versions/2.5/lib/python2.5/posixpath.py",  
line 49, in isabs
2008-06-17 12:36:41+0100 [-] [caldav-8008]  [-]     return  
s.startswith('/')
2008-06-17 12:36:41+0100 [-] [caldav-8008]  [-] AttributeError:  
NotFilePath instance has no attribute 'startswith'

I was hoping that the latest SVN might solve a problem we've been  
having with authentication and Mozilla Sunbird, but now the caldav  
server refuses to start; any ideas?

Cheers,

John D. Tanner

Conformance Ltd.
The Old Methodist Chapel
Great Hucklow
Buxton
Derbyshire
SK17 8RG

tel: +44 (0)1298 873800
fax: +44 (0)1298 873801
url: www.conformance.co.uk

Registered in England, Company No. 3478646
  -.-. --- -. ..-. --- .-. -- .- -. -.-. .



------------------------------

Message: 4
Date: Tue, 17 Jun 2008 10:55:23 -0400
From: Cyrus Daboo <[EMAIL PROTECTED]>
Subject: Re: [CalendarServer-users] AttributeError: NotFilePath
        instance has no attribute 'startswith'
To: John Tanner <[EMAIL PROTECTED]>,
        calendarserver-users@lists.macosforge.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi John,

--On June 17, 2008 12:40:15 PM +0100 John Tanner 
<[EMAIL PROTECTED]> wrote:

> New problem I'm afraid. I updated to the latest SVN this morning and
> tried to run the server; the following was spat out:

There was a bug that has now been fixed. So update to trunk. Also delete 
your existing Twisted directory and do ./run -s again to pull that in and 
patch it up properly.

-- 
Cyrus Daboo



------------------------------

Message: 5
Date: Tue, 17 Jun 2008 16:43:45 +0100
From: John Tanner <[EMAIL PROTECTED]>
Subject: Re: [CalendarServer-users] AttributeError: NotFilePath
        instance has    no      attribute 'startswith'
To: Cyrus Daboo <[EMAIL PROTECTED]>
Cc: calendarserver-users@lists.macosforge.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Cyrus,

You are a star as always...everything is back up and running :)

John D. Tanner

Conformance Ltd.
The Old Methodist Chapel
Great Hucklow
Buxton
Derbyshire
SK17 8RG

tel: +44 (0)1298 873800
fax: +44 (0)1298 873801
url: www.conformance.co.uk

Registered in England, Company No. 3478646
  -.-. --- -. ..-. --- .-. -- .- -. -.-. .

On 17 Jun 2008, at 15:55, Cyrus Daboo wrote:

> Hi John,
>
> --On June 17, 2008 12:40:15 PM +0100 John Tanner
<[EMAIL PROTECTED] 
> > wrote:
>
>> New problem I'm afraid. I updated to the latest SVN this morning and
>> tried to run the server; the following was spat out:
>
> There was a bug that has now been fixed. So update to trunk. Also  
> delete your existing Twisted directory and do ./run -s again to pull  
> that in and patch it up properly.
>
> -- 
> Cyrus Daboo
>
>
>



------------------------------

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users


End of calendarserver-users Digest, Vol 23, Issue 13
****************************************************

Lebek International Fashion GmbH & Co. KG, Kirburger Str. 1, 56470 Bad 
Marienberg
KG: Sitz Bad Marienberg, HRA 3360 Amtsgericht Montabaur
Geschaeftsfuehrer: Dr. Barbara Lebek
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Reply via email to