desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #160035
[Bug 1393247] [NEW] Glade *.ui files not recognized due to comment line
You have been subscribed to a public bug:
Glade 3.18 likes to insert a comment as the second line that upsets
auto.py. Onboard's package fails to build due to this, unless we
remember to remove the offending line after every change. Could you have
a look?
$ cd onboard
$ ./setup.py build
...
WARNING: the following files are not recognized by DistUtilsExtra.auto:
... many ...
settings.ui
This fixes it for me:
*** /tmp/auto.py 2014-11-16 21:03:04.244604628 +0100
--- /usr/lib/python3/dist-packages/DistUtilsExtra/auto.py 2014-11-16 21:03:26.812605563 +0100
***************
*** 305,310 ****
--- 305,311 ----
fd = open(f, 'rb')
firstlines = fd.readline()
firstlines += b'\n' + fd.readline()
+ firstlines += b'\n' + fd.readline()
fd.close()
if b'<interface' in firstlines or b'<ui version=' in firstlines:
src_mark(src, f)
Ubuntu Vivid
python3-distutils-extra 2.38-1build1
glade 3.18.3-1
** Affects: python-distutils-extra (Ubuntu)
Importance: Undecided
Status: Fix Committed
--
Glade *.ui files not recognized due to comment line
https://bugs.launchpad.net/bugs/1393247
You received this bug notification because you are a member of Desktop Packages, which is subscribed to python-distutils-extra in Ubuntu.