I still have no idea what is going on, but I can see that the source of the 
problem really is somehow related to the module ordereddict. 

I  modified a very simple plugin to add the statement:
   from ordereddict import OrderedDict

When Trac tries to load this plugin, in the log I get:
-------------------
Traceback (most recent call last):
  File "build\bdist.win32\egg\trac\loader.py", line 90, in _load_py_files
    module = imp.load_source(plugin_name, plugin_file)
  File "d:\trac\msl\plugins\ticket_clone.py", line 4, in <module>
    from ordereddict import OrderedDict
ImportError: No module named ordereddict
-------------------

But, from a Python shell in the same environment I can enter:
-------------------
>>> from ordereddict import OrderedDict
>>> help (OrderedDict)
Help on class OrderedDict in module ordereddict:
class OrderedDict(__builtin__.dict, UserDict.DictMixin)
... {rest of the help from OrderedDict)
-------------------
and I get all of the help from the OrderedDict class. This seems to imply 
that the module is there and fine. 

Does this tell you anything?

Ian

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to