Your message dated Sun, 06 Sep 2015 15:38:44 +0000 with message-id <[email protected]> and subject line Bug#796950: fixed in obnam 1.16-1 has caused the Debian Bug report #796950, regarding NameError: global name 're' is not defined to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 796950: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796950 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: obnam Version: 1.15-1 Severity: grave Justification: renders package unusable Dear Maintainer, I was attempting to run obnam backup and received the following python stack trace. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 189, in _run self.process_args(args) File "/usr/lib/python2.7/dist-packages/obnamlib/app.py", line 206, in process_args self.hooks.call('config-loaded') File "/usr/lib/python2.7/dist-packages/obnamlib/hooks.py", line 188, in call self.hooks[name].call_callbacks(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/obnamlib/hooks.py", line 65, in call_callbacks callback(*args, **kwargs) File "/usr/lib/python2.7/dist- packages/obnamlib/plugins/exclude_pathnames_plugin.py", line 57, in config_loaded self.compile_exclusion_patterns() File "/usr/lib/python2.7/dist- packages/obnamlib/plugins/exclude_pathnames_plugin.py", line 81, in compile_exclusion_patterns self.compile_regexps(regexps, self.pathname_excluder.exclude_regexp) File "/usr/lib/python2.7/dist- packages/obnamlib/plugins/exclude_pathnames_plugin.py", line 97, in compile_regexps except re.error as e: NameError: global name 're' is not defined Looking at exclude_pathnames_plugin.py it does call "except re.error" and I couldn't find a corresponding import re. So something seems wrong. Attached are the modifications I made to exclude_pathnames_plugin in order to get it to work.--- /tmp/exclude_pathnames_plugin.py 2015-08-25 22:27:42.290914865 -0700 +++ /usr/lib/python2.7/dist-packages/obnamlib/plugins/exclude_pathnames_plugin.py 2015-08-25 22:27:13.923549566 -0700 @@ -18,8 +18,9 @@ import logging import os import stat import time +import re import obnamlib @@ -93,11 +94,11 @@ logging.debug('Regular expression: %s', regexp) try: compiler(regexp) except re.error as e: - msg = ('error compiling regular expression "%s": %s' % (x, e)) + msg = ('error compiling regular expression "%s": %s' % (regexp, e)) logging.error(msg) - self.progress.error(msg) + #self.progress.error(msg) def read_patterns_from_files(self, filenames): patterns = [] for filename in filenames:
--- End Message ---
--- Begin Message ---Source: obnam Source-Version: 1.16-1 We believe that the bug you reported is fixed in the latest version of obnam, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Lars Wirzenius <[email protected]> (supplier of updated obnam package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 06 Sep 2015 16:25:28 +0300 Source: obnam Binary: obnam Architecture: amd64 i386 source Version: 1.16-1 Distribution: unstable Urgency: medium Maintainer: Lars Wirzenius <[email protected]> Changed-By: Lars Wirzenius <[email protected]> Closes: 796139 796950 Description: obnam - online and disk-based backup application Changes: obnam (1.16-1) unstable; urgency=medium . * New upstream release. * Fix "NameError: global name 're' is not defined" (Closes: #796950) * Fix "NameError: global name 'netloc' is not defined" (Closes: #796139) Checksums-Sha1: bf8a2e7aae4f40b518c82c81c8e577757abdec49 169066 obnam_1.16-1_amd64.deb b68aa311e62cb2c8e5d52e644f0d15fcae610ebf 169246 obnam_1.16-1_i386.deb 75a1dfb0c7d3a36487d8e33d96796a7cf4290487 2020 obnam_1.16-1.dsc aeadc82d346c7d39fbc1b1b7555eabafac84b674 276120 obnam_1.16.orig.tar.xz 11c645d941b1ad1ae034560c71957478e79f4be8 6264 obnam_1.16-1.debian.tar.xz Checksums-Sha256: fcd8de99acd199b9e7fb72f4f6a278039f55978e73156e3d78ea403aa9b9f312 169066 obnam_1.16-1_amd64.deb f6a9a8eed8c7924e172b5f8f439f7027c6fffe468b19b09f5bb01d672e609349 169246 obnam_1.16-1_i386.deb 25616df32ec6a948c35ae5fdcdf431ff744439523eb1deb97cc71b7bb097a728 2020 obnam_1.16-1.dsc e5630712cd0aa7812a7b3f11e6afba55973b44d58301c4afd1b2824763bf693b 276120 obnam_1.16.orig.tar.xz 1e2305a5797bf2857935b5f1d5d83581b5daa84156ead797881fd6f2f866dac0 6264 obnam_1.16-1.debian.tar.xz Files: 78eff5f774a824bc5d816b2dd08e3ebe 169066 python optional obnam_1.16-1_amd64.deb cdef7373b1032793b73ad3d80177e913 169246 python optional obnam_1.16-1_i386.deb 62b21a320b020c1f326695d8553bcfb8 2020 python optional obnam_1.16-1.dsc c4f3cde926e09b038ca5cddaba015d43 276120 python optional obnam_1.16.orig.tar.xz 3e755a22f393156f19c4845d3f3a94b8 6264 python optional obnam_1.16-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJV7EVjAAoJEGwvphbseiAxV0YP/2VlB0JB4KsElz4vWLGcH/fG nBBC/DjExaALUaYjXzlIcZO23FY5yX4iHlEbqYvdScpdE15S+dn3D9di/nmH6me6 +DEwtTuxbFPLJQ7C4mMQ7qIpNN/M6JfPNM/+pzZyPfo7BlxRh4sahNFFXD1CM0ih K8LVe3LV2IOenyKQ3IBuXqU4P6fRgE9V/S8S7wjCyvlTcg27VRJMep1Yyz8O32Id z7hvP4aMuGKuIP6ewmzkn4+D6x0flfzEo1dpiKUVmh+gefRktNUTxIQyytoABjmx 5SqE4cvzHjd5XWhjyEVBmAqXWZO7ebCMg9xshyhvzQm91oPSPcUYU3zwUo6yFTVQ WrjPe9g91qJxDUazRPMgkEfesV+NjXMi8IltzlUsOkrg+MVPE116Xvgny4XHw2KB 5pXd+A1T9JHUwcHNV88WD+k42raS6ZixDjggzwB0qp/OO1pKKpXi1qgQDIaUBWAZ HYh8Rf2bAmoBMeXbyW5o8I+bkCNaL87EDSSQ3gPsFtZFslPNPojbjah1sZ0hMxiI u8OOuzErBEEfg3/KiEmYFg2fVSo8vPHDMvUgAR4V8rnI6jyM1bOOyOReLJlFqmUB zbg1PPDGvHKJMRUCvLufwBXjvKRNRm68b9Fp11SUJ6+U9KYuZJOuaaKswEkWcMNZ lg2uCy1DPxb2fwoA5d9l =euJH -----END PGP SIGNATURE-----
--- End Message ---

