* Worg publishing broken?
@ 2011-02-16 16:17 Carsten Dominik
2011-02-16 16:30 ` Bastien
2011-02-16 16:34 ` Jason Dunsmore
0 siblings, 2 replies; 11+ messages in thread
From: Carsten Dominik @ 2011-02-16 16:17 UTC (permalink / raw)
To: Org Mode List
Hi,
I have today pushed two updates onto Worg which have not yet been published.
Maybe Worg publishing is currently broken?
- Carsten
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Worg publishing broken?
2011-02-16 16:17 Worg publishing broken? Carsten Dominik
@ 2011-02-16 16:30 ` Bastien
2011-02-16 16:34 ` Jason Dunsmore
1 sibling, 0 replies; 11+ messages in thread
From: Bastien @ 2011-02-16 16:30 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Org Mode List
Hi Carsten,
Carsten Dominik <carsten.dominik@gmail.com> writes:
> I have today pushed two updates onto Worg which have not yet been published.
> Maybe Worg publishing is currently broken?
Looks so. I just sent an email to Jason about this.
--
Bastien
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Worg publishing broken?
2011-02-16 16:17 Worg publishing broken? Carsten Dominik
2011-02-16 16:30 ` Bastien
@ 2011-02-16 16:34 ` Jason Dunsmore
2011-02-16 16:41 ` Bastien
1 sibling, 1 reply; 11+ messages in thread
From: Jason Dunsmore @ 2011-02-16 16:34 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Org Mode List
Carsten Dominik <carsten.dominik@gmail.com> writes:
> Hi,
>
> I have today pushed two updates onto Worg which have not yet been published.
> Maybe Worg publishing is currently broken?
A recently-added section on the FAQ was using "shell" as the mode of a
source block instead of "sh". I fixed it and re-pulled/published Worg.
http://repo.or.cz/w/Worg.git/blobdiff/45de0bd521aab3af38ec20804a270f306aa2416e..e4ed8284faddd0cd29c9cd3b98d19c9730f66e6e:/org-faq.org
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Worg publishing broken?
2011-02-16 16:34 ` Jason Dunsmore
@ 2011-02-16 16:41 ` Bastien
2011-02-17 16:27 ` Matt Lundin
0 siblings, 1 reply; 11+ messages in thread
From: Bastien @ 2011-02-16 16:41 UTC (permalink / raw)
To: Jason Dunsmore; +Cc: Org Mode List, Carsten Dominik
Hi Jason,
Jason Dunsmore <emacs-orgmode@dunsmor.com> writes:
>> I have today pushed two updates onto Worg which have not yet been published.
>> Maybe Worg publishing is currently broken?
>
> A recently-added section on the FAQ was using "shell" as the mode of a
> source block instead of "sh". I fixed it and re-pulled/published
> Worg.
My bad, I added this.
Thanks for the fix!
--
Bastien
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Worg publishing broken?
2011-02-16 16:41 ` Bastien
@ 2011-02-17 16:27 ` Matt Lundin
2011-02-18 8:58 ` Bastien
0 siblings, 1 reply; 11+ messages in thread
From: Matt Lundin @ 2011-02-17 16:27 UTC (permalink / raw)
To: Bastien; +Cc: Jason Dunsmore, Org Mode List, Carsten Dominik
Bastien <bastien.guerry@wikimedia.fr> writes:
> Hi Jason,
>
> Jason Dunsmore <emacs-orgmode@dunsmor.com> writes:
>
>>> I have today pushed two updates onto Worg which have not yet been published.
>>> Maybe Worg publishing is currently broken?
>>
>> A recently-added section on the FAQ was using "shell" as the mode of a
>> source block instead of "sh". I fixed it and re-pulled/published
>> Worg.
>
> My bad, I added this.
>
> Thanks for the fix!
Would there be any way to get the Worg publishing script or export of
source code blocks to fail gracefully in these instances? This same
issue came up a couple of weeks ago with a new tutorial. A mislabeled
source code block brought the whole publishing process to a halt.
One idea: instead of always throwing an error,
org-export-replace-src-segments-and-examples might contain an option to
replace BEGIN_SRC...END_SRC with BEGIN_EXAMPLE...END_EXAMPLE if no
source block is found.
Best,
Matt
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: Worg publishing broken?
2011-02-17 16:27 ` Matt Lundin
@ 2011-02-18 8:58 ` Bastien
2011-02-18 16:19 ` Jason Dunsmore
0 siblings, 1 reply; 11+ messages in thread
From: Bastien @ 2011-02-18 8:58 UTC (permalink / raw)
To: Matt Lundin; +Cc: Jason Dunsmore, Org Mode List, Carsten Dominik
Matt Lundin <mdl@imapmail.org> writes:
> Would there be any way to get the Worg publishing script or export of
> source code blocks to fail gracefully in these instances?
That would be helpful indeed.
As a first step, we could handle errors in a more clever way by using
the variable `noninteractive', testing if Emacs is running in batch
mode. In batch mode, instead of blocking the export process with a
(error ...), we could just logs problems.
Let's collect places where errors can block the publishing process.
--
Bastien
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: Worg publishing broken?
2011-02-18 8:58 ` Bastien
@ 2011-02-18 16:19 ` Jason Dunsmore
2011-02-18 18:05 ` Jambunathan K
0 siblings, 1 reply; 11+ messages in thread
From: Jason Dunsmore @ 2011-02-18 16:19 UTC (permalink / raw)
To: Bastien; +Cc: Matt Lundin, Org Mode List, Carsten Dominik
Bastien <bastien.guerry@wikimedia.fr> writes:
> Matt Lundin <mdl@imapmail.org> writes:
>
>> Would there be any way to get the Worg publishing script or export of
>> source code blocks to fail gracefully in these instances?
>
> That would be helpful indeed.
>
> As a first step, we could handle errors in a more clever way by using
> the variable `noninteractive', testing if Emacs is running in batch
> mode. In batch mode, instead of blocking the export process with a
> (error ...), we could just logs problems.
>
> Let's collect places where errors can block the publishing process.
Sounds like a good approach. I found a few using:
$ git log --oneline | grep -i export | egrep -i "fix|issue|broke|problem|error|resolve|correct|publish"
All the ones I found were related to Babel.
1) Used "shell" instead of "sh" for the source block mode. Fixed by
commit e4ed828.
2) Used "=<<code-block-name>>=" instead of ": <<code-block-name>>".
Fixed by commit 90cb8cb. When I tested this with by checking out
90cb8cb and trying to export org-contrib/babel/org-babel.org, I got
the error "org-babel-exp-lob-one-liners: Wrong type argument:
stringp, nil".
3) Enclosing #+begin_src into #+begin_quote. Fixed by commit fd3bca5.
The error is: File mode specification error: (file-error "Cannot open
load file" "html-helper-mode")
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-02-22 11:53 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 16:17 Worg publishing broken? Carsten Dominik
2011-02-16 16:30 ` Bastien
2011-02-16 16:34 ` Jason Dunsmore
2011-02-16 16:41 ` Bastien
2011-02-17 16:27 ` Matt Lundin
2011-02-18 8:58 ` Bastien
2011-02-18 16:19 ` Jason Dunsmore
2011-02-18 18:05 ` Jambunathan K
2011-02-19 1:09 ` Bastien
[not found] ` <87pqqosucm.fsf-mXXj517/zsQ@public.gmane.org>
2011-02-19 14:04 ` Sébastien Vauban
2011-02-22 11:53 ` Bastien
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).