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 <fmro...@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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer