[Osgeo4w-trac] [osgeo4w] #299: pyuic4 does not work

OSGeo4W trac_osgeo4w at osgeo.org
Tue Jul 10 13:20:22 PDT 2012


#299: pyuic4 does not work
-------------------+--------------------------------------------------------
Reporter:  mlt     |       Owner:  osgeo4w-dev@…              
    Type:  defect  |      Status:  new                        
Priority:  major   |   Component:  Package                    
 Version:          |    Keywords:  pyuic, python, encoding    
-------------------+--------------------------------------------------------
 I'm using the latest build and here is what I'm getting:


 {{{
 C:\...>pyuic4 somefile.ui
 Fatal Python error: Py_Initialize: unable to load the file system codec
   File "C:\OSGeo4W\\apps\Python27\lib\encodings\__init__.py", line 123
     raise CodecRegistryError,\
                             ^
 SyntaxError: invalid syntax

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

 I feel like it is python 3 raise syntax or something.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/299>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list