msgsplit crashed with IOError in <module>()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkg-kde-tools (Ubuntu) |
Fix Released
|
Low
|
Harald Sitter |
Bug Description
Binary package hint: pkg-kde-tools
This happened while doing a local build of the akonadi source package, during message extraction via the kubuntu-l10n cdbs scripts:
touch debian/
fakeroot debian/rules binary
test -x debian/rules
dh_testroot
dh_clean -k
dh_installdirs -A
mkdir -p po
extract-messages.sh
extract-xml.sh
for file in po/*pot; do \
sed "s/charset=
done
sed: can't read po/*pot: No such file or directory
make: [common-
# generate .po files for .desktop etc files
if [ -z ${KUBUNTU_
fi; \
echo KUBUNTU_
if [ -f /usr/lib/
sh /usr/lib/
sed /\.pc/d LIST -i; \
cat LIST; \
perl /usr/lib/
msguniq --to-code=UTF-8 --no-wrap -o desktop.
python /usr/lib/
mv desktop.
rm -f desktop.
# add translation domain to files \
for file in `cat LIST`; do \
echo X-Ubuntu-
done; \
rm -f LIST; \
fi
KUBUNTU_
find: `./apps/konqueror': No such file or directory
find: `./kdesktop': No such file or directory
find: `./runtime/
find: `./workspace/
find: `./workspace/kwin': No such file or directory
find: `./runtime/
cat: ./kolf/
find: `./bovo/themes': No such file or directory
find: `./katomic/levels': No such file or directory
find: `./amor/data': No such file or directory
find: `./kdeprint': No such file or directory
find: `./kopete': No such file or directory
find: `./digikam': No such file or directory
Traceback (most recent call last):
File "/usr/lib/
orig_file = open(file, open_type)
IOError: [Errno 2] No such file or directory: 'desktop.akonadi'
mv: cannot stat `desktop.akonadi': No such file or directory
mkdir -p "obj-x86_
DEB_MAKE_
/usr/bin/make -C obj-x86_
ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: pkg-kde-tools 0.6.4ubuntu5
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Mon May 17 23:50:45 2010
ExecutablePath: /usr/lib/
InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100416)
InterpreterPath: /usr/bin/python2.6
PackageArchitec
ProcCmdline: python /usr/lib/
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
PythonArgs: ['/usr/
SourcePackage: pkg-kde-tools
Title: msgsplit crashed with IOError in <module>()
Traceback:
Traceback (most recent call last):
File "/usr/lib/
orig_file = open(file, open_type)
IOError: [Errno 2] No such file or directory: 'desktop.akonadi'
UserGroups:
tags: | removed: need-duplicate-check |
me@osiris: ~/tmp/ak/ akonadi- 1.3.1$ find ./ -name "*.desktop" ~/tmp/ak/ akonadi- 1.3.1$
me@osiris:
Also please note that cat LIST in the pasted output does return nothing, since obviously there are no desktop files in the source. So I suppose just checking the LIST file for emptyness should be enough to prevent this issue from appearing.