Hello,
I'm trying to run WebDAVBrowser from the CalDAVClientLibrary. I can build the app just fine, but I get the following error on launch:

"ImportError: No module named elementtreeElementTree"


I'm relatively inexperienced with Python, but looking through the code, I can see references to xml.etree.ElementTree in the code -- but nothing related to elementtree.ElementTree. 


Here's my config:
Mac OS X 10.6.4 using Python 2.6 (as shipped)
Xcode 3.2.4

Note that the runshell.py utility works fine for me.

Does anyone know what I'm doing wrong with WebDAVBrowser?

Thanks,
Mike

---------
Details from the console:

Nov  7 14:15:28 mgreiner-mac com.apple.launchd.peruser.1025[213] ([0x0-0x7a07a].org.pythonmac.unspecified.WebDAVBrowser[1002]): Exited with exit code: 255
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]: Traceback (most recent call last):
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]:   File "/Users/Shared/svn/CalDAVClientLibrary/dist/WebDAVBrowser.app/Contents/Resources/__boot__.py", line 31, in <module>
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]:     _run('WebDAVBrowser.py')
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]:   File "/Users/Shared/svn/CalDAVClientLibrary/dist/WebDAVBrowser.app/Contents/Resources/__boot__.py", line 28, in _run
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]:     execfile(path, globals(), globals())
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]:   File "/Users/Shared/svn/CalDAVClientLibrary/dist/WebDAVBrowser.app/Contents/Resources/WebDAVBrowser.py", line 21, in <module>
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]:     import Foundation, AppKit, WebKit #...@unusedimport
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]:   File "Foundation/__init__.pyc", line 8, in <module>
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]:   File "objc/__init__.pyc", line 26, in <module>
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecifiedWebDAVBrowser[1017]:   File "objc/_bridgesupport.pyc", line 29, in <module>
Nov  7 14:19:43 mgreiner-mac [0x0-0x7c07c].org.pythonmac.unspecified.WebDAVBrowser[1017]: ImportError: No module named elementtree.ElementTree
Nov  7 14:19:43 mgreiner-mac WebDAVBrowser[1017]: WebDAVBrowser Error
Nov  7 14:19:43 mgreiner-mac WebDAVBrowser[1017]: WebDAVBrowser Error\nAn unexpected error has occurred during execution of the main script\n\nImportError: No module named elementtree.ElementTree
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Reply via email to