Description of problem: fedup performed with a local ISO ('fedup --iso /tmp/Fedora-19-x86_64-DVD.iso --debuglog=fedupdebug.log') exits with a python Exception: setting up system for upgrade Exception in thread pipelogger: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 551, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 504, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/site-packages/fedup/upgrade.py", line 135, in pipelogger logger.log(thislevel, line.rstrip()) NameError: global name 'thislevel' is not defined Version-Release number of selected component (if applicable): fedup-0.7.3-4.fc18.noarch How reproducible: Always Steps to Reproduce: 1. fedup --iso /tmp/Fedora-19-x86_64-DVD.iso --debuglog=fedupdebug.log Actual results: Command runs and gets to the step of "setting up system for upgrade" and then it dies with a Traceback: Exception in thread pipelogger: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 551, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 504, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/site-packages/fedup/upgrade.py", line 135, in pipelogger logger.log(thislevel, line.rstrip()) NameError: global name 'thislevel' is not defined Expected results: Upgrade to F19 Additional info:
This patch to /usr/lib/python2.7/site-packages/fedup/upgrade.py seems to fix it. Looks like just a typo. --- upgrade.py.orig 2013-07-03 11:21:40.832999959 -0400 +++ upgrade.py 2013-07-03 11:21:51.375128243 -0400 @@ -132,7 +132,7 @@ if line.startswith('D: '): logger.debug(line[3:].rstrip()) else: - logger.log(thislevel, line.rstrip()) + logger.log(level, line.rstrip()) logger.info("got EOF") logger.info("exiting")
Ayup, good catch. Fixed in commit b8ab72e: https://github.com/wgwoods/fedup/commit/b8ab72e That'll be in the next fedup release. Thanks!
fedup-0.8.0-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedup-0.8.0-3.fc19
fedup-0.8.0-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/fedup-0.8.0-3.fc20
fedup-0.8.0-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/fedup-0.8.0-3.fc18
Package fedup-0.8.0-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fedup-0.8.0-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23316/fedup-0.8.0-3.fc19 then log in and leave karma (feedback).
fedup-0.8.0-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
fedup-0.8.0-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
fedup-0.8.0-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.