View previous topic :: View next topic |
Author |
Message |
albazeus Tux's lil' helper
Joined: 03 Sep 2003 Posts: 81
|
Posted: Mon Dec 08, 2003 3:51 pm Post subject: [Risolto]esync ha smesso di funzionare |
|
|
Purtroppo e' da un po' che esync non funzia piu':
- se lo lancio ottengo:
Code: | # ./esync
* Getting old portage tree
Traceback (most recent call last):
File "./esync", line 21, in ?
tree_old = gettree("old")
File "./esync", line 13, in gettree
os.symlink("/var/cache/edb/esearchdb.pyc", tree + "tree.pyc")
OSError: [Errno 17] File exists
|
se rimuovo oldtree.pyc ottengo:
Code: | # ./esync
* Getting old portage tree
Traceback (most recent call last):
File "./esync", line 21, in ?
tree_old = gettree("old")
File "./esync", line 15, in gettree
from oldtree import db
ImportError: Bad magic number in ./oldtree.pyc
|
magic number?
Last edited by albazeus on Tue Dec 09, 2003 3:40 pm; edited 1 time in total |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Mon Dec 08, 2003 7:45 pm Post subject: |
|
|
Problemi sul filesystem. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
albazeus Tux's lil' helper
Joined: 03 Sep 2003 Posts: 81
|
Posted: Mon Dec 08, 2003 8:31 pm Post subject: |
|
|
Grazie per la perla di saggezza, ma cosa vorresti dire? Che il fs mi sta lasciando?
Adesso provo con un fsck... |
|
Back to top |
|
|
albazeus Tux's lil' helper
Joined: 03 Sep 2003 Posts: 81
|
Posted: Mon Dec 08, 2003 8:55 pm Post subject: |
|
|
reiserfsck non ha trovato errori...
Altri consigli?
Se servono dettagli sono qui... |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Mon Dec 08, 2003 9:17 pm Post subject: |
|
|
Bad magic number e' un problema del filesystem.
Fai: Code: | $ stat /var/cache/edb/esearchdb.pyc |
_________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
albazeus Tux's lil' helper
Joined: 03 Sep 2003 Posts: 81
|
Posted: Mon Dec 08, 2003 9:30 pm Post subject: |
|
|
Code: |
# stat /var/cache/edb/esearchdb.pyc
File: `/var/cache/edb/esearchdb.pyc'
Size: 935431 Blocks: 1832 IO Block: 131072 regular file
Device: 2103h/8451d Inode: 223337 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2003-12-08 16:30:33.000000000 +0000
Modify: 2003-12-08 16:30:34.000000000 +0000
Change: 2003-12-08 16:30:34.000000000 +0000
|
Mi sembra ok |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Mon Dec 08, 2003 10:48 pm Post subject: |
|
|
WOW, Bad magic number sotto python significa un'altra cosa, stai contento
Quote: | In this case it's catching that the user is trying to run a .pyc file under a version of Python it can't be run under. |
Ha aggiornato python? Downgradato? _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
albazeus Tux's lil' helper
Joined: 03 Sep 2003 Posts: 81
|
Posted: Mon Dec 08, 2003 10:56 pm Post subject: |
|
|
Penso sia stato proprio l'ultimo aggiornamento a farlo piantare:
Code: | # emerge -pv python wxPython
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] dev-lang/python-2.3.2-r2 +ncurses +gdbm -ssl +readline +tcltk +berkdb -bootstrap -ipv6 -build -ucs2
[ebuild R ] dev-python/wxPython-2.4.2.4 +opengl +tiff +jpeg +png +gtk2 -unicode
|
Ci sono altri pk che dovrei aggiornare? |
|
Back to top |
|
|
albazeus Tux's lil' helper
Joined: 03 Sep 2003 Posts: 81
|
Posted: Tue Dec 09, 2003 3:39 pm Post subject: |
|
|
ok! Sono andato a rompere le scatole all' autore e me l'ha risolto.
Il problema e' python 2.3. Quidi se avete intenzione di aggiornarlo dovete fare questa modifica:
Cambiate la riga (la prima)
Code: | #!/usr/bin/nv python2.2
|
con questa riga
Code: | #!/usr/bin/python -u
|
e lanciate esync con questo comando:
Code: | $ esync | tee esync.log |
Credo cmq che fra poco questa modifica sara' gia' messa nello script ufficiale.
Questo post e' solo per gli impazienti...
Ciauz! |
|
Back to top |
|
|
|