[Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

Stott James fmrojst at fylkesmannen.no
Wed Apr 24 03:48:02 PDT 2013


Thanks for the reply.

I have tried 2. QGIS opens but then complains about sip. This doesn't fix the command line problem.

So I am awaiting for 1. to happen :) 

As suggested on the OSGeo4W mailing list (http://osgeo-org.1560.x6.nabble.com/ANN-Python-2-7-4-td5048404.html), renaming the python27.dll in windows\system32 (or syswow64) works, but it means ArcGIS wont.

-----Opprinnelig melding-----
Fra: Ramon Andiñach [mailto:custard at westnet.com.au] 
Sendt: 24. april 2013 12:26
Til: Stott James
Emne: Re: [Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

I think it means that for us there are two options,

1. In a little bit they'll rebuild 1.8 and put it on the installer.

2. Find the python upgrade that just changed and run it back a version. (When you run the update, things that you have installed will say either the new version that it's about to install or Keep if there's nothing to do. If you click on the Keep it will cycle through a few things, one of which should be the last installed version) No guarantees about what will happen though - I'd try 1 first.

-ramon.

On 24/04/2013, at 16:25 , Stott James wrote:

> I install QGIS from the OSGeo4W installer.
> 
> Does that mean I need to wait for a rebuild of QGIS to be put out in the installer?
> 
> James
> 
> -----Opprinnelig melding-----
> Fra: Alexander Bruy [mailto:alexander.bruy at gmail.com]
> Sendt: 24. april 2013 10:13
> Til: Stott James
> Kopi: qgis-developer at lists.osgeo.org
> Emne: Re: [Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work
> 
> Hi,
> 
> seems this caused by recent Python upgrade in OSGeo4W. I think rebuilding QGIS will solve this issue.
> 
> On Wed, 24 Apr 2013 08:09:45 +0000
> Stott James <fmrojst at fylkesmannen.no> wrote:
> 
>> Hi all,
>> 
>> I have noticed that since I updated OSGeo4W yesterday, I cannot launch QGIS 1.8. It stops loading when the splash screen gets to Loading Python.
>> 
>> I also get the following error when trying to run a python script from the OSGeo4W shell:
>> 
>> G:\>zip_data_test.py
>> Traceback (most recent call last):
>>  File "C:\OSGeo4W\\apps\Python27\lib\site.py", line 563, in <module>
>>    main()
>>  File "C:\OSGeo4W\\apps\Python27\lib\site.py", line 545, in main
>>    known_paths = addusersitepackages(known_paths)  File 
>> "C:\OSGeo4W\\apps\Python27\lib\site.py", line 278, in 
>> addusersitepackages
>> 
>>    user_site = getusersitepackages()
>>  File "C:\OSGeo4W\\apps\Python27\lib\site.py", line 253, in 
>> getusersitepackages
>> 
>>    user_base = getuserbase() # this will also set USER_BASE  File 
>> "C:\OSGeo4W\\apps\Python27\lib\site.py", line 243, in getuserbase
>>    USER_BASE = get_config_var('userbase')  File 
>> "C:\OSGeo4W\apps\Python27\lib\sysconfig.py", line 472, in get_config_var
>>    return get_config_vars().get(name)  File 
>> "C:\OSGeo4W\apps\Python27\lib\sysconfig.py", line 405, in 
>> get_config_vars
>> 
>>    import re
>>  File "C:\OSGeo4W\apps\Python27\lib\re.py", line 105, in <module>
>>    import sre_compile
>>  File "C:\OSGeo4W\apps\Python27\lib\sre_compile.py", line 14, in <module>
>>    import sre_parse
>>  File "C:\OSGeo4W\apps\Python27\lib\sre_parse.py", line 17, in <module>
>>    from sre_constants import *
>>  File "C:\OSGeo4W\apps\Python27\lib\sre_constants.py", line 18, in <module>
>>    from _sre import MAXREPEAT
>> ImportError: cannot import name MAXREPEAT
>> 
>> Does anyone here know how to fix this? Is this a problem for the OSGeo4W people instead?
>> 
>> Many thanks,
>> 
>> James
> 
> 
> --
> Alexander Bruy
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list