--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: nanoblogger: markdown hang while generating atom 1.0 feed
- From: andrew bezella <andrew@diatribes.org>
- Date: Sat, 15 Aug 2015 22:17:38 -0700
- Message-id: <20150816051738.22371.52880.reportbug@lorien.diatribes.org>
Package: nanoblogger
Version: 3.4.2-3
Severity: normal
Dear Maintainer,
thank you for your time and effort in packaging nanoblogger.
i noticed a problem while adding a markdown entry:
i ran the following command:
`nb --var DATE --set-var "2015-05-03 09:30:00" -c 2,3 add entry`
and edited the entry in a text editor. after saving and exiting,
the following was logged to terminal:
editing new entry ...
press [enter] to continue:
selected tag id(s): 2,3 ...
adding new entry ...
updating main database ...
generating weblog files ...
initializing main database ...
generating fortune ...
generating atom 1.0 feed ...
and did not progress further. a ctrl-c to exit worked.
at the time the process tree looked like:
\_ sh -c /usr/bin/zsh
| \_ /usr/bin/zsh
| \_ /bin/bash /usr/bin/nb --var DATE --set-var 2015-05-03 09:30:00 -c 2,3 add entry
| \_ /bin/bash /usr/bin/nb --var DATE --set-var 2015-05-03 09:30:00 -c 2,3 add entry
| \_ /usr/bin/perl /usr/bin/markdown
the attached patch (cribbed from
https://lists.freebsd.org/pipermail/freebsd-ports-bugs/2010-February/183607.html )
solved the issue for me
*** End of the template - remove these lines ***
-- System Information:
Debian Release: 7.8
APT prefers oldstable-updates
APT policy: (990, 'oldstable-updates'), (990, 'oldstable')
Architecture: i386 (i586)
Kernel: Linux 3.2.0-4-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nanoblogger depends on:
ii bsdmainutils 9.0.3
Versions of packages nanoblogger recommends:
ii markdown 1.0.1-7
ii tidy 20091223cvs-1.2+deb7u1
Versions of packages nanoblogger suggests:
ii nanoblogger-extra 3.4.2-2
ii w3m [www-browser] 0.5.3-8
-- no debconf information
cf. ports/144290: [maintainer-update] update www/nanoblogger and www/nanoblogger-extra to 3.4.2
http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2010-February/183607.html
--- ./plugins/entry/format/markdown.sh.orig 2010-02-14 12:42:17.000000000 -0800
+++ ./plugins/entry/format/markdown.sh 2013-11-23 18:47:57.000000000 -0800
@@ -5,7 +5,7 @@
: ${MARKDOWN_CMD:=markdown}
: ${MARKDOWN_OPTS:= }
-nb_eval "$MARKDOWN_CMD" && MARKDOWN_INPATH=true
+nb_eval "$MARKDOWN_CMD -v" && MARKDOWN_INPATH=true
if [ "$MARKDOWN_INPATH" = "true" ]; then
# nb_msg "$plugins_entryfilteraction `basename $nb_plugin` ..."
--- ./plugins/page/format/markdown.sh.orig 2009-08-09 17:01:37.000000000 -0700
+++ ./plugins/page/format/markdown.sh 2013-11-23 18:48:03.000000000 -0800
@@ -5,7 +5,7 @@
: ${MARKDOWN_CMD:=markdown}
: ${MARKDOWN_OPTS:= }
-nb_eval "$MARKDOWN_CMD" && MARKDOWN_INPATH=true
+nb_eval "$MARKDOWN_CMD -v" && MARKDOWN_INPATH=true
if [ "$MARKDOWN_INPATH" = "true" ]; then
nb_msg "$plugins_entryfilteraction `basename $nb_plugin` ..."
--- End Message ---