[Qgis-user] Error in plugin 'Flowmapper'

Barend Köbben kobben at itc.nl
Tue Apr 17 01:14:32 PDT 2012


Hi there,

Running the FlowMapper plugin on a MacOSX install of QGIS 1.7.4 fails (see
error report below).
Are there people who got this plugin running on MacOSX (or elsewhere for
that matter)?

--
Barend Köbben
ITC - University of Twente



An error has occured while executing Python code:

Traceback (most recent call last):
  File "/Users/kobben/.qgis/python/plugins/FlowMapper/flowmapper.py", line
118, in run
    SaveDirectory = os.path.realpath(SaveShpName)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pos
ixpath.py", line 358, in realpath
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pos
ixpath.py", line 53, in isabs
AttributeError: 'QString' object has no attribute 'startswith'

Python version:
2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]


QGIS version:
1.7.4-Wroclaw Wroclaw,

Python path: ['/Users/kobben/.qgis/python/plugins/GeoCoding',
'/Users/kobben/.qgis/python/plugins/GeoCoding',
'/Users/kobben/.qgis/python/plugins/GeoCoding',
'/Users/kobben/.qgis/python/plugins/GeoCoding',
'/Users/kobben/.qgis/python/plugins/GeoCoding',
'/Users/kobben/.qgis/python/plugins/GeoCoding',
'/Users/kobben/.qgis/python/plugins/GeoCoding',
'/Users/kobben/.qgis/python/plugins/GeoCoding',
'/Users/kobben/.qgis/python/plugins/elevation',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python',
'/Users/kobben/.qgis/python', '/Users/kobben/.qgis/python/plugins',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Frameworks/MapServer.framework/Versions/6.0/Python/2.7',
'/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages',
 '/Library/Frameworks/cairo.framework/Versions/1/Python/2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip'
,
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pla
t-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pla
t-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pla
t-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib
-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib
-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib
-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/PyObjC', '/Library/Python/2.7/site-packages',
'/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']


Faculty of Geo-Information Science and Earth Observation (ITC)
University of Twente
Chamber of Commerce: 501305360000

E-mail disclaimer
The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission.



More information about the Qgis-user mailing list