Hello:
I
was testing my python GPS plugin and finding that it will not load into the separate
install of QGIS. However it loads fine into the OSGEO4W version. Here is the
set of error messages that are generated when the standalone version opens:
Couldn't load plugin "trackgps"
from ['C:/Program Files/Quantum GIS Mimas/./python', 'C:/Documents and
Settings/bbruce/.qgis//python/plugins', 'C:/Program Files/Quantum GIS
Mimas/./python/plugins', 'C:\Program Files\Quantum GIS Mimas\bin\python25.zip',
'.\DLLs', '.\lib', '.\lib\plat-win', '.\lib\lib-tk', 'C:\Program Files\Quantum
GIS Mimas\bin', 'C:\Program Files\Quantum GIS
Mimas\python\plugins\fTools\tools']
Traceback (most recent call last):
File "", line 2, in
File "C:/Documents and Settings/bbruce/.qgis//python/plugins\trackgps\__init__.py",
line 2, in
from trackGps import trackGps
File "C:/Documents and
Settings/bbruce/.qgis//python/plugins\trackgps\trackGps.py", line 23, in
from gpsconnection import *
File "C:/Documents and Settings/bbruce/.qgis//python/plugins\trackgps\gpsconnection.py",
line 7, in
import serial
File "C:/Documents and
Settings/bbruce/.qgis//python/plugins\trackgps\serial\__init__.py", line
18, in
from serialwin32 import *
File "C:/Documents and Settings/bbruce/.qgis//python/plugins\trackgps\serial\serialwin32.py",
line 9, in
import win32file # The base COM port and file IO functions.
ImportError: No module named win32file
Python version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
Python path:['C:/Program Files/Quantum GIS Mimas/./python', 'C:/Documents and
Settings/bbruce/.qgis//python/plugins', 'C:/Program Files/Quantum GIS
Mimas/./python/plugins', 'C:\\Program Files\\Quantum GIS
Mimas\\bin\\python25.zip', '.\\DLLs', '.\\lib', '.\\lib\\plat-win',
'.\\lib\\lib-tk', 'C:\\Program Files\\Quantum GIS Mimas\\bin', 'C:\\Program
Files\\Quantum GIS Mimas\\python\\plugins\\fTools\\tools']
I have searched the QGIS Mimas folder and found the
win32file.pyd file in the python\win32 subfolder. Is this folder not in the
search path for QGIS? Can someone help me fix this problem?
Thanks,
Bob
Bruce
**********************************************************************************************************
** Bob Bruce,
P.Eng.
Geomatics Support Engineer
**
[hidden email]
Manitoba Geomatics/Remote Sensing Branch,
** work # (204)
945-6636
1007 Century Street,
** FAX # (204)
945-1365
Winnipeg, Manitoba, Canada, R3H
0W4
**
** The Manitoba Centre
for:
**
Cadastral & Topographical Mapping, and Remote Sensing
**
See us on the Web at: http://www.gov.mb.ca/conservation/geomatics/
**
and: http://www.gov.mb.ca/conservation/geomatics/cada_mapping/index.html
**
Check out our digital maps at: http://mlidata.gov.mb.ca/WPMLI
**
and: https://mli2.gov.mb.ca/
**********************************************************************************************************