rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: re[2]: [rdiff-backup-users] Win32 question


From: Ben Escoto
Subject: Re: re[2]: [rdiff-backup-users] Win32 question
Date: Thu, 13 Mar 2003 17:50:46 -0800

>>>>> "GF" == Greg Freemyer <address@hidden>
>>>>> wrote the following on Thu, 13 Mar 2003 20:19:53 -0500

  >>> What is the error?

  GF> Traceback (most recent call last): File
  GF> 
"C:\PROGRA~1\PYTHON~1.2\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py",
  GF> line 310, in RunScript exec codeObject in __main__.__dict__ File
  GF> "C:\cygwin\home\gaf\devel\rdiff-backup-0.11.3\rdiff_backup\Main.py",
  GF> line 24, in ?  """from log import Log, LoggerError, ErrorLog"""
  GF> ImportError: cannot import name Log

Hmm, yeah, this happened to me before.  I tried various kludges and
then spend a lot of time for 0.11.1 (I think) removing almost all
cases of "import XXX from YYY" in rdiff-backup.  So try changing it to
"import log", and changing all instances in Main.py of
Log.FatalError() to log.Log.FatalError(), etc, and see if that helps.

I think the basic problem is that Python handles circular module
dependencies in inconsistent ways.  I think there is also an entry in
the Python FAQ about this.


-- 
Ben Escoto

Attachment: pgpg1BtTUewuN.pgp
Description: PGP signature


reply via email to

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