Problema Vodafone Mobile Connect e Debian 6

1 risposta [Ultimo contenuto]
Ritratto di danieleronaldo
danieleronaldo
(Junior)
Offline
Junior
Iscritto: 15/08/2012
Messaggi: 6

Ciao a tutti, in questi giorni non funziona internet da me per via di alcuni problemi tecnici. Ho una chiavetta Vodafone solo che non riesco ad avviare Vodafone Mobile Connect. Ho provato anche da terminale e mi da il seguente errore:

root@Debian:/home/daniele/Scaricati# vodafone-mobile-connect-card-driver-for-linux
Traceback (most recent call last):
  File "/usr/bin/upgrade-vmc-plugins", line 26, in <module>
    from vmc.common import plugin
  File "/usr/share/vodafone-mobile-connect/vmc/common/plugin.py", line 26, in <module>
    from pytz import timezone
ImportError: No module named pytz
create skelaton and do setup: finished os.path.exists
create skelaton and do setup: finished shutil.copytree
ensure I have config: checked OS path exists
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 626, in run
    runApp(config)
  File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 374, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 439, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 450, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 390, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.6/dist-packages/twisted/persisted/sob.py", line 210, in loadValueFromFile
    exec fileObj in d, d
  File "/usr/share/vodafone-mobile-connect/gtk-tap.py", line 41, in <module>
    create_skeleton_and_do_initial_setup()
  File "/usr/share/vodafone-mobile-connect/vmc/common/startup.py", line 112, in create_skeleton_and_do_initial_setup
    ensure_have_config(force_create=True)
  File "/usr/share/vodafone-mobile-connect/vmc/common/startup.py", line 74, in ensure_have_config
    from vmc.common.oal import osobj
  File "/usr/share/vodafone-mobile-connect/vmc/common/oal.py", line 44, in <module>
    osobj = get_os_object()
  File "/usr/share/vodafone-mobile-connect/vmc/common/oal.py", line 34, in get_os_object
    from vmc.common.plugin import PluginManager
  File "/usr/share/vodafone-mobile-connect/vmc/common/plugin.py", line 26, in <module>
    from pytz import timezone
exceptions.ImportError: No module named pytz
 
Failed to load application: No module named pytz

Come risolvo il problema? Grazie a tutti Big Grin

Ritratto di homeless
homeless
(Guru)
Offline
Guru
Iscritto: 21/10/2011
Messaggi: 1288

Impartisci i comandi:

script log.txt
aptitude update
aptitude install python-tz
exit

Nel file log.txt troverai i log.

EDIT: i comandi precedenti, naturalmente, funzionano solo con una connessione internet attiva. Se il tuo computer è offline, come hai indicato nel messaggio precedente, dovrai scaricare manualmente il pacchetto python-tz e tutti i pacchetti dipendenti non installati e, quindi, installarli manualmente secondo l'ordine previsto utilizzando il comando dpkg.