[MacPorts] #19440: Improper use of tabs in Python script gtk-builder-convert
#19440: Improper use of tabs in Python script gtk-builder-convert ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: gtk2 gnome-keyring ----------------------------+----------------------------------------------- {{{ $ port list gtk2 gnome-keyring gtk2 @2.16.1 x11/gtk2 gnome-keyring @2.26.1 gnome/gnome-keyring }}} The python script /opt/local/bin/gtk-builder-convert from the gtk2 port contains a line indented by tabs instead of spaces. That is a python no-no! This causes the port gnome-keyring to fail to build with the following error: {{{ gtk-builder-convert --skip-windows gcr-certificate-basics-widget.glade gcr-certificate-basics-widget.ui File "/opt/local/bin/gtk-builder-convert", line 261 print "WARNING: duplicate id \"" + node.getAttribute('id') + "\"" ^ TabError: inconsistent use of tabs and spaces in indentation }}} That line of the python script does not appear in the upstream svn. Apparently it was added by MacPorts. Please change the two tabs at the beginning of that line to a total of 16 spaces. Or remove the line altogether. -- Ticket URL: <http://trac.macports.org/ticket/19440> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19440: Improper use of tabs in Python script gtk-builder-convert ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: gtk2 gnome-keyring ----------------------------+----------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => nox@… -- Ticket URL: <http://trac.macports.org/ticket/19440#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19440: Improper use of tabs in Python script gtk-builder-convert ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: gtk2 gnome-keyring ----------------------------+----------------------------------------------- Comment(by nox@…): Please paste the output of `port installed gtk2`. -- Ticket URL: <http://trac.macports.org/ticket/19440#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19440: Improper use of tabs in Python script gtk-builder-convert ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: nox@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: gtk2 gnome-keyring ----------------------------+----------------------------------------------- Changes (by nox@…): * status: new => assigned Comment: This line is not added by MacPorts. It is in the gtk 2.16.1 release. -- Ticket URL: <http://trac.macports.org/ticket/19440#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19440: Improper use of tabs in Python script gtk-builder-convert ---------------------------------+------------------------------------------ Reporter: gale@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: gtk2 gnome-keyring | ---------------------------------+------------------------------------------ Changes (by nox@…): * status: assigned => closed * resolution: => fixed Comment: r50143. -- Ticket URL: <http://trac.macports.org/ticket/19440#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts