[CalendarServer-users] Client library and admin tool
Scott Buchanan
dscottbuch at mac.com
Wed Mar 26 10:46:14 PDT 2008
This looks very promising. I tried to get the GUI app going as per
the instruction but am having problems.
First, I had to install py2app and then modulegraph. I did this using
svn co http://svn.pythonmac.org/py2app/py2app/trunk/ py2app
svn co http://svn.pythonmac.org/modulegraph/modulegraph/trunk/
modulegraph
And running
python setup.py build
python setup.py install
in each directory.
I then
svn checkout http://svn.macosforge.org/repository/calendarserver/CalDAVClientLibrary/trunk
CalDAVClientLibrary
and ran
python setup.py py2app
as in the instructions and got the following warnings at the beginning.
running py2app
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/modulegraph-0.7.2.dev_r21-py2.5.egg/modulegraph/
find_modules.py:197: UserWarning: No package named src/protocol
warn("No package named %s" % f)
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/modulegraph-0.7.2.dev_r21-py2.5.egg/modulegraph/
find_modules.py:197: UserWarning: No package named src/ui
warn("No package named %s" % f)
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/modulegraph-0.7.2.dev_r21-py2.5.egg/modulegraph/
find_modules.py:197: UserWarning: No package named src/client
warn("No package named %s" % f)
and the following error at the end putting the process in the debugger.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py",
line 579, in _run
self.run_normal()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py",
line 650, in run_normal
self.create_binaries(py_files, pkgdirs, extensions, loader_files)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py",
line 767, in create_binaries
platfiles = mm.run()
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOStandalone.py",
line 102, in run
mm.run_file(fn)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOGraph.py", line
66, in run_file
m = self.createNode(MachO, pathname)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOStandalone.py",
line 23, in createNode
res = super(FilteredMachOGraph, self).createNode(cls, name)
File "build/bdist.macosx-10.3-fat/egg/altgraph/ObjectGraph.py", line
148, in createNode
m = cls(name, *args, **kw)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 61,
in __init__
self.load(file(filename, 'rb'))
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 71,
in load
self.load_fat(fh)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 82,
in load_fat
self.load_header(fh, arch.offset, arch.size)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 106,
in load_header
hdr = MachOHeader(self, fh, offset, size, magic, hdr, endian)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 146,
in __init__
self.load(fh)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 178,
in load
raise ValueError("Unknown load command: %d" % (cmd_load.cmd,))
ValueError: Unknown load command: 27
> /Users/scott/Source_Code/CalendarDir/CalDAVClientLibrary/build/
bdist.macosx-10.3-fat/egg/macholib/MachO.py(178)load()
(Pdb)
Thanks for any suggestions.
________________________________________________________
Scott Buchanan
DSB Associates e-mail: dscottbuch at mac.com
4-D Neuroimaging Tel: (858) 759-9496
Fax: (858) 759-0825
________________________________________________________
On Mar 25, 2008, at 1:34 PM, Cyrus Daboo wrote:
> Hi folks,
> The CalDAV client library and admin tool I have mentioned before is
> now
> available on the open source site.
>
> <http://trac.macosforge.org/projects/calendarserver/wiki/CalDAVClientLibrary
> >
>
> This will help people do basic command line management of XML
> directory
> files, as well as proxy/delegation setup. It can also form the basis
> of
> more sophisticated admin tools that people might need.
>
> If you have questions or comments please post to this list and I can
> work
> on expanding the wiki with an FAQ as issues come up.
>
> --
> Cyrus Daboo
>
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
More information about the calendarserver-users
mailing list