Bug#591049: adonthell: does not start
Hi, On Sun, Aug 01, 2010 at 01:09:27PM +0200, Jakub Wilk wrote: > * Jordan Metzmeier , 2010-07-31, 22:54: > >I grabbed this package and did some testing. > > > >If you rebuild the current adonthell-data package, things work as > >expected. > > > >Solution too easy? > > This fixes symptoms, not the root cause. > > First of all, the package must not ship *.pyc in the binary package. > It should bytecompile Python modules at runtime (using a helper like > python-support). > > However, there's another problem here: version of Python that > adonthell was linked against and version of Python for which > adonthell-data files are bytecompiled for must match. This is > currently not enforced. Since I needed to fix adonthell-data for the license bug in the Avatar font file, I had already prepared an upload last night, which provides the ad hoc fix of a recompile. Please file a separate bug for cleaning up the Python policy handling. Cheers, Moritz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591049: adonthell: does not start
* Jordan Metzmeier , 2010-07-31, 22:54: I grabbed this package and did some testing. If you rebuild the current adonthell-data package, things work as expected. Solution too easy? This fixes symptoms, not the root cause. First of all, the package must not ship *.pyc in the binary package. It should bytecompile Python modules at runtime (using a helper like python-support). However, there's another problem here: version of Python that adonthell was linked against and version of Python for which adonthell-data files are bytecompiled for must match. This is currently not enforced. -- Jakub Wilk signature.asc Description: Digital signature
Bug#591049: adonthell: does not start
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I grabbed this package and did some testing. If you rebuild the current adonthell-data package, things work as expected. Solution too easy? On a side note, I tested this at the hacklab and debconf... with my speakers maxed. It did not respond to a SIGINT. I got some looks. - --- Jordan Metzmeier -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJMVOHLAAoJEKj/C3qNthmT2FUP/08wvBVCdR54sIuIs0CXvcMU xKz0Kx1dx1jkDWXpyFZ0ZV2304E+LtfEuR6dj0fQq/XSyRCZkOLqHJs+8eR3+zUC rrmrpjl9kQrogatong4AT9r2CnF0NXvaAIWbs4v5hix1RLKFijI/9Q8lwpFTZ2Pi 4UkqJQxBG4DTGatkEoe/vJTVJIBdaj7jSqf7Msg8Do6LSL/y03RLoV5SiGGm0c4x YGCsIR++VPPpAgy/1Jh0UFl9ss8ELoDXPUozstIbgAvNPUSJX+Feu97LLXpLtGuN Bem4im51/2qyalp0q893TwXF82+619bLEUUPlv/Uq+yeYu08E6uACduUFOl5Asg1 aLDy//CSQreaI+g5XvdPOqZNUsLwNQNNOTby7uMaPBnDqWUhibbvZSp8BUzbzb7+ /C1Izqc+9lOJMroeHWdfw9FTSsKb/+N9SxhS2RSUINiPnlQH25wzT7WS0LRGYYQH q/nXluMvJ5c9/D39vPn9N5nwN9dZb/yeL7K8bkHO9hT9dJ2k/Rkd3d/5g0aHmGS7 U/4yyzw3IvZqnB+xO6nfL9PwjhJNaNlnlDCxj7+ljtqUbhQZJ4JZu+zzvoSQA05s XcOFIoTwEd53p8Vm4ctewj8+HiZatriwL/tBeKK87OtZuuwrlHUFidSETh4O5d4m dkopM1yqaLrCduQBPBAv =YX17 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591049: adonthell: does not start
tags 591049 grave thanks On Sat, Jul 31, 2010 at 04:01:48PM +0300, Richard Braakman wrote: > Package: adonthell > Version: 0.3.5-5+b1 > > I've just installed adonthell. When I try to run adonthell wastesedge, > I get these errors and it exits: > > ImportError: Bad magic number in > /usr/share/games/adonthell/games/wastesedge/scripts/schedules/__init__.pyc > ImportError: Bad magic number in > /usr/share/games/adonthell/games/wastesedge/scripts/init.pyc > exec_file: init load failed: > > I would guess that python 2.6 is rejecting the python 2.5 pyc files. Confirmed, I'll look into it. Cheers, Moritz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591049: adonthell: does not start
Package: adonthell Version: 0.3.5-5+b1 I've just installed adonthell. When I try to run adonthell wastesedge, I get these errors and it exits: ImportError: Bad magic number in /usr/share/games/adonthell/games/wastesedge/scripts/schedules/__init__.pyc ImportError: Bad magic number in /usr/share/games/adonthell/games/wastesedge/scripts/init.pyc exec_file: init load failed: I would guess that python 2.6 is rejecting the python 2.5 pyc files. Richard Braakman -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29.4 Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages adonthell depends on: ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libfreetype62.3.11-1 FreeType 2 font engine, shared lib ii libgcc1 1:4.4.4-1GCC support library ii libpython2.62.6.5+20100630-2 Shared Python runtime library (ver ii libsdl-mixer1.2 1.2.8-6+b1 mixer library for Simple DirectMed ii libsdl-ttf2.0-0 2.0.9-1 ttf library for Simple DirectMedia ii libsdl1.2debian 1.2.14-6 Simple DirectMedia Layer ii libstdc++6 4.4.4-1 The GNU Standard C++ Library v3 ii libvorbis0a 1.2.3-3 The Vorbis General Audio Compressi ii libvorbisfile3 1.2.3-3 The Vorbis General Audio Compressi ii python-support 1.0.7automated rebuilding support for P ii python2.6 2.6.5+20100630-2 An interactive high-level object-o ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages adonthell recommends: ii adonthell-data 0.3.4.cvs.20080529-1 Data files needed by Adonthell adonthell suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org