[Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

Stott James fmrojst at fylkesmannen.no
Wed Apr 24 01:25:20 PDT 2013


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


More information about the Qgis-developer mailing list