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

Carson Farmer carson.farmer at gmail.com
Wed Oct 8 06:22:15 PDT 2008


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




More information about the Qgis-user mailing list