On Monday, December 2, 2013 9:28:47 PM UTC-8, ilewismsl wrote:
>
> On Trac 1.0, while trying to load the TracBlockdiag plugin from
> https://github.com/yosisa/TracBlockdiag (looks to be newer than the
> version on trac-hacks, which I could never get to work) I get the following
> error in the log:
>
> 2013-12-02 20:03:22,130 Trac[loader] DEBUG: Skipping "tracblockdiag =
> tracblockdiag.plugin": ("DistributionNotFound: OrderedDict" not found)
>
> We have the Python https://pypi.python.org/pypi/ordereddict package
> installed, which, if I understand it, should provide OrderedDict for Python
> 2.6.
>
> I do not know Python all that well, but I find no explicit references to
> OrderedDict in the TracBlockdiag source.
>
> Can someone explain what the log error message tells me? I guess it means
> that while attempting to load TracBlockdiag failed to load OrderedDict, but
> I am not sure that is what the message means.
>
> If it is what it means, any suggestion on what I might do to fix the
> problem?
>
> Regards,
> Ian Lewis
> www.mstarlabs.com
>
> System configuration:
> -----------------------------
> PackageVersionTrac1.0Docutils0.8.1Genshi0.6 (without speedups)mod_python
> 3.3.1Pygments1.4pysqlite2.4.1Python2.6.6 (r266:84297, Aug 24 2010,
> 18:46:32) [MSC v.1500 32 bit
> (Intel)]setuptools1.4.1SQLite3.5.9Subversion1.7.1
> (r1186859)jQuery1.7.2
>
blockdiag 1.3.2 has the following in setup.py:
if sys.version_info > (2, 6) and sys.version_info < (2, 7):
requires.append('OrderedDict')
test_requires.append('unittest2')
... so it looks like it is failing to find OrderedDict when installing
blockdiag.
Do either of these succeed from the shell?
import ordereddict
import blockdiag
Another thing to try is to install blockdiag before installing
TracBlockDiag.
--
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.