Closed suttonp1 closed 2 years ago
Same issue upgrading to V2.4.0...
Hi
Just seen this - I'm having problems losing messages from github so not getting notifications of new issues. Sorry for the lack of responsiveness.
Not a useful error message. This is certainly running for me on 2.4 (and 2.2, 2.5 current build). My best guess is that it is to do with file encoding of the plugin (ASCII vs UTF8). Can you provide information about the platform, etc that you are trying to load the plugin on please.
I'm running QGIS V2.4.0 as well.
I have a Dell PC (new in the last year - so it should be too buggered up yet) and Windows 7 Professional.
Thanks
Hmmm .. there is something special about your installation!!! Not sure how much I'll be able to help.
How did you install QGIS? I'm wondering about whether it is picking up something from another python installation? A couple of bits of information that could be useful:
1) Could you provide the contents of QGIS Help | About dialog which details the software components used by QGIS.
2) In the QGIS python console could you type
import sys; print "\n".join(sys.path)
and send the resulting list of python paths.
Thanks Chris
1)
QGIS version 2.4.0-Chugiak
QGIS code revision 8fdd08a
Compiled against Qt 4.8.5
Running against Qt 4.8.5
Compiled against GDAL/OGR 1.11.0
Running against GDAL/OGR 1.11.0
Compiled against GEOS 3.4.2-CAPI-1.8.2
Running against GEOS 3.4.2-CAPI-1.8.2 r3921
PostgreSQL Client Version 9.2.4
SpatiaLite Version 4.1.1
QWT Version 5.2.3
PROJ.4 Version 480
QScintilla2 Version 2.7.2
2) Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] on BASELINE-PC
import sys; print "\n".join(sys.path) C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing C:/PROGRA~1/QGISCH~1/apps/qgis/./python C:/Users/BASELINE/.qgis2/python C:/Users/BASELINE/.qgis2/python/plugins C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins C:\PROGRA~1\QGISCH~1\bin\python27.zip C:\PROGRA~1\QGISCH~1\apps\Python27\DLLs C:\PROGRA~1\QGISCH~1\apps\Python27\lib C:\PROGRA~1\QGISCH~1\apps\Python27\lib\plat-win C:\PROGRA~1\QGISCH~1\apps\Python27\lib\lib-tk C:\PROGRA~1\QGISCH~1\bin C:\PROGRA~1\QGISCH~1\apps\Python27 C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\PIL C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32 C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32\lib C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Pythonwin C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\six-1.3.0-py2.7.egg C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg C:\Users\BASELINE.qgis2\python\plugins\MetaSearch\ext-libs C:\PROGRA~1\QGISCH~1\apps\qgis\python\plugins\fTools\tools
Absolutely - I'm on travel with spotty email so sorry for delay too!
I'm using Windows 7 -64-bit with administrator privileges. I have tried installing under "regular" QGIS loading - and opening QGIS under "run as administrator" privilege. There is another plugin called MOLUSCE which causes the same error after installation. I found it researching the python error. Never programmed in python so I'm unsure how to troubleshoot....
Thanks! Tom
On 10/13/2014 12:01 PM, Chris Crook wrote:
Hi
Just seen this - I'm having problems losing messages from github so not getting notifications of new issues. Sorry for the lack of responsiveness.
Not a useful error message. This is certainly running for me on 2.4 (and 2.2, 2.5 current build). My best guess is that it is to do with file encoding of the plugin (ASCII vs UTF8). Can you provide information about the platform, etc that you are trying to load the plugin on please.
— Reply to this email directly or view it on GitHub https://github.com/ccrook/QGIS-Contour-Plugin/issues/10#issuecomment-58938685.
Thomas J. Boyd, PhD, PMP US Naval Research Laboratory Marine Biogeochemistry, Code 6114 4555 Overlook Ave., SW Washington, DC 20375 202-404-6424
Could you just confirm how you installed QGIS
1) Standalone installer or OSGEO4W
2) 32 bit or 64 bit installation
I'll try and set up a test installation to see if I can replicate the issue
Thanks Chris
I was going to say the 64 bit standalone installer, but I see the application file name on my computer is QGIS-OSGeo4W-2.4.0-1-Setup-x86_64, which seems to suggest it’s the OSGEO4W installation.
Patrick Sutton
Environmental Engineer
BASELINE Environmental Consulting 5900 Hollis Street, Suite D Emeryville, CA 94608 Main: (510) 420-8686
Direct: (510) 922-0080
This information is intended solely for use by the individual or entity named as the recipient hereof and may be an attorney work product that is privileged and confidential or it may contain confidential company information. If you are not the intended recipient, be aware that any disclosure, copying, distribution, or use of the contents of this transmission is prohibited. If you have received this communication in error, please notify us immediately by return e-mail and destroy this communication and all copies thereof, including attachments.
From: Chris Crook [mailto:notifications@github.com] Sent: Tuesday, October 14, 2014 3:15 PM To: ccrook/QGIS-Contour-Plugin Cc: suttonp1 Subject: Re: [QGIS-Contour-Plugin] Broken Plugin when loading to V2.2.0 (#10)
Could you just confirm how you installed QGIS
1) Standalone installer or OSGEO4W
2) 32 bit or 64 bit installation
I'll try and set up a test installation to see if I can replicate the issue
Thanks Chris
— Reply to this email directly or view it on GitHub https://github.com/ccrook/QGIS-Contour-Plugin/issues/10#issuecomment-59100103 .
Thanks. That is the standalone installer. Probably you would get the same result with the OSGEO installer (the difference is that it installs an installer from which you can select which components of the open source geospatial stack you want). This is what I need - I'll see if I can replicate.
Responded earlier to email - now I see the thread (sorry - thought it was addressed to me no cc. Didn't mean to hijack). If this helps, same issue for me. Stand-alone 64-bit installation on Win64:
QGIS version 2.4.0-Chugiak
QGIS code revision 8fdd08a
Compiled against Qt 4.8.5
Running against Qt 4.8.5
Compiled against GDAL/OGR 1.11.0
Running against GDAL/OGR 1.11.0
Compiled against GEOS 3.4.2-CAPI-1.8.2
Running against GEOS 3.4.2-CAPI-1.8.2 r3921
PostgreSQL Client Version 9.2.4
SpatiaLite Version 4.1.1
QWT Version 5.2.3
PROJ.4 Version 480
QScintilla2 Version 2.7.2
F:\Program Files\QGIS Chugiak\apps\Python27\Lib F:\Program Files\QGIS Chugiak\bin\python27.zip F:\Program Files\QGIS Chugiak\apps\Python27\DLLs F:\Program Files\QGIS Chugiak\apps\Python27\lib\plat-win F:\Program Files\QGIS Chugiak\apps\Python27\lib\lib-tk F:\Program Files\QGIS Chugiak\bin F:\Program Files\QGIS Chugiak\apps\Python27 F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\PIL F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\win32 F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\win32\lib F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\Pythonwin F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\six-1.3.0-py2.7.egg F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\wx-2.8-msw-unicode F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg F:\Program Files\QGIS Chugiak\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
@tboydva All information is good to have! And I really appreciate you adding to this issue rather than starting a new one.
@tboydva @suttonp1 Just FYI if you need to get around this problem the 32 bit version of QGIS seems more reliable, particularly around the python integration. So unless you have a reason for using the 64 bit version (not sure what that could be) then replacing with the 32 bit version may be a good option.
Thanks! I’ll try loading the 32 bit version next time.
Patrick Sutton
Environmental Engineer
BASELINE Environmental Consulting 5900 Hollis Street, Suite D Emeryville, CA 94608 Main: (510) 420-8686
Direct: (510) 922-0080
This information is intended solely for use by the individual or entity named as the recipient hereof and may be an attorney work product that is privileged and confidential or it may contain confidential company information. If you are not the intended recipient, be aware that any disclosure, copying, distribution, or use of the contents of this transmission is prohibited. If you have received this communication in error, please notify us immediately by return e-mail and destroy this communication and all copies thereof, including attachments.
From: Chris Crook [mailto:notifications@github.com] Sent: Tuesday, October 14, 2014 3:57 PM To: ccrook/QGIS-Contour-Plugin Cc: suttonp1 Subject: Re: [QGIS-Contour-Plugin] Broken Plugin when loading to V2.2.0 (#10)
@tboydva https://github.com/tboydva @suttonp1 https://github.com/suttonp1 Just FYI if you need to get around this problem the 32 bit version of QGIS seems more reliable, particularly around the python integration. So unless you have a reason for using the 64 bit version (not sure what that could be) then replacing with the 32 bit version may be a good option.
— Reply to this email directly or view it on GitHub https://github.com/ccrook/QGIS-Contour-Plugin/issues/10#issuecomment-59106274 .
Closing stale issue
Hi,
When I try to load the Contour Plugin I get the following message:
The Plugin is broken. Python said: ascii
I don't have many other plugins installed, and I used to use this plugin on older versions of QGIS. Any ideas where the interference is coming from?