[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] File "/usr/local/bin/rdiff-backup", line 20, in

From: Charles Duffy
Subject: Re: [rdiff-backup-users] File "/usr/local/bin/rdiff-backup", line 20, in ? RDIFF error after install?
Date: Sun, 12 Feb 2006 13:20:49 -0600
User-agent: Thunderbird 1.4 (Windows/20050908)

address@hidden wrote:
I compiled rdiff from source on SuSe 9.1 Pro but when I try a test backup, I 
get the following:

linux:~ # rdiff-backup /home/user1/\2004
Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 20, in ?
    import rdiff_backup.Main
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py", line 25, 
in ?
    import Globals, Time, SetConnections, selection, robust, rpath, \
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/SetConnections.py", 
line 30, in ?
    import Globals, connection, rpath
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py", 
line 23, in ?
    import types, os, tempfile, cPickle, shutil, traceback, pickle, \
  File "/usr/local/lib/python2.4/gzip.py", line 9, in ?
    import zlib
ImportError: No module named zlib
linux:~ #
Run the Python interpreter, and put in the command "import zlib". It'll fail, because your Python install was compiled without zlib support; this is the issue you need to fix.

Recompiling Python with the zlib *headers* installed will likely resolve this issue.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]