Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Python] Syndgen out [resolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Gaby
Apprentice
Apprentice


Joined: 03 Aug 2005
Posts: 251

PostPosted: Wed Nov 26, 2008 9:27 pm    Post subject: [Python] Syndgen out [resolu] Reply with quote

Bonsoir,

J'ai fait une maj de mon environnement chrooter hier soir et depuis plus moyen d'utiliser syndgen (script de kwenspc) :

Code:
sh-3.2# syndgen --rsyncd-run --sshd-run
Traceback (most recent call last):
  File "/usr/bin/syndgen", line 28, in <module>
    Syndgen().run()
  File "//usr/lib/python2.5/site-packages/syndgen/base/application.py", line 38, in run
    (options, args) = self.parser.parse_args()
  File "/usr/lib/python2.5/optparse.py", line 1385, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python2.5/optparse.py", line 1425, in _process_args
    self._process_long_opt(rargs, values)
  File "/usr/lib/python2.5/optparse.py", line 1500, in _process_long_opt
    option.process(opt, value, values, self)
  File "/usr/lib/python2.5/optparse.py", line 782, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib/python2.5/optparse.py", line 802, in take_action
    self.callback(self, opt, value, parser, *args, **kwargs)
  File "//usr/lib/python2.5/site-packages/syndgen/tasks/rsync.py", line 34, in cb_rsyncd_run
    self.cb_rsyncd_stop(None, None, None, None)
  File "//usr/lib/python2.5/site-packages/syndgen/tasks/rsync.py", line 50, in cb_rsyncd_stop
    stop(pid)
  File "//usr/lib/python2.5/site-packages/syndgen/utils.py", line 22, in stop
    except OSERROR, err:
NameError: global name 'OSERROR' is not defined


J'ai tenté de réinstaller python suivi d'un python-updater sans succès. Idem après une réinstallation de syndgen.

Quelqu'un à une idée ?

Merci d'avance,

Gaby


Last edited by Gaby on Thu Nov 27, 2008 5:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Thu Nov 27, 2008 6:25 am    Post subject: Reply with quote

Ah bah c'est un bug ça :?

Qu'est ce que je raconte moi...

OSERROR devrait etre changé en OSError dans le fichier utils.py

[edit]Tu peux modifier temporairement le fichier /usr/lib/python2.5/site-packages/syndgen/utils.py à la mano[/edit]
_________________
membre officieux du SAV Ati GEntoo
Back to top
View user's profile Send private message
Gaby
Apprentice
Apprentice


Joined: 03 Aug 2005
Posts: 251

PostPosted: Thu Nov 27, 2008 5:58 pm    Post subject: Reply with quote

Résolu, c'était bien le problème.

Merci,

Gaby
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum