Le 10.10.2006, à 01:05:50, Dan Jacobson a écrit:
> >> $ ls -l /usr/bin/plucker-build
> >> lrwxrwxrwx 1 root root 50 2006-10-06 06:24 /usr/bin/plucker-build -> 
> >> ../lib/python2.4/site-packages/PyPlucker/Spider.py
> >> $ ls -lL /usr/bin/plucker-build
> >> ls: /usr/bin/plucker-build: No such file or directory
> >> $ dlocate Spider.py
> >> plucker: /usr/share/pycentral/plucker/site-packages/PyPlucker/Spider.py
> 
> L> I am not a Python expert.
> 
> L> Can you try to reinstall plucker by doing:
> L> $ sudo apt-get install --reinstall plucker
> 
> The problem is not a python problem. The problem is you have made the
> symlink to the wrong file. You should symlink to
> /usr/share/pycentral/plucker/site-packages/PyPlucker/Spider.py
> I.e., pycentral, not python2.4. However I am no python pro too.

OK I see.

> By the way, we see FutureWarnings too:
> 
> # apt-get install --reinstall plucker
> Reading package lists... Done
> Building dependency tree... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 92 not upgraded.
> Need to get 0B/467kB of archives.
> After unpacking 0B of additional disk space will be used.
> Do you want to continue [Y/n]? 
> WARNING: The following packages cannot be authenticated!
>   plucker
> Install these packages without verification [y/N]? y
> (Reading database ... 252487 files and directories currently installed.)
> Preparing to replace plucker 1.8-19 (using .../plucker_1.8-19_i386.deb) ...
> Unpacking replacement plucker ...
> Setting up plucker (1.8-19) ...
> /usr/lib/python2.3/site-packages/PyPlucker/helper/gettext.py:131: 
> FutureWarning: hex/oct constants > sys.maxint will return positive values in 
> Python 2.4 and up
>   if _lsbStrToInt(buffer[:4]) != 0x950412de:
> /usr/lib/python2.3/site-packages/PyPlucker/helper/gettext.py:176: 
> FutureWarning: hex/oct constants > sys.maxint will return positive values in 
> Python 2.4 and up
>   f.write(_intToLsbStr(0x950412de))    # magic number
> /usr/lib/python2.3/site-packages/PyPlucker/helper/prc.py:244: FutureWarning: 
> hex/oct constants > sys.maxint will return positive values in Python 2.4 and 
> up
>   attr = (auid & 0xff000000) >> 24
> /usr/lib/python2.3/site-packages/PyPlucker/helper/prc.py:876: FutureWarning: 
> hex/oct constants > sys.maxint will return positive values in Python 2.4 and 
> up
>   attr = (auid & 0xff000000) >> 24

These warnings disapear with Python 2.4

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --

Reply via email to