I''m getting this error with the recent webgen version, but can''t figure out what''s wrong. Does anybody know what it''s about? An error has occurred: Error while rendering </essay3/kapitel23.en.html>: Invalid input format selected: Michael
On Wed, 07 Apr 2010 12:51:35 +0200, Michael Franzl wrote:> I''m getting this error with the recent webgen version, but can''t > figure out what''s wrong. Does anybody know what it''s about? > > An error has occurred: > Error while rendering </essay3/kapitel23.en.html>: > Invalid input format selected:The error does not seem to come from webgen itself, so it probably comes from an external library or a Ruby library. Which rendering pipeline does the file in question have? If you want, you can send me the files which generate the error in private. -- Thomas
Thomas Leitner wrote:> The error does not seem to come from webgen itself, so it probably comes > from an external library or a Ruby library. Which rendering pipeline > does the file in question have? If you want, you can send me the files > which generate the error in private.I use the standard rendering pipeline, but I figured it out. The error was coming from kramdown. Two paragraphs weren''t separated by an empty line. Maybe the error message could be more descriptive? Michael
On Wed, 07 Apr 2010 20:46:09 +0200, Michael Franzl wrote:> Thomas Leitner wrote: > > The error does not seem to come from webgen itself, so it probably > > comes from an external library or a Ruby library. Which rendering > > pipeline does the file in question have? If you want, you can send > > me the files which generate the error in private. > > I use the standard rendering pipeline, but I figured it out. The > error was coming from kramdown. Two paragraphs weren''t separated by > an empty line. Maybe the error message could be more descriptive?That''s interesting - could you send me some text that reproduces the error? This would be very helpful! The error itself comes from Kramdown::Document and normally indicates the the input format was not properly selected (the only currently supported input format is kramdown). -- Thomas
On Wed, 07 Apr 2010 20:46:09 +0200, Michael Franzl wrote:> Thomas Leitner wrote: > > The error does not seem to come from webgen itself, so it probably > > comes from an external library or a Ruby library. Which rendering > > pipeline does the file in question have? If you want, you can send > > me the files which generate the error in private. > > I use the standard rendering pipeline, but I figured it out. The > error was coming from kramdown. Two paragraphs weren''t separated by > an empty line. Maybe the error message could be more descriptive?That''s interesting - could you send me some text that reproduces the error? This would be very helpful! The error itself comes from Kramdown::Document and normally indicates the the input format was not properly selected (the only currently supported input format is kramdown). -- Thomas
Thomas Leitner wrote:> That''s interesting - could you send me some text that reproduces the > error? This would be very helpful!I isolated it from a 145k text file. This was a tough one! Nam liber tempor "...At vero eos et accusam" Michael
On Thu, 08 Apr 2010 16:03:03 +0200, Michael Franzl wrote:> Thomas Leitner wrote: > > That''s interesting - could you send me some text that reproduces the > > error? This would be very helpful! > > I isolated it from a 145k text file. This was a tough one! > > Nam liber tempor > "...At vero eos et accusam"Thanks for the test case!! It revealed the problem with smart quotes parsing and also lead to another, related problem that I have also fixed now. -- Thomas