Bug#406766: Cacti plugin architecture

2007-08-18 Thread Dennis Devriendt
 could you be more specific on what you mean by quite significant
changes?
 not counting the official patches from cacti.net, the version in
unstable
 only differs by 9 lines or so.

I didn't look very well in this, but because you made some changes to the
structure of the cacti directory (split it in resources and site and moved a
part of
the configuration to /etc/cacti), you can't patch with the plugin
architecture.

 i'm not against adding it, though i don't have a lot of time to evaluate
it
 either.  since this is a third party patch (though there's lots of
reference
 to it in official cacti documentation) i'd like to hear from one of the
main
 cacti devs about what they think of it as well.  of course if someone
helped
 out to lessen my workload on either of these fronts (providing a patch
and/or
 contacting the upstream author) it would certainly help things along.

I have very little experience with php, nor with package maintaining,
but I will contact the cacti authors about this. I'll let you know what
they think about it.

Greets,
Dennis


Bug#409226: rdiff-backup doesn't work with a mounted directory

2007-01-31 Thread Dennis Devriendt

Package: rdiff-backup
Version: 1.1.5-4

I'm trying to backup some files to a mounted directory.
This directory is on a windows xp pc. However, it works
when I try to backup to a local directory

rdiff-backup / /mnt/backup/

This is what I get:
Exception 'local variable 'ext_rp' referenced before assignment'
raised of class 'exceptions.UnboundLocalError':
 File /var/lib/python-support/python2.4/rdiff_backup/Main.py, line
295, in error_check_Main
   try: Main(arglist)
 File /var/lib/python-support/python2.4/rdiff_backup/Main.py, line
315, in Main
   take_action(rps)
 File /var/lib/python-support/python2.4/rdiff_backup/Main.py, line
271, in take_action
   elif action == backup: Backup(rps[0], rps[1])
 File /var/lib/python-support/python2.4/rdiff_backup/Main.py, line
325, in Backup
   rpout.conn.fs_abilities.backup_set_globals(rpin)
 File /var/lib/python-support/python2.4/rdiff_backup/fs_abilities.py,
line 602, in backup_set_globals
   dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
 File /var/lib/python-support/python2.4/rdiff_backup/fs_abilities.py,
line 137, in init_readwrite
   self.set_extended_filenames(subdir)
 File /var/lib/python-support/python2.4/rdiff_backup/fs_abilities.py,
line 208, in set_extended_filenames
   assert not ext_rp.lstat()

Traceback (most recent call last):
 File /usr/bin/rdiff-backup, line 23, in ?
   rdiff_backup.Main.error_check_Main(sys.argv[1:])
 File /var/lib/python-support/python2.4/rdiff_backup/Main.py, line
295, in error_check_Main
   try: Main(arglist)
 File /var/lib/python-support/python2.4/rdiff_backup/Main.py, line
315, in Main
   take_action(rps)
 File /var/lib/python-support/python2.4/rdiff_backup/Main.py, line
271, in take_action
   elif action == backup: Backup(rps[0], rps[1])
 File /var/lib/python-support/python2.4/rdiff_backup/Main.py, line
325, in Backup
   rpout.conn.fs_abilities.backup_set_globals(rpin)
 File /var/lib/python-support/python2.4/rdiff_backup/fs_abilities.py,
line 602, in backup_set_globals
   dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
 File /var/lib/python-support/python2.4/rdiff_backup/fs_abilities.py,
line 137, in init_readwrite
   self.set_extended_filenames(subdir)
 File /var/lib/python-support/python2.4/rdiff_backup/fs_abilities.py,
line 208, in set_extended_filenames
   assert not ext_rp.lstat()
UnboundLocalError: local variable 'ext_rp' referenced before assignment

I'm using kernel 2.6.8-16sarge6, librsync1 0.9.7-1,
python 2.4.3-11, python-support 0.5.6