[csw-maintainers] Problem compiling Python files

Dagobert Michelsen dam at opencsw.org
Fri Sep 25 08:38:07 CEST 2009


Hi Ben, hi Mike,

when I updated some packages this morning I got these errors:

> ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> dtdparser.py ...
> Sorry: TabError: ('inconsistent use of tabs and spaces in  
> indentation', ('/opt/csw/lib/python/site-packages/_xmlplus/parsers/ 
> xmlproc/dtdparser.py', 500, 33, '\t    elif self.now_at("#FIXED"): 
> \n'))
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> errors.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> namespace.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> utils.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> xcatalog.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> xmlapp.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> xmldtd.py ...
> Sorry: TabError: ('inconsistent use of tabs and spaces in  
> indentation', ('/opt/csw/lib/python/site-packages/_xmlplus/parsers/ 
> xmlproc/xmldtd.py', 318, 37, '\t"True if \'state\' is a final  
> state."\n'))
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> xmlproc.py ...
> Sorry: TabError: ('inconsistent use of tabs and spaces in  
> indentation', ('/opt/csw/lib/python/site-packages/_xmlplus/parsers/ 
> xmlproc/xmlproc.py', 341, 6, '\ttry:\n'))
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> xmlutils.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/parsers/xmlproc/ 
> xmlval.py ...
> Sorry: TabError: ('inconsistent use of tabs and spaces in  
> indentation', ('/opt/csw/lib/python/site-packages/_xmlplus/parsers/ 
> xmlproc/xmlval.py', 174, 38, '\tdecl_root = self.dtd.get_root_elem() 
> \n'))
> Listing /opt/csw/lib/python/site-packages/_xmlplus/sax ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/sax/ 
> __init__.py ...
> ...
> Listing /opt/csw/lib/python/site-packages/_xmlplus/schema ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/schema/ 
> __init__.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/schema/ 
> trex.py ...
> Sorry: TabError: ('inconsistent use of tabs and spaces in  
> indentation', ('/opt/csw/lib/python/site-packages/_xmlplus/schema/ 
> trex.py', 1464, 38, '\tfor remainder in match_1.remainders:\n'))
> Listing /opt/csw/lib/python/site-packages/_xmlplus/unicode ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/unicode/ 
> __init__.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/unicode/ 
> iso8859.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/unicode/ 
> utf8_iso.py ...
> Listing /opt/csw/lib/python/site-packages/_xmlplus/utils ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/utils/ 
> __init__.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/utils/ 
> characters.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/utils/ 
> iso8601.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/utils/ 
> qp_xml.py ...
> Listing /opt/csw/lib/python/site-packages/_xmlplus/xpath ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> BuiltInExtFunctions.py ...
> Sorry: TabError: ('inconsistent use of tabs and spaces in  
> indentation', ('/opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> BuiltInExtFunctions.py', 22, 37, '\tfrom Ft.__init__ import  
> __version__\n'))
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> Context.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> Conversions.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> CoreFunctions.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ExpandedNameWrapper.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> MessageSource.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> NamespaceNode.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ParsedAbbreviatedAbsoluteLocationPath.py ...
> SyntaxError: ('invalid syntax', ('/opt/csw/lib/python/site-packages/ 
> _xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py', 27, 10,  
> "        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or- 
> self')\n"))
>
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ParsedAbbreviatedRelativeLocationPath.py ...
> SyntaxError: ('invalid syntax', ('/opt/csw/lib/python/site-packages/ 
> _xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py', 31, 10,  
> "        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or- 
> self')\n"))
>
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ParsedAbsoluteLocationPath.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ParsedAxisSpecifier.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ParsedExpr.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ParsedNodeTest.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ParsedPredicateList.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ParsedRelativeLocationPath.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> ParsedStep.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/Set.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/Util.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> XPathGrammar.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> XPathParser.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> XPathParserBase.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> __init__.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> pyxpath.py ...
> Sorry: TabError: ('inconsistent use of tabs and spaces in  
> indentation', ('/opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> pyxpath.py', 264, 46, '\tyappsrt.SyntaxError.__init__(self, pos, msg) 
> \n'))
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xpath/ 
> yappsrt.py ...
> Listing /opt/csw/lib/python/site-packages/_xmlplus/xslt ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ApplyTemplatesElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> AttributeElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> AttributeSetElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> AttributeValueTemplate.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> BuiltInExtElements.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> CallTemplateElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ChooseElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> CommentElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> CopyElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> CopyOfElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ElementElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ForEachElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> HtmlWriter.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> IfElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> LiteralElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> LiteralText.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> MessageElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> MessageSource.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> NullWriter.py ...
> Sorry: TabError: ('inconsistent use of tabs and spaces in  
> indentation', ('/opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> NullWriter.py', 36, 8, '\treturn\n'))
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> NumberElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> OtherXslElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> OtherwiseElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> OutputHandler.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ParamElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ParsedLocationPathPattern.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ParsedPattern.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ParsedRelativePathPattern.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ParsedStepPattern.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> PlainTextWriter.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> ProcessingInstructionElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> Processor.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/Roman.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> RtfWriter.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> SortElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> Stylesheet.py ...
> SyntaxError: ('invalid syntax', ('/opt/csw/lib/python/site-packages/ 
> _xmlplus/xslt/Stylesheet.py', 376, 14, '        for as in  
> attribute_sets:\n'))
>
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> StylesheetReader.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> TemplateElement.py ...
> Compiling /opt/csw/lib/python/site-packages/_xmlplus/xslt/ 
> TextElement.py ...
> ...


Do you mind having a look?


Best regards

   -- Dago



More information about the maintainers mailing list