Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an error in running the latest version of the script. #5

Open
Sristuff opened this issue Nov 26, 2015 · 7 comments
Open

Getting an error in running the latest version of the script. #5

Sristuff opened this issue Nov 26, 2015 · 7 comments
Labels

Comments

@Sristuff
Copy link

Hi
Trying out the script for a document filled with Tables and images and got the following error.

Unfortunately it is not saying which line is at fault in the document for me to fix it or temporarily comment/remove it out.

Thanks
Srihari

Message details
TypeError: Cannot find function getIndentFirstLine in object Table

@lmmx lmmx added the bug label Dec 5, 2015
@oweizman
Copy link

oweizman commented Sep 9, 2016

Hi,

I am also getting this same issue when trying to run the script. Is there any work around?

@zhukovgreen
Copy link

Me either

@grahamlittle
Copy link

yes i can confirm this issue still exists

@jtheuer
Copy link

jtheuer commented Mar 31, 2017

same here, did anybody find the reason already?

@jftesser
Copy link

jftesser commented May 3, 2017

yep, happened to me too!

@katharing
Copy link

I found that setting the values of ind_f, ind_s and ind_e to 0 worked.

In other words, changing these lines:

  var ind_f = element.getIndentFirstLine();
  var ind_s = element.getIndentStart();
  var ind_e = element.getIndentEnd();

to

  var ind_f = 0;
  var ind_s = 0;
  var ind_e = 0;

@jftesser
Copy link

jftesser commented May 5, 2017

My export is succeeding now, tables showing up as html. Thanks for the fix!

jefforce added a commit to jefforce/gdocs2md-html that referenced this issue May 14, 2018
* Fixed an errant "#".
* Set ind_f, ind_s, and ind_e to 0 instead of relying upon
  element.getIndent* for Table objects (which seems not to work).
  See lmmx#5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants