Mantis - py_gtk
Viewing Issue Advanced Details
3834 packaging minor always 2009-08-07 17:31 2012-03-16 08:26
choman  
cgrzemba  
normal  
closed  
won't fix  
none    
none  
0003834: pygobject install issue
During the install of pygobject, the following file has issues during the cswpycompile phase: /opt/csw/lib/python/site-packages/pygtk.py

I looked into the file and there are 2 or 3 lines with miss matching tabs and spaces. I replaced all the tabs with spaces and lined up the indentation on those line and the error messages go away.

This is on both sparc and x86
? file icon pygobject.out [^] (10,371 bytes) 2009-08-07 17:31
Issue History
2009-08-07 17:31 choman New Issue
2009-08-07 17:31 choman File Added: pygobject.out
2009-08-12 20:59 choman Note Added: 0006566
2012-03-12 16:39 dam Note Added: 0009719
2012-03-15 16:07 cgrzemba Note Added: 0009733
2012-03-15 16:14 dam Note Added: 0009734
2012-03-16 08:04 cgrzemba Note Added: 0009736
2012-03-16 08:07 cgrzemba Assigned To => cgrzemba
2012-03-16 08:07 cgrzemba Status new => assigned
2012-03-16 08:07 cgrzemba Resolution open => won't fix
2012-03-16 08:26 cgrzemba Note Added: 0009739
2012-03-16 08:26 cgrzemba Status assigned => closed

Notes
(0006566)
choman   
2009-08-12 20:59   
Please close this bug, it was filed under the wrong package. A new bug
has been created under the correct package
(0009719)
dam   
2012-03-12 16:39   
The error still persists in CSWpy-gtk-2.17.0,REV=2012.03.09:

Compiling py files to normal bytecode ...
/opt/csw/lib/pygtk/2.0/demos/print_editor.py: inconsistent use of tabs and spaces in indentation
Compiling py files to optimized bytecode ...
/opt/csw/lib/pygtk/2.0/demos/print_editor.py: inconsistent use of tabs and spaces in indentation
(0009733)
cgrzemba   
2012-03-15 16:07   
These warnings were reported if python called with option -t. This is an option for reporting the mixing use of tabs and spaces in python which can confuse the python compiler.
Because this is a warning and the problem exist only in a demo source I propose to do nothing and
please close this bug.
(0009734)
dam   
2012-03-15 16:14   
Hi Carsten,

would you mind reporting this upstream just for completeness? Then you can assign the bug to yourself, probably reference the upstream bugid and URL and close it.

Best regards -- Dago
(0009736)
cgrzemba   
2012-03-16 08:04   
https://bugzilla.gnome.org [^] Bug 672209 - mixed tabs and spaces in print_editor.py
created
(0009739)
cgrzemba   
2012-03-16 08:26   
gnome bug opened