Skip to content

Instantly share code, notes, and snippets.

@FND
Created December 7, 2009 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save FND/250834 to your computer and use it in GitHub Desktop.
Save FND/250834 to your computer and use it in GitHub Desktop.
from xml.marshal import generic
print generic, dir(generic)
works fine on Ubuntu, but on Mac OS X:
Traceback (most recent call last):
File "/usr/local/bin/twanager", line 14, in <module>
handle(args)
File "/Library/Python/2.5/site-packages/tiddlyweb/manage.py", line 309, in handle
COMMANDS[candidate_command](args)
File "/Library/Python/2.5/site-packages/tiddlyweb/manage.py", line 76, in server
serve.start_cherrypy()
File "/Library/Python/2.5/site-packages/tiddlyweb/web/serve.py", line 53, in start_cherrypy
app = load_app(prefix=config['server_prefix'])
File "/Library/Python/2.5/site-packages/tiddlyweb/web/serve.py", line 29, in load_app
imported_module = __import__(plugin, {}, {}, ['init'])
File "/Users/pauldowney/src/scapetate/tiddlywebplugins/xml/__init__.py", line 6, in <module>
from tiddlywebplugins.xml.marshaller import dumps, loads
File "/Users/pauldowney/src/tiddlyweb.xml/tiddlywebplugins/xml/marshaller.py", line 11, in <module>
from xml.marshal import generic
ImportError: No module named marshal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment