On Monday 01 November 2010 08:39:40 Yang, Yi Y wrote:
Another issue:
Traceback (most recent call last): File "list_resolvables.py", line 77, in <module> policy.downloadMode(zypp.DownloadMode.DownloadInAdvance) AttributeError: 'module' object has no attribute 'DownloadMode'
Why DownloadMode isn't available in libzypp-bindings?
Fixed in -0.5.6
terminates because of unknown reason, by the way, it didn't give any progress about downloading and installing packages, how to set callbacks for downloading and installing packages?
Need to find some time or someone more familiar with swig/python for this.
How do I get detailed error log?
export ZYPP_LOGFILE=/tmp/zypplog In -0.5.6 I also added setZyppLogfile function: zypp.setZyppLogfile("") // off zypp.setZyppLogfile("-") // stderr zypp.setZyppLogfile("/tmp/mylog") // file -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres ZYPP Development ma@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org