Your message dated Thu, 15 Jan 2015 09:19:17 +0000 with message-id <[email protected]> and subject line Bug#726638: fixed in xapers 0.6-1 has caused the Debian Bug report #726638, regarding xapers' curses interface fails to open file with a space in their name 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.) -- 726638: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726638 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: xapers Version: 0.5.2-1 Severity: normal Dear Maintainer, I added pdf files to my xapers database that contain space (namely .xapers/docs/0000000110/Di 99.pdf). Using 'xapers show id:110' then <Return> to open said file gives 'ERROR: id:110: file not found' I trace the problem to line 174 of file /usr/lib/python2.7/dist-packages/xapers/nci/search.py which protects spaces with '\' before passing this path to os.path.exists which fails as "~/.xapers/docs/0000000110/Di\ 99.pdf" does not exist... This action should be done after that conditional but before the subprocess.call line. This patch solves the problem for me: @@ -171,10 +171,11 @@ if not path: self.ui.set_status('No file for document id:%s.' % entry.docid) return - path = path[0].replace(' ','\ ') + path = path[0] if not os.path.exists(path): self.ui.set_status('ERROR: id:%s: file not found.' % entry.docid) return + path = path.replace(' ','\ ') self.ui.set_status('opening file: %s...' % path) subprocess.call(' '.join(['nohup', 'xdg-open', path, '&']), shell=True, -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (700, 'unstable'), (650, 'testing'), (600, 'experimental'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xapers depends on: ii poppler-utils 0.18.4-8 ii pybtex 0.15-1 ii python 2.7.5-5 ii python-pkg-resources 0.6.49-2 ii python-pycurl 7.19.0-7 ii python-xapian 1.2.15-4 Versions of packages xapers recommends: ii python-urwid 1.1.1-1+b1 ii xclip 0.12+svn84-2 ii xdg-utils 1.1.0~rc1+git20111210-7 xapers suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: xapers Source-Version: 0.6-1 We believe that the bug you reported is fixed in the latest version of xapers, 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. Jameson Graef Rollins <[email protected]> (supplier of updated xapers 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: Sat, 10 Jan 2015 11:07:12 -0800 Source: xapers Binary: xapers Architecture: source amd64 Version: 0.6-1 Distribution: unstable Urgency: medium Maintainer: Jameson Graef Rollins <[email protected]> Changed-By: Jameson Graef Rollins <[email protected]> Description: xapers - Personal journal article management and indexing system Closes: 726638 Changes: xapers (0.6-1) unstable; urgency=medium . * New release (Closes: #726638) Checksums-Sha1: dd0d970630b3a5ec81659a6bbdd5c2173b78cffe 1777 xapers_0.6-1.dsc 2a843ef0b7c3c4003779d3c288d8a3237df683ee 152256 xapers_0.6.orig.tar.gz 37343a70ad428f4bb8dd3b2031f66225501e20c2 2488 xapers_0.6-1.debian.tar.xz fbcd7a265fcb9c1b7ca4b0b20339cc44b12d102a 32662 xapers_0.6-1_amd64.deb Checksums-Sha256: 49ff590225121fd0124b2b3aee7a3bbe07f88d7892fb731e662ae3e6ba174228 1777 xapers_0.6-1.dsc 369010962fae50f191a6622002be19fd4e21baa85d529e14d3c4996cf33e9d5d 152256 xapers_0.6.orig.tar.gz 21c4fd82af50266623570ac1b35d7e9ab886fb7efff5af4047db778faf7274eb 2488 xapers_0.6-1.debian.tar.xz ed8773e609b23b5f38026a6b5046075ced58cf03b297b57d09d1eb7390a6c8dc 32662 xapers_0.6-1_amd64.deb Files: 217fe583d12efb43d337999bb3e9525b 1777 python optional xapers_0.6-1.dsc a510b3ce6bbf63699c085a2a437d31d2 152256 python optional xapers_0.6.orig.tar.gz c656c0a4d2adef4a40e54bb6226df734 2488 python optional xapers_0.6-1.debian.tar.xz cb187cf29e67ccaac833bc45c6d17747 32662 python optional xapers_0.6-1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJUt3KbAAoJEO00zqvie6q8mmEP/i0KVamefoW1xQdAWmu/yift iiGpqydp+BwvGwMgOtqA8WGcPEs/F5/Oy6yBHTTVaEh7Pg/WUekAn2oJ5AE9gs4c Kz1BM6l3lF4LoyD/fOWBBYQ8+WbOchBs/epdlQHv/DMxp5UP0DCw/aNKnpTA4kQl NCC9YcLMCk25k2FtkLhyDHxNLxwZoe0I/0Qmz72paj8qbtKIHgbbnVLki6FRFXA/ CxchsHkIwYMTxvR5WSl9Yj8HhDWc4NTl1kcszUohfa8TpCxsmZh14JDLzlQPupgr O1zwkYBn34SLVaGlIeD6vv/PGmTPWY9LGqK42iSntQua6rHE/qSoZ838pXB2GdCQ z4woVPHu3ysTCu1rNuTHCswjRa5V2ZY2NEGpd0Socv/FKhtZBFtGGacPZ2l+S3gq KMBiGdaDSrMUaVSdSQpDRHdw/p2qohlQoGfmfyNUQK+n3xmxOYJAyPeb8um4xp14 qtkLsVBiC5Uz0ktT6doP/BTx567y4D0lnRJl3x/9sR8aYy37XLbgD8HZiDGWxBPN PMriBbzCKSHQshHFvm0y4U1Prm70AQ2BQ+I875EY6d7KUq4nHlzLIQYojXR8Y0oA jmdHPIfCBFtpyNpOylMBUxkfatWLfBFPm5avnzaihvApjp7xzRDvhq3iqsFZKO5W CuwgwY9LRR3PoHTtMclT =4Sji -----END PGP SIGNATURE-----
--- End Message ---

