django-backup-old icon indicating copy to clipboard operation
django-backup-old copied to clipboard

DeprecationWarning

Open marceloleiva opened this issue 12 years ago • 1 comments

python manage.py backup --email [email protected]

error:

DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  import os, popen2, time

NameError: global name 'CommandError' is not defined

this is my configuration:

BACKUP_LOCAL_DIRECTORY = os.path.join(BASE_DIR, "backup")
BACKUP_FTP_SERVER = None
BACKUP_FTP_USERNAME = None
BACKUP_FTP_PASSWORD = None
BACKUP_FTP_DIRECTORY = None

SO: OS X 10.8.4 Python 2.7.3 Django: 1.5.1

marceloleiva avatar Sep 12 '13 20:09 marceloleiva

I'm not fussed about the depracation warning at the moment but patches welcome. ;-)

Looks like the NameError is more of a problem? That is covered in #8 but I can't replicate that at my end.

andybak avatar Sep 13 '13 10:09 andybak