[Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

Stott James fmrojst at fylkesmannen.no
Wed Apr 24 01:09:45 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130424/4d0c1fb7/attachment.html>


More information about the Qgis-developer mailing list