[Qgis-user] fTools and other Farmer's plugins...
carson.farmer at gmail.com
Wed Oct 8 09:22:15 EDT 2008
> 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
> 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...
Carson J.Q. Farmer
National Centre for Geocomputation (NCG),
John Hume Building,
National University of Ireland, Maynooth,
More information about the Qgis-user