Le dimanche 10 septembre 2006 à 16:26 +0200, Baurzhan Ismagulov a écrit : > Package: python-support > Version: 0.4.3 > Severity: normal > > > Hello Josselin, > > installing the attached package causes an exception in > update-python-modules: > > Selecting previously deselected package python-verdjnlib-snapshot. > (Reading database ... 230649 files and directories currently installed.) > Unpacking python-verdjnlib-snapshot (from > .../python-verdjnlib-snapshot_0.0.0+svn14-1_all.deb) ... > Setting up python-verdjnlib-snapshot (0.0.0+svn14-1) ... > Traceback (most recent call last): > File "/usr/sbin/update-python-modules", line 284, in ? > process(basedir,install_modules(py_installed)) > File "/usr/sbin/update-python-modules", line 150, in process > func(basedir, dir, file) > File "/usr/sbin/update-python-modules", line 102, in install_modules_func > for py in isect(dir_versions(basedir),versions): > File "/usr/sbin/update-python-modules", line 80, in dir_versions > raise "Internal error. This is a bug in python-support." > Internal error. This is a bug in python-support. > dpkg: error processing python-verdjnlib-snapshot (--install): > subprocess post-installation script returned error exit status 1 > Errors were encountered while processing: > python-verdjnlib-snapshot
Hi, this is because you are using the "-i" option (meant for public modules) on a .dirs file (meant for private modules). As you are building a public module, you don't need the .dirs file. Just call "update-python-modules python-verdjnlib-snapshot". You can also use dh_pysupport which does all this stuff for you. The "internal error" message is wrong, I never thought of this exact case. I'll fix update-python-modules so that it simply refuses to run in this case. Cheers, -- .''`. Josselin Mouette /\./\ : :' : [EMAIL PROTECTED] `. `' [EMAIL PROTECTED] `- Debian GNU/Linux -- The power of freedom
signature.asc
Description: Ceci est une partie de message numériquement signée

