maxandersen / gdoc2adoc

Scripts to use for converting Google Docs to AsciiDoc(tor) format
Apache License 2.0
54 stars 17 forks source link

Error running 'sourceFont' not referenced #20

Open edewit opened 7 years ago

edewit commented 7 years ago

When I run the plugin I get the following error:

ReferenceError: "sourceFont" is not defined.
maxandersen commented 7 years ago

do you have an example doc where it fails on ?

or can you add content to https://docs.google.com/document/d/19VD9FCTj6tHeWxdhkmctA1r9Ko3surX3Ee8wp_iwlo4/edit?usp=sharing that will cause the error ?

garagatyi commented 5 years ago

Have the same issue

maxandersen commented 5 years ago

Same question :)

Got example where it fails ?

garagatyi commented 5 years ago

Not yet published Eclipse Che 7 docs :) Here https://github.com/maxandersen/gdoc2adoc/blob/master/converttoasciidoc.gapps#L418 is usage of a variable that is not declared. Here where declaration of this variable was before https://github.com/maxandersen/gdoc2adoc/commit/1048268170e9cd258da7e93b61136f3e8f4ede65#diff-1cd02c6ddccc22b1f7755f09e3bb2344L417. This commit introduces this bug

maxandersen commented 5 years ago

Could you update the doc with example of what causes failure ? Thx

garagatyi commented 5 years ago

I don't know what exactly in the docs causes that but from programming point of view checking against non-initialized variable is bug. From what I see in the https://github.com/maxandersen/gdoc2adoc/commit/1048268170e9cd258da7e93b61136f3e8f4ede65 it was initialized before, so it seems that initialization was removed by mistake