Re: Non funziona reportbug
Il 10.07.2014 08:10 leandro Noferini ha scritto:
Federico Bruni <fede@inventati.org> writes:
io sono su sid, ho la stessa versione e funziona:
$ apt-cache policy reportbug
reportbug:
Installato: 6.5.0
Candidato: 6.5.0
Tabella versione:
*** 6.5.0 0
900 http://http.debian.net/debian/ unstable/main amd64 Packages
Qui sono leggermente diverso:
leandro@sgorbio:/home/leandro$ apt-cache policy reportbug
reportbug:
Installato: 6.5.0
Candidato: 6.5.0
Tabella versione:
*** 6.5.0 0
500 http://ftp.it.debian.org/debian/ sid/main amd64 Packages
100 /var/lib/dpkg/status
Mmmh, la versione è la stessa. unstable e sid sono la stessa cosa.
python-reportbug, il pacchetto che avrei dovuto controllare, è la stessa
versione di reportbug.
Se apri una console python e scrivi 'import reportbug' cosa ottieni?
Esattamente lo stesso che avviare reportbug:
leandro@sgorbio:/home/leandro$ python
Python 2.7.8 (default, Jul 4 2014, 13:08:34)
[GCC 4.9.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import reportbug
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named reportbug
Boh.. python-reportbug installa questi file:
ls /usr/share/pyshared/reportbug
bugreport.py debbugs.py __init__.py ui
checkbuildd.py exceptions.py submit.py urlutils.py
checkversions.py hiermatch.py tempfiles.py utils.py
Però vedo anche questi, probabilmente figli di
un'installazione/configurazione precedente?
$ ls /usr/lib/pymodules/python2.7/reportbug
bugreport.py checkversions.pyc hiermatch.py submit.pyc
urlutils.pyc
bugreport.pyc debbugs.py hiermatch.pyc tempfiles.py
utils.py
checkbuildd.py debbugs.pyc __init__.py tempfiles.pyc
utils.pyc
checkbuildd.pyc exceptions.py __init__.pyc ui
checkversions.py exceptions.pyc submit.py urlutils.py
apt-file (aggiornato) non trova il pacchetto:
$ apt-file search /usr/lib/pymodules/python2.7/reportbug/bugreport.py
$
Ce l'hai anche te?
O magari hai installato qualche pacchetto in /usr/local con
pip/easy_install che ti crea dei conflitti?
Mi sembra impossibile.
No infatti. In /usr/local spesso ci sono problemi di nomi di moduli che
entrano in conflitto. Ma il tuo problema è diverso.
Vado a caso...
Sapessi chi ti legge ;-)
:-)
Reply to: