public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Index to Pandoc error codes
@ 2017-01-13  9:45 Stephen Taylor
       [not found] ` <ff8ec68b-94cd-4057-9c1b-d2474fe8d53c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Taylor @ 2017-01-13  9:45 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 723 bytes --]

Pandoc exited a conversion with no output file and 

pandoc:

as an error message. There is an exit code – but where do I look that up? 

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ff8ec68b-94cd-4057-9c1b-d2474fe8d53c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Index to Pandoc error codes
       [not found] ` <ff8ec68b-94cd-4057-9c1b-d2474fe8d53c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-01-13 10:46   ` John MacFarlane
       [not found]     ` <20170113104639.GA60650-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
  2018-06-22 16:22   ` Francesco Occhipinti
  1 sibling, 1 reply; 5+ messages in thread
From: John MacFarlane @ 2017-01-13 10:46 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

So far you just have to look in the source:

% ack 'err \d' src pandoc.hs
src/Text/Pandoc/SelfContained.hs
148:                          Left msg -> err 67 $ "Could not fetch " ++ src ++

src/Text/Pandoc/Shared.hs
873:    Nothing       -> err 97 $ "Could not find data file " ++ fname
889:     else err 97 ("Could not find data file " ++ fn)

pandoc.hs
136:      err 83 $ "Error running filter " ++ f ++  ":\n" ++
145:       ExitFailure ec -> err 83 $ "Error running filter " ++ f ++ "\n" ++
148:       filterException e = err 83 $ "Error running filter " ++ f ++ "\n" ++
343:                           _              -> err 19
377:                           _              -> err 31
389:                            _        -> err 6
465:                         _              -> err 31
482:                          Nothing  -> err 77 "--wrap must be auto, none, or preserve")
491:                           _              -> err 33
507:                           _      -> err 57
522:                         Nothing -> err 39 $ "Unknown style: " ++ arg)
588:                            _        -> err 6
612:                        _       -> err 76 ("Top-level division must be " ++
628:                           _      -> err 57 "could not parse number-offset"
653:                           _      -> err 39
676:                            _            -> err 6
758:                           _      -> err 59
769:                        else err 45 "latex-engine must be pdflatex, lualatex, or xelatex.")
1145:     err 2 $ concat $ errors ++
1274:                         Left e  -> err 9 $
1290:                Left e   -> err 7 e'
1370:    err 5 $ "Cannot write " ++ format ++ " output to stdout.\n" ++
1485:                err 47 $ "cannot produce pdf output with " ++ format ++
1495:                   err 41 $ pdfprog ++ " not found. " ++
1504:                     err 43 "Error producing PDF"


+++ Stephen Taylor [Jan 13 17 01:45 ]:
>   Pandoc exited a conversion with no output file and
>   pandoc:
>   as an error message. There is an exit code – but where do I look that
>   up?
>
>   --
>   You received this message because you are subscribed to the Google
>   Groups "pandoc-discuss" group.
>   To unsubscribe from this group and stop receiving emails from it, send
>   an email to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/ff8ec68b-94cd-4057-
>   9c1b-d2474fe8d53c%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/ff8ec68b-94cd-4057-9c1b-d2474fe8d53c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20170113104639.GA60650%40Administrateurs-iMac-3.local.
For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Index to Pandoc error codes
       [not found]     ` <20170113104639.GA60650-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
@ 2018-06-21 13:26       ` 'ferdinand huegel' via pandoc-discuss
       [not found]         ` <622dcf7c-28c2-4fea-a129-aff4a3db989c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: 'ferdinand huegel' via pandoc-discuss @ 2018-06-21 13:26 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 4139 bytes --]

I have to look in some source to find out what exec codes means? Seriously?

Am Freitag, 13. Januar 2017 11:47:24 UTC+1 schrieb John MacFarlane:
>
> So far you just have to look in the source: 
>
> % ack 'err \d' src pandoc.hs 
> src/Text/Pandoc/SelfContained.hs 
> 148:                          Left msg -> err 67 $ "Could not fetch " ++ 
> src ++ 
>
> src/Text/Pandoc/Shared.hs 
> 873:    Nothing       -> err 97 $ "Could not find data file " ++ fname 
> 889:     else err 97 ("Could not find data file " ++ fn) 
>
> pandoc.hs 
> 136:      err 83 $ "Error running filter " ++ f ++  ":\n" ++ 
> 145:       ExitFailure ec -> err 83 $ "Error running filter " ++ f ++ "\n" 
> ++ 
> 148:       filterException e = err 83 $ "Error running filter " ++ f ++ 
> "\n" ++ 
> 343:                           _              -> err 19 
> 377:                           _              -> err 31 
> 389:                            _        -> err 6 
> 465:                         _              -> err 31 
> 482:                          Nothing  -> err 77 "--wrap must be auto, 
> none, or preserve") 
> 491:                           _              -> err 33 
> 507:                           _      -> err 57 
> 522:                         Nothing -> err 39 $ "Unknown style: " ++ arg) 
> 588:                            _        -> err 6 
> 612:                        _       -> err 76 ("Top-level division must be 
> " ++ 
> 628:                           _      -> err 57 "could not parse 
> number-offset" 
> 653:                           _      -> err 39 
> 676:                            _            -> err 6 
> 758:                           _      -> err 59 
> 769:                        else err 45 "latex-engine must be pdflatex, 
> lualatex, or xelatex.") 
> 1145:     err 2 $ concat $ errors ++ 
> 1274:                         Left e  -> err 9 $ 
> 1290:                Left e   -> err 7 e' 
> 1370:    err 5 $ "Cannot write " ++ format ++ " output to stdout.\n" ++ 
> 1485:                err 47 $ "cannot produce pdf output with " ++ format 
> ++ 
> 1495:                   err 41 $ pdfprog ++ " not found. " ++ 
> 1504:                     err 43 "Error producing PDF" 
>
>
> +++ Stephen Taylor [Jan 13 17 01:45 ]: 
> >   Pandoc exited a conversion with no output file and 
> >   pandoc: 
> >   as an error message. There is an exit code – but where do I look that 
> >   up? 
> > 
> >   -- 
> >   You received this message because you are subscribed to the Google 
> >   Groups "pandoc-discuss" group. 
> >   To unsubscribe from this group and stop receiving emails from it, send 
> >   an email to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> >   To post to this group, send email to 
> >   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> >   To view this discussion on the web visit 
> >   [3]
> https://groups.google.com/d/msgid/pandoc-discuss/ff8ec68b-94cd-4057- 
> >   9c1b-d2474fe8d53c%40googlegroups.com. 
> >   For more options, visit [4]https://groups.google.com/d/optout. 
> > 
> >References 
> > 
> >   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:> 
> >   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:> 
> >   3. 
> https://groups.google.com/d/msgid/pandoc-discuss/ff8ec68b-94cd-4057-9c1b-d2474fe8d53c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer 
> >   4. https://groups.google.com/d/optout 
>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/622dcf7c-28c2-4fea-a129-aff4a3db989c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 8019 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Index to Pandoc error codes
       [not found]         ` <622dcf7c-28c2-4fea-a129-aff4a3db989c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-06-21 14:22           ` Ivan Lazar Miljenovic
  0 siblings, 0 replies; 5+ messages in thread
From: Ivan Lazar Miljenovic @ 2018-06-21 14:22 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 5407 bytes --]

On Thu, 21 Jun 2018 at 23:26, 'ferdinand huegel' via pandoc-discuss <
pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:

> I have to look in some source to find out what exec codes means? Seriously?
>

File a bug report (it may have been an oversight not to document them).

Submit a pull request to the documentation that adds it.

Be grateful that the software exists in such high quality rather than
acting out because it's not 100% perfect.


>
> Am Freitag, 13. Januar 2017 11:47:24 UTC+1 schrieb John MacFarlane:
>>
>> So far you just have to look in the source:
>>
>> % ack 'err \d' src pandoc.hs
>> src/Text/Pandoc/SelfContained.hs
>> 148:                          Left msg -> err 67 $ "Could not fetch " ++
>> src ++
>>
>> src/Text/Pandoc/Shared.hs
>> 873:    Nothing       -> err 97 $ "Could not find data file " ++ fname
>> 889:     else err 97 ("Could not find data file " ++ fn)
>>
>> pandoc.hs
>> 136:      err 83 $ "Error running filter " ++ f ++  ":\n" ++
>> 145:       ExitFailure ec -> err 83 $ "Error running filter " ++ f ++
>> "\n" ++
>> 148:       filterException e = err 83 $ "Error running filter " ++ f ++
>> "\n" ++
>> 343:                           _              -> err 19
>> 377:                           _              -> err 31
>> 389:                            _        -> err 6
>> 465:                         _              -> err 31
>> 482:                          Nothing  -> err 77 "--wrap must be auto,
>> none, or preserve")
>> 491:                           _              -> err 33
>> 507:                           _      -> err 57
>> 522:                         Nothing -> err 39 $ "Unknown style: " ++
>> arg)
>> 588:                            _        -> err 6
>> 612:                        _       -> err 76 ("Top-level division must
>> be " ++
>> 628:                           _      -> err 57 "could not parse
>> number-offset"
>> 653:                           _      -> err 39
>> 676:                            _            -> err 6
>> 758:                           _      -> err 59
>> 769:                        else err 45 "latex-engine must be pdflatex,
>> lualatex, or xelatex.")
>> 1145:     err 2 $ concat $ errors ++
>> 1274:                         Left e  -> err 9 $
>> 1290:                Left e   -> err 7 e'
>> 1370:    err 5 $ "Cannot write " ++ format ++ " output to stdout.\n" ++
>> 1485:                err 47 $ "cannot produce pdf output with " ++ format
>> ++
>> 1495:                   err 41 $ pdfprog ++ " not found. " ++
>> 1504:                     err 43 "Error producing PDF"
>>
>>
>> +++ Stephen Taylor [Jan 13 17 01:45 ]:
>> >   Pandoc exited a conversion with no output file and
>> >   pandoc:
>> >   as an error message. There is an exit code – but where do I look that
>> >   up?
>> >
>> >   --
>> >   You received this message because you are subscribed to the Google
>> >   Groups "pandoc-discuss" group.
>> >   To unsubscribe from this group and stop receiving emails from it,
>> send
>> >   an email to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >   To post to this group, send email to
>> >   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >   To view this discussion on the web visit
>> >   [3]
>> https://groups.google.com/d/msgid/pandoc-discuss/ff8ec68b-94cd-4057-
>> >   9c1b-d2474fe8d53c%40googlegroups.com.
>> >   For more options, visit [4]https://groups.google.com/d/optout.
>> >
>> >References
>> >
>> >   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> >   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> >   3.
>> https://groups.google.com/d/msgid/pandoc-discuss/ff8ec68b-94cd-4057-9c1b-d2474fe8d53c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>> >   4. https://groups.google.com/d/optout
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/622dcf7c-28c2-4fea-a129-aff4a3db989c%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/622dcf7c-28c2-4fea-a129-aff4a3db989c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
http://IvanMiljenovic.wordpress.com

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CA%2Bu6gbzeKPt5a8-ez6NncVsCkVeGioP0twKOLDZX6od%3DokrSuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 8216 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Index to Pandoc error codes
       [not found] ` <ff8ec68b-94cd-4057-9c1b-d2474fe8d53c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-01-13 10:46   ` John MacFarlane
@ 2018-06-22 16:22   ` Francesco Occhipinti
  1 sibling, 0 replies; 5+ messages in thread
From: Francesco Occhipinti @ 2018-06-22 16:22 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1176 bytes --]


A clever idea adopted by the Purescript compiler is to show users a link to 
a wiki page when an error occurs. This way it's easier to contribute to a 
knowledge base for errors, also by whom is not willing to look at the code 
or modify it. 

Here an example of error page 
https://github.com/purescript/documentation/blob/master/errors/UnknownImport.md

On Friday, January 13, 2017 at 10:45:22 AM UTC+1, Stephen Taylor wrote:
>
> Pandoc exited a conversion with no output file and 
>
> pandoc:
>
> as an error message. There is an exit code – but where do I look that up? 
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7ba5a2e9-fffb-4fd4-b932-40589383bc49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1827 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-22 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-13  9:45 Index to Pandoc error codes Stephen Taylor
     [not found] ` <ff8ec68b-94cd-4057-9c1b-d2474fe8d53c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-01-13 10:46   ` John MacFarlane
     [not found]     ` <20170113104639.GA60650-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
2018-06-21 13:26       ` 'ferdinand huegel' via pandoc-discuss
     [not found]         ` <622dcf7c-28c2-4fea-a129-aff4a3db989c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-06-21 14:22           ` Ivan Lazar Miljenovic
2018-06-22 16:22   ` Francesco Occhipinti

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 NNTP newsgroup(s).