Test per Bittorrent

Postate qui se avete consigli per migliorare i pacchetti disponibili in questo sito o se avete problemi con installazione, funzionamento o altro.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il nome del pacchetto.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Avatar utente
Paoletta
Staff
Staff
Messaggi: 3975
Iscritto il: lun 25 apr 2005, 0:00
Slackware: 14.2 - 64 bit
Desktop: fluxbox
Località: Varese

Messaggio da Paoletta »

Loris ha scritto:A me la gui con la Slack 10.2 non funziona, secondo me richiede cxxlibs versione 6 infatti lamenta la mancanza di libstdc++.so.6, la versione console funziona bene, la curses ho qualche dubbio, mi propone un prompt del tipo:

Codice: Seleziona tutto

(Pdb)
e anche l'help non mi aiuta... ma forse sono stordito io :)
Paoletta o Meskalamdug se mi passate uno SlackBuild per wxpython metto a disposizione il pacchetto anche su Slacky ;)
beh, puoi usare quello che ho indicato io (che ora ho un po' snellito, contiene anche le wxGTKi in versione Unicode)...peró tieni presente che dopo l'installazione del tgz bisogna fare quella piccola procedura descritta da francogdn nel suo topic...altrimenti chiedi direttamente a lui! per quanto riguarda libstdc++.so.6 non credo che sia questo il problema, perché io non ce l'ho...
Ultima modifica di Paoletta il ven 30 giu 2006, 10:40, modificato 1 volta in totale.

Avatar utente
Paoletta
Staff
Staff
Messaggi: 3975
Iscritto il: lun 25 apr 2005, 0:00
Slackware: 14.2 - 64 bit
Desktop: fluxbox
Località: Varese

Messaggio da Paoletta »

per far partire anche bittorrent-curses e bittorrent-console basta aprire il file

/usr/lib/python2.4/site-packages/BitTorrent/parseargs.py

con qualsiasi editor e commentare le righe 102 e 99...
cosí partono entrambi...se poi c'é qualche problema nell'usarli non lo so perché uso solo la gui...sarei lieta di avere feedback!

Meskalamdug
Iper Master
Iper Master
Messaggi: 3965
Iscritto il: ven 14 mag 2004, 0:00

Messaggio da Meskalamdug »

Paoletta ha scritto:per far partire anche bittorrent-curses e bittorrent-console basta aprire il file

/usr/lib/python2.4/site-packages/BitTorrent/parseargs.py

con qualsiasi editor e commentare le righe 102 e 99...
cosí partono entrambi...se poi c'é qualche problema nell'usarli non lo so perché uso solo la gui...sarei lieta di avere feedback!
Grazie

Meskalamdug
Iper Master
Iper Master
Messaggi: 3965
Iscritto il: ven 14 mag 2004, 0:00

Messaggio da Meskalamdug »

Ultimo problema...non funziona il bottone "info"

Avatar utente
Paoletta
Staff
Staff
Messaggi: 3975
Iscritto il: lun 25 apr 2005, 0:00
Slackware: 14.2 - 64 bit
Desktop: fluxbox
Località: Varese

Messaggio da Paoletta »

Meskalamdug ha scritto:Ultimo problema...non funziona il bottone "info"
tra l'altro non si riesce ad intravedere l'errore, cioé appare solo a metá...

Avatar utente
IceSlack
Linux 4.x
Linux 4.x
Messaggi: 1313
Iscritto il: dom 30 ott 2005, 13:27

Messaggio da IceSlack »

a me non parte pur avendo le librerie richieste mi dice:

Codice: Seleziona tutto

bash-3.1$ bittorrent
Traceback (most recent call last):
  File "/usr/bin/bittorrent", line 161, in ?
    from BitTorrent.GUI_wx.DownloadManager import MainLoop
  File "/usr/lib/python2.4/site-packages/BitTorrent/GUI_wx/__init__.py", line 28, in ?
    import wx
ImportError: No module named wx
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.4/site-packages/BitTorrent/atexit_threads.py", line 57, in duh
    func(*targs, **kargs)
  File "/usr/lib/python2.4/site-packages/BitTorrent/IPC.py", line 170, in stop
    self.rawserver.stop_listening(self.controlsocket)
  File "/usr/lib/python2.4/site-packages/BitTorrent/RawServer_twisted.py", line 814, in stop_listening
    self.factory.pop_connection_data(self._get_data_key(serversocket))
  File "/usr/lib/python2.4/site-packages/BitTorrent/RawServer_twisted.py", line 483, in pop_connection_data
    return self.connection_data.pop_from_row(key)
  File "/usr/lib/python2.4/site-packages/BitTorrent/DictWithLists.py", line 58, in pop
    l = self.parent.__getitem__(self, key)
  File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: '/home/ice/.bittorrent/data/controlsocket'
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.4/site-packages/BitTorrent/atexit_threads.py", line 57, in duh
    func(*targs, **kargs)
  File "/usr/lib/python2.4/site-packages/BitTorrent/IPC.py", line 170, in stop
    self.rawserver.stop_listening(self.controlsocket)
  File "/usr/lib/python2.4/site-packages/BitTorrent/RawServer_twisted.py", line 814, in stop_listening
    self.factory.pop_connection_data(self._get_data_key(serversocket))
  File "/usr/lib/python2.4/site-packages/BitTorrent/RawServer_twisted.py", line 483, in pop_connection_data
    return self.connection_data.pop_from_row(key)
  File "/usr/lib/python2.4/site-packages/BitTorrent/DictWithLists.py", line 58, in pop
    l = self.parent.__getitem__(self, key)
  File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: '/home/ice/.bittorrent/data/controlsocket'
bho ditemi qualcosa, e poi slapt-get non mi ha risolto le dipendenze, o e' normale perhc'e non c''e il file slapt-get per questo pacchetto?

Avatar utente
Paoletta
Staff
Staff
Messaggi: 3975
Iscritto il: lun 25 apr 2005, 0:00
Slackware: 14.2 - 64 bit
Desktop: fluxbox
Località: Varese

Messaggio da Paoletta »

IceSlack ha scritto:a me non parte pur avendo le librerie richieste
wxPython per ora non c'é su slacky...
usa questo per compilare i sorgenti di wxPython (naturalmente setta tu stesso le CFLAGS a seconda della tua architettura)

Codice: Seleziona tutto

#!/bin/sh
#
#
# The source can be found at:
# http://www.wxpython.org/

CWD=`pwd`
TMP=/tmp
PKG=$TMP/package-wxPython
VERSION=2.6.3.2
# I set my CFLAGS globaly..
ARCH=i486
BUILD=1

rm -rf $PKG
mkdir -p $PKG/install
mkdir -p $PKG/usr/share/{applications,pixmaps}

echo
echo "wxPython-src-$VERSION.tar.gz is now extracting..."
echo
cd $TMP
rm -rf wxPython-src-$VERSION
tar -xzf $CWD/wxPython-src-$VERSION.tar.gz

#################################
# Configure and build wxWidgets #
#################################
cd $TMP/wxPython-src-$VERSION
mkdir bld
cd bld
../configure --prefix=/usr \
        --with-gtk=2 \
	--enable-monolithic \
	--disable-rpath \
	--enable-geometry \
	--enable-optimise \
	--enable-sound 	--with-sdl \
	--enable-display \
	--enable-unicode \
	--enable-debug_flag \
	--disable-debugreport \


make 
make -C contrib/src/animate 
make -C contrib/src/gizmos 
make -C contrib/src/stc

##################
# Build wxPython #
##################
cd $TMP/wxPython-src-$VERSION/wxPython
python setup.py \
	WXPORT=gtk2 \
	UNICODE=1 \
	EP_ADD_OPTS=1 \
	WX_CONFIG="$TMP/wxPython-src-$VERSION/bld/wx-config --no_rpath" \
       	build_ext --rpath=/usr/lib \
	build

##############################
# Install wxGTK and contribs #
##############################
cd $TMP/wxPython-src-$VERSION/bld
make prefix=$PKG/usr install
make -C contrib/src/animate prefix=$PKG/usr install
make -C contrib/src/gizmos prefix=$PKG/usr install
make -C contrib/src/stc prefix=$PKG/usr install


##############################
# Install wxPython for wxGTK #
##############################
cd $TMP/wxPython-src-$VERSION/wxPython
python setup.py \
	WXPORT=gtk2 \
	UNICODE=1 \
	EP_ADD_OPTS=1 \
	WX_CONFIG="$PKG/usr/bin/wx-config --prefix=$PKG/usr --no_rpath" \
       	build_ext --rpath=/usr/lib \
	install --root=$PKG

# Menu items
for file in distrib/*.desktop; do
install -m 644 $file	$PKG/usr/share/applications
done

# Icons
install -m 644 wx/py/PyCrust_32.png		$PKG/usr/share/pixmaps/PyCrust.png
install -m 644 wx/tools/XRCed/XRCed_32.png	$PKG/usr/share/pixmaps/XRCed.png

( cd $PKG
  find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null )

cat << EOF > $PKG/install/slack-desc
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.  Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in.  You must
# make exactly 11 lines for the formatting to be correct.  It's also
# customary to leave one space after the ':'.

        |-----handy-ruler----------------------------------------------------|
wxPython: wxPython (Python GUI development)
wxPython:
wxPython: wxPython is a GUI toolkit for the Python programming language. It
wxPython: allows Python programmers to create programs with a robust, highly
wxPython: functional graphical user interface, simply and easily. It is
wxPython: implemented as a Python extension module (native code) that wraps
wxPython: the popular wxWidgets cross platform GUI library, which is written
wxPython: in C++.
wxPython:
wxPython:
wxPython:
EOF

# Fix a broken symlink:
( cd $PKG/usr/bin
  rm -rf wx-config
  ln -sf ../lib/wx/config/gtk2-unicode-debug-2.6 wx-config )

cd $TMP/wxPython-src-$VERSION/wxPython

sed  "s/BUILD_GLCANVAS = 1/BUILD_GLCANVAS = 0/" -i config.py

./setup.py build WXPORT=gtk2 \
		 UNICODE=1 \
		 BUILD_GLCANVAS=0 \
		 WX_CONFIG="$PKG/usr/bin/wx-config --prefix=$PKG/usr --no_rpath" \
		 
		 
./setup.py install WXPORT=gtk2 \
		   UNICODE=1   \
		   BUILD_GLCANVAS=0 \
		   WX_CONFIG="$PKG/usr/bin/wx-config --prefix=$PKG/usr --no_rpath" \
		   install --root="$PKG" 


# Build the package:
cd $PKG
makepkg -l y -c n $TMP/wxPython-$VERSION-$ARCH-$BUILD.tgz
poi installa con installpkg e vedrai che Bittorrent partirá...
il tuo problema é che ti manca
/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/

Avatar utente
IceSlack
Linux 4.x
Linux 4.x
Messaggi: 1313
Iscritto il: dom 30 ott 2005, 13:27

Messaggio da IceSlack »

ma se noti mi dice anche che mi manca twister pyton mentre cel'ho

Avatar utente
Paoletta
Staff
Staff
Messaggi: 3975
Iscritto il: lun 25 apr 2005, 0:00
Slackware: 14.2 - 64 bit
Desktop: fluxbox
Località: Varese

Messaggio da Paoletta »

IceSlack ha scritto:ma se noti mi dice anche che mi manca twister pyton mentre cel'ho
prova a fare un tentativo...il primo errore che dá é che gli manca import wx, e dovresti riuscire a sitemarlo, poi vediamo

Avatar utente
IceSlack
Linux 4.x
Linux 4.x
Messaggi: 1313
Iscritto il: dom 30 ott 2005, 13:27

Messaggio da IceSlack »

emm bittorrent non ha le librerie per slapt-get giuste

Codice: Seleziona tutto

root@icebox:~# slapt-get --show bittorrent
Package Name: bittorrent
Package Mirror: http://www.slacky.it/download/
Package Location: ./network/file-sharing/BitTorrent/4.20.2
Package Version: 4.20.2-noarch-1sl
Package Size: 1448 K
Package Installed Size: 5440 K
Package Required:   python >= 2.4.1-i486-1
Package Conflicts:
Package Suggests:
Package MD5 Sum:  d077fa05f459d14345e79fc4618aee12
Package Description:
 BitTorrent (BitTorrent file distribution utility)

 BitTorrent is a file distribution utility which utilizes the upload
 capacity of machines which are downloading a file to help distribute
 it to other downloading machines.  This makes it possible to provide
 large files (such as the Slackware Linux ISO images) to many people
 without the usual problem of insufficient bandwidth.  The more
 downloaders, the more bandwidth.  Problem solved.

 Bram Cohen is the genius behind BitTorrent.

Package ChangeLog:


Package Installed: yes
root@icebox:~#
si potrebbe fixare? :E

Avatar utente
IceSlack
Linux 4.x
Linux 4.x
Messaggi: 1313
Iscritto il: dom 30 ott 2005, 13:27

Messaggio da IceSlack »

nessuno mi nota? :lol: e' stato fatto? o osno io che sono scemo e non cene' bisongo?

Avatar utente
Loris
Admin
Admin
Messaggi: 7731
Iscritto il: lun 31 mar 2003, 0:00
Nome Cognome: Loris Vincenzi
Località: Gradisca D'Isonzo
Contatta:

Messaggio da Loris »

IceSlack ha scritto:nessuno mi nota? :lol: e' stato fatto? o osno io che sono scemo e non cene' bisongo?
Non è stato fatto, se vuoi contribuire fallo tu... altrimenti aspetti :wink:
"Ho una testa piuttosto balzana e comunque non sono quello che credete" - Roger Keith Barrett

Avatar utente
IceSlack
Linux 4.x
Linux 4.x
Messaggi: 1313
Iscritto il: dom 30 ott 2005, 13:27

Messaggio da IceSlack »

se non fossi svogliato e noob :E comunque grazie per la risposta :E

Rispondi