Pagina 1 di 1

[RISOLTO] Aiuto con il bug #126615

Inviato: domenica 9 settembre 2007, 11:25
da DktrKranz
Il bug #126615 contiene una richiesta per uno Stable Release Update da me preparato. Per poter essere approvato e diventare un aggiornamento ufficiale per Feisty, è necessario che due persone comunichino ufficialmente che il fix funziona su tale versione.

Vi chiederei quindi di aiutarmi nel completamento del processo provando in prima persona il pacchetto commit-tool ed eseguendo il comando hgct. Se siete affetti dal bug in questione, l'output generato dovrebbe essere questo:

Codice: Seleziona tutto

$ /usr/bin/hgct
Traceback (most recent call last):
  File "/usr/bin/hgct", line 43, in <module>
    import main
  File "/usr/bin/hgct", line 27, in MyImport
    ret = imp.load_module(name, f, '', modules[name].descr)
  File "main.py", line 21, in <module>
  File "/usr/bin/hgct", line 31, in MyImport
    return origImport(name, globals, locals, fromlist)
  File "/usr/lib/python2.5/optparse.py", line 412, in <module>
    _builtin_cvt = { "int" : (_parse_int, _("integer")),
  File "/usr/lib/python2.5/gettext.py", line 581, in gettext
    return dgettext(_current_domain, message)
  File "/usr/lib/python2.5/gettext.py", line 545, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib/python2.5/gettext.py", line 480, in translation
    mofiles = find(domain, localedir, languages, all=1)
  File "/usr/lib/python2.5/gettext.py", line 437, in find
    for nelang in _expand_lang(lang):
  File "/usr/lib/python2.5/gettext.py", line 132, in _expand_lang
    locale = normalize(locale)
  File "/usr/lib/python2.5/locale.py", line 327, in normalize
    norm_encoding = encodings.normalize_encoding(encoding)
AttributeError: 'module' object has no attribute 'normalize_encoding'
Ora installate il pacchetto contenente il fix e rilanciate il comando. Se tutto va bene, l'output dovrebbe essere questo:

Codice: Seleziona tutto

hg status: abort: There is no Mercurial repository here (.hg not found)!
Make sure that the current working directory contains a '.hg' directory.

Re: Aiuto con il bug #126615

Inviato: lunedì 10 settembre 2007, 18:12
da fedefede0101
ciao....
niente bug qui...
fede@BUNTU:~$ sudo apt-get install commit-tool
Password:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following extra packages will be installed:
  mercurial python-qt3 python-sip4
Suggested packages:
  meld python-qt3-gl python-qt3-doc libqt3-mt-mysql libqt3-mt-odbc
  libqt3-mt-psql python-qt3-dbg python-sip4-dbg
Recommended packages:
  kdiff3 tkdiff rcs tk8.4 wish
The following NEW packages will be installed:
  commit-tool mercurial python-qt3 python-sip4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 5471kB of archives.
After unpacking 24.6MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://it.archive.ubuntu.com feisty/universe mercurial 0.9.3-2 [378kB]
Get:2 http://it.archive.ubuntu.com feisty/main python-sip4 4.5-0ubuntu2 [132kB]
Get:3 http://it.archive.ubuntu.com feisty/main python-qt3 3.17-0ubuntu3 [4921kB]
Get:4 http://it.archive.ubuntu.com feisty-proposed/universe commit-tool 0.4-3ubuntu0.1 [39.7kB]
Fetched 5471kB in 20s (264kB/s)                                               
Selecting previously deselected package mercurial.
(Reading database ... 89137 files and directories currently installed.)
Unpacking mercurial (from .../mercurial_0.9.3-2_i386.deb) ...
Selecting previously deselected package python-sip4.
Unpacking python-sip4 (from .../python-sip4_4.5-0ubuntu2_i386.deb) ...
Selecting previously deselected package python-qt3.
Unpacking python-qt3 (from .../python-qt3_3.17-0ubuntu3_i386.deb) ...
Selecting previously deselected package commit-tool.
Unpacking commit-tool (from .../commit-tool_0.4-3ubuntu0.1_all.deb) ...
Setting up mercurial (0.9.3-2) ...

Setting up python-sip4 (4.5-0ubuntu2) ...

Setting up python-qt3 (3.17-0ubuntu3) ...

Setting up commit-tool (0.4-3ubuntu0.1) ...

fede@BUNTU:~$ hgct
hg status: abort: There is no Mercurial repository here (.hg not found)!
Make sure that the current working directory contains a '.hg' directory.
fede@BUNTU:~$
viene da proposed...è lo stesso pacchetto che hai linkato...??

:(

Re: Aiuto con il bug #126615

Inviato: lunedì 10 settembre 2007, 18:17
da fedefede0101
da universe invece il bug c'è...
fede@BUNTU:~$ sudo apt-get install commit-tool
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following extra packages will be installed:
  mercurial python-qt3 python-sip4
Suggested packages:
  meld python-qt3-gl python-qt3-doc libqt3-mt-mysql libqt3-mt-odbc
  libqt3-mt-psql python-qt3-dbg python-sip4-dbg
Recommended packages:
  kdiff3 tkdiff rcs tk8.4 wish
The following NEW packages will be installed:
  commit-tool mercurial python-qt3 python-sip4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 5471kB of archives.
After unpacking 24.6MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://it.archive.ubuntu.com feisty/universe mercurial 0.9.3-2 [378kB]
Get:2 http://it.archive.ubuntu.com feisty/main python-sip4 4.5-0ubuntu2 [132kB]
Get:3 http://it.archive.ubuntu.com feisty/main python-qt3 3.17-0ubuntu3 [4921kB]
Get:4 http://it.archive.ubuntu.com feisty/universe commit-tool 0.4-3build1 [39.5kB]
Fetched 5471kB in 21s (256kB/s)                                               
Selecting previously deselected package mercurial.
(Reading database ... 89137 files and directories currently installed.)
Unpacking mercurial (from .../mercurial_0.9.3-2_i386.deb) ...
Selecting previously deselected package python-sip4.
Unpacking python-sip4 (from .../python-sip4_4.5-0ubuntu2_i386.deb) ...
Selecting previously deselected package python-qt3.
Unpacking python-qt3 (from .../python-qt3_3.17-0ubuntu3_i386.deb) ...
Selecting previously deselected package commit-tool.
Unpacking commit-tool (from .../commit-tool_0.4-3build1_all.deb) ...
Setting up mercurial (0.9.3-2) ...

Setting up python-sip4 (4.5-0ubuntu2) ...

Setting up python-qt3 (3.17-0ubuntu3) ...

Setting up commit-tool (0.4-3build1) ...

fede@BUNTU:~$ hgct
Traceback (most recent call last):
  File "/usr/bin/hgct", line 43, in
    import main
  File "/usr/bin/hgct", line 27, in MyImport
    ret = imp.load_module(name, f, '', modules[name].descr)
  File "main.py", line 21, in
  File "/usr/bin/hgct", line 31, in MyImport
    return origImport(name, globals, locals, fromlist)
  File "/usr/lib/python2.5/optparse.py", line 412, in
    _builtin_cvt = { "int" : (_parse_int, _("integer")),
  File "/usr/lib/python2.5/gettext.py", line 581, in gettext
    return dgettext(_current_domain, message)
  File "/usr/lib/python2.5/gettext.py", line 545, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib/python2.5/gettext.py", line 480, in translation
    mofiles = find(domain, localedir, languages, all=1)
  File "/usr/lib/python2.5/gettext.py", line 437, in find
    for nelang in _expand_lang(lang):
  File "/usr/lib/python2.5/gettext.py", line 132, in _expand_lang
    locale = normalize(locale)
  File "/usr/lib/python2.5/locale.py", line 327, in normalize
    norm_encoding = encodings.normalize_encoding(encoding)
AttributeError: 'module' object has no attribute 'normalize_encoding'
:(

Re: Aiuto con il bug #126615

Inviato: lunedì 10 settembre 2007, 18:32
da fedefede0101
niente bug anche con il pacchetto che hai linkato...

fede@BUNTU:~/Desktop$ sudo dpkg -i commit-tool_0.4-3ubuntu0.1_all.deb
eccc...eccc....

fede@BUNTU:~/Desktop$ hgct
hg status: abort: There is no Mercurial repository here (.hg not found)!
Make sure that the current working directory contains a '.hg' directory.

:(

Re: Aiuto con il bug #126615

Inviato: lunedì 10 settembre 2007, 20:26
da DktrKranz
La versione in -proposed è il fix che ho preparato io, quindi hai già verificato che funziona ;D
L'ultimo sforzo prima di rimuovere il pacchetto, dovresti inserire un commento nel bug su Launchpad dicendo che il fix funziona.

Re: Aiuto con il bug #126615

Inviato: martedì 11 settembre 2007, 0:38
da fedefede0101
nessun problema...  (yes)

una cosa come:
fixed by feisty-proposed package!!

$ hgct
hg status: abort: There is no Mercurial repository here (.hg not found)!
Make sure that the current working directory contains a '.hg' directory.
può bastare o c'è bisogno di altro..??

:(

Re: Aiuto con il bug #126615

Inviato: martedì 11 settembre 2007, 0:48
da DktrKranz
E' più che sufficiente, ora manca il secondo tester ;D

Re: Aiuto con il bug #126615

Inviato: martedì 11 settembre 2007, 0:58
da fedefede0101
fatto!!  (yes)

:(

Re: Aiuto con il bug #126615

Inviato: martedì 11 settembre 2007, 19:19
da DktrKranz
Grazie (good)
Ringrazio anche Janvitus per il secondo commento.
Venerdì il pacchetto avrà raggiunto i sette giorni di permanenza minimi in -proposed e potrò richiedere l'inserimento negli aggiornamenti ufficiali.

Re: Aiuto con il bug #126615

Inviato: venerdì 14 settembre 2007, 13:09
da DktrKranz
Il pacchetto è ora presente in feisty-updates. Grazie ancora.