[tw5] Re: Uncaught TypeError: title.substr is not a function
Siniy-kit, I don't know how to help, but if I were in this situation I would try and use the JSON Mangler plugin or XLSX Utilities edition to import the same spread sheet. Perhaps one of these will not experience the bug or fail gracefully helping you identify the problem. Do join us in discourse talk.tiddlywiki.org Tones On Saturday, 21 August 2021 at 04:24:03 UTC+10 Siniy-Kit wrote: > the problem was that title could non be a number (only a string), when we > create tiddler by > *if($tw.browser) {$tw.wiki.addTiddler(new > $tw.Tiddler($tw.wiki.getModificationFields(),fields,$tw.wiki.getCreationFields()))};* > so I make .toString() to all values and now it works > > пятница, 20 августа 2021 г. в 16:11:06 UTC+3, Eric Shulman: > >> On Friday, August 20, 2021 at 5:45:47 AM UTC-7 Siniy-Kit wrote: >> > Hi. I import data from this googlespreadsheet ... and get error >>> >> *Well, this is embarrassing. It is recommended that you restart >>> TiddlyWiki by refreshing your browser* >>> *Uncaught TypeError: title.substr is not a function* >>> >> >> I'm not certain, but I think you need a spreadsheet column with heading >> of "title", so the import knows what to name each imported tiddler. >> >> -e >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/787db633-a143-40b3-b5f0-fbde9e7322a7n%40googlegroups.com.
[tw5] Re: Uncaught TypeError: title.substr is not a function
the problem was that title could non be a number (only a string), when we create tiddler by *if($tw.browser) {$tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getModificationFields(),fields,$tw.wiki.getCreationFields()))};* so I make .toString() to all values and now it works пятница, 20 августа 2021 г. в 16:11:06 UTC+3, Eric Shulman: > On Friday, August 20, 2021 at 5:45:47 AM UTC-7 Siniy-Kit wrote: > >> Hi. I import data from this googlespreadsheet ... and get error >> > *Well, this is embarrassing. It is recommended that you restart TiddlyWiki >> by refreshing your browser* >> *Uncaught TypeError: title.substr is not a function* >> > > I'm not certain, but I think you need a spreadsheet column with heading of > "title", so the import knows what to name each imported tiddler. > > -e > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/42005e6e-3e7d-4aeb-82b3-410eb60031ecn%40googlegroups.com.
[tw5] Re: Uncaught TypeError: title.substr is not a function
this table https://docs.google.com/spreadsheets/d/16gDZVsB8FOIxrsFKbkbBNWC37lPUAfKOGf-rCVxeOmY/edit#gid=1627697525 don't have title column too, but works good. for spreadsheet import script id=title The problem that, when I see " *title.substr is not a function*" I am not able to find part of data from my table, which destroys my Tidlywiki. Console F12 doesn't help me пятница, 20 августа 2021 г. в 16:11:06 UTC+3, Eric Shulman: > On Friday, August 20, 2021 at 5:45:47 AM UTC-7 Siniy-Kit wrote: > >> Hi. I import data from this googlespreadsheet ... and get error >> > *Well, this is embarrassing. It is recommended that you restart TiddlyWiki >> by refreshing your browser* >> *Uncaught TypeError: title.substr is not a function* >> > > I'm not certain, but I think you need a spreadsheet column with heading of > "title", so the import knows what to name each imported tiddler. > > -e > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/044709af-b474-44e7-a888-3663d40382een%40googlegroups.com.
[tw5] Re: Uncaught TypeError: title.substr is not a function
On Friday, August 20, 2021 at 5:45:47 AM UTC-7 Siniy-Kit wrote: > Hi. I import data from this googlespreadsheet ... and get error > *Well, this is embarrassing. It is recommended that you restart TiddlyWiki > by refreshing your browser* > *Uncaught TypeError: title.substr is not a function* > I'm not certain, but I think you need a spreadsheet column with heading of "title", so the import knows what to name each imported tiddler. -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e20df832-1bb2-4cef-94d3-a0bfb0cbe731n%40googlegroups.com.