[Qgis-user] fTools and other Farmer's plugins...

G. Allegri giohappy at gmail.com
Wed Oct 8 09:26:31 EDT 2008


Thanks Carson. I wouldn't have come to the solution from the traceback!

2008/10/8 Carson Farmer <carson.farmer at gmail.com>

> Giovanni,
>
>  I have Metis compiled on Ubuntu 8.04.
>> I've added you new repository plugins but I get the following errors on
>> startup:
>>
>> Traceback (most recent call last):
>>  File "", line 2, in
>>  File "/home/giova/.qgis//python/plugins/fTools/__init__.py", line 34, in
>>    from fTools import fToolsPlugin
>>  File "/home/giova/.qgis//python/plugins/fTools/fTools.py", line 45, in
>>    import doFieldStats, doIntersectLines, doJoinAttributes, doListUnique,
>> doNearestNeighbour, doSelectByLocation
>>  File "/home/giova/.qgis/python/plugins/fTools/tools/doJoinAttributes.py",
>> line 38, in
>>    import struct, itertools, datetime, decimal
>>  File "/usr/lib/python2.5/decimal.py", line 401, in
>>    if hasattr(threading.currentThread(), '__decimal_context__'):
>> AttributeError: 'module' object has no attribute 'currentThread'
>>
>> This is with fTools, but the errors with manageR, scattergram, and others
>> are similar. It's not something with your module, but have any ideas on how
>> to solve it?
>>
> I know exactly how to solve it: Remove the threading plugin. There are some
> naming conflicts with this plugin and several standard python libraries.
> Your options are to remove it, or to change the name of the python file. If
> you would like to keep this plugin, let me now and I'll let you know what
> needs to be changed...
>
> C
>
> --
> Carson J.Q. Farmer
> PhD Student
> National Centre for Geocomputation (NCG),
> John Hume Building,
> National University of Ireland, Maynooth,
> Maynooth,
> Co. Kildare,
> Ireland.
> http://www.carsonfarmer.com
> http://www.ftools.ca
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-user/attachments/20081008/1c7fb666/attachment.html


More information about the Qgis-user mailing list