[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#113058: htmlgen: HTMLgen not available under python2



Package: htmlgen
Version: 2.2.2-4
Severity: important
Tags: patch

HTMLgen is not available under python2.
I've made a really dirt hack to fix it.
According to HTMLgen website it's designed for python 1.5 or above. Therefore a simple solution would be a new package "python2-htmlgen" that copies everything under python2 tree (i.e. /usr/lib/python2.0/site-packages/ )
Thanks in advance for your attention

	Paolo

Here's the simptoms:
====================
paolo@antares:~$ python 
Python 1.5.2 (#0, Apr 10 2001, 20:46:18)  [GCC 2.95.3 20010219 (prerelease)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import HTMLgen
>>> 
paolo@antares:~$ python2
Python 2.0.1 (#0, Jul  3 2001, 00:13:42) 
[GCC 2.95.4 20010604 (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import HTMLgen
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named HTMLgen
>>> 
====================
Here's the commands that puts a dirty patch over the problem (bash commands given with root privileges):

cd /usr/lib/python2.0/site-packages/
ln -s ../../python1.5/site-packages/HTMLgen.pth 
ln -s ../../python1.5/site-packages/HTMLgen 

-- System Information
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux antares 2.4.8-pre3 #6 SMP Fri Aug 10 19:26:24 CEST 2001 ppc
Locale: LANG=C, LC_CTYPE=C

Versions of packages htmlgen depends on:
ii  python-base                   1.5.2-16   An interactive object-oriented scr




Reply to: