[Kde-bindings] [Bug 79347] New: python build error space tab indentation pydcop.py

ohtfxqrbet at wylie.me.uk ohtfxqrbet at wylie.me.uk
Fri Apr 9 19:18:16 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=79347      
           Summary: python build error space tab indentation pydcop.py
           Product: bindings
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings mail kde org
        ReportedBy: ohtfxqrbet wylie me uk


Version:            (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
OS:          Linux

There is a mix of space and tab indentation in the file
kdebindings-3.2.1/dcoppython/lib/pydcop.py

This causes a python 2.3.3 build to generate the error
Compiling /usr/lib/python2.3/pydcop.py ...
Sorry: TabError: ('inconsistent use of tabs and spaces in indentation',
     ('/usr/lib/python2.3/pydcop.py', 39, 25, '\t\tif item == "__repr__":\n'))

and then much later fail with the message
Compiling /usr/lib/python2.3/zipfile.py ...
make: *** [libinstall] Error 1

changing leading spaces to tabs fixes the problem

build system Rock Linux (http://www.rocklinux.org/) subversion release 2676 -
note that the stage 5 build of python is OK, before kde is built - the error
shows in the stage 9 rebuild



More information about the Kde-bindings mailing list