I have a similar problem.
mkerriganmacbookpro:Five Mark$ tiddlywiki --server
$:/core/modules/wiki.js:279
bb = b.fields[sortField].toLowerCase() || "";
^
TypeError: Cannot call method 'toLowerCase' of undefined
at $:/core/modules/wiki.js:279:29
at Array.sort (native)
at exports.getTiddlers ($:/core/modules/wiki.js:277:11)
at exports.forEachTiddler ($:/core/modules/wiki.js:345:17)
at Syncer.init ($:/core/modules/syncer.js:71:12)
at new Syncer ($:/core/modules/syncer.js:31:8)
at Object.exports.startup ($:/core/modules/startup.js:35:15)
at /usr/local/lib/node_modules/tiddlywiki/boot/boot.js:1460:11
at /usr/local/lib/node_modules/tiddlywiki/boot/boot.js:655:3
at Object.$tw.utils.each
(/usr/local/lib/node_modules/tiddlywiki/boot/boot.js:92:6)
Fortunately, I was able to make it disappear when I removed all of the
images from my tiddlers folder. Is there something about about the node.js
version that can't handle images?
Thanks
Mark Kerrigan
On Saturday, January 25, 2014 5:31:34 AM UTC-8, David Gifford wrote:
>
> ok I will try that later. gotta run to an appointment. Blessings!
>
>
> On Sat, Jan 25, 2014 at 8:23 AM, Jeremy Ruston
> <[email protected]<javascript:>
> > wrote:
>
>> No, you can do it with a binary chop: start by adding half the tiddlers.
>> If it works, add the other half. If it doesn't work, try each of the halves
>> of the half that didn't work. By repeating those steps you can track it
>> down.
>>
>> If you're running into problems you can also zip up the wiki folder and
>> send it to me,
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>> On Sat, Jan 25, 2014 at 1:20 PM, David Gifford
>> <[email protected]<javascript:>
>> > wrote:
>>
>>> So for hundreds of tiddlers I need to add one tiddler at a time, and
>>> each time I need to close and reopen node.js, and do the two steps to get
>>> the TW open?
>>>
>>> Dave
>>>
>>>
>>> On Sat, Jan 25, 2014 at 8:09 AM, Jeremy Ruston
>>> <[email protected]<javascript:>
>>> > wrote:
>>>
>>>>
>>>> On Sat, Jan 25, 2014 at 1:07 PM, David Gifford
>>>> <[email protected]<javascript:>
>>>> > wrote:
>>>>
>>>>> Are there any symbols that must not be in tiddler titles? I saw one
>>>>> with ~ and I have Spanish characters in some titles
>>>>>
>>>>
>>>> There are no restrictions on tiddler titles, you can use any characters
>>>> that you can type. There are characters that can't be used in filenames,
>>>> depending on the operating system, but TiddlyWiki avoids those characters
>>>> when generating filenames from tiddler titles.
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> Dave
>>>>>
>>>>>
>>>>> On Sat, Jan 25, 2014 at 8:03 AM, Jeremy Ruston
>>>>> <[email protected]<javascript:>
>>>>> > wrote:
>>>>>
>>>>>> Hi Dave
>>>>>>
>>>>>> I'm very pleased you're using Node as well, firstly because I'm
>>>>>> excited to see what you'll come up with when given this new palette of
>>>>>> possibilities, and secondly because I think you'll be in a great
>>>>>> position
>>>>>> to help others through the journey you've undergone.
>>>>>>
>>>>>> The error trace implies that you've somehow got a tiddler in your
>>>>>> wiki folder that does not have a properly formed title. It's not clear
>>>>>> how
>>>>>> that happened, but it does suggest a strategy for tracking it down.
>>>>>>
>>>>>> Can you make an empty copy of your wiki folder, and then gradually
>>>>>> add back in the tiddlers from your current folder? You'll need to
>>>>>> restart
>>>>>> TiddlyWiki between each attempt. By trial and error you should be able
>>>>>> to
>>>>>> track down if there's a specific tiddler that is causing the problem.
>>>>>>
>>>>>> Best wishes
>>>>>>
>>>>>> Jeremy
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sat, Jan 25, 2014 at 12:57 PM, David Gifford
>>>>>> <[email protected]<javascript:>
>>>>>> > wrote:
>>>>>>
>>>>>>> By the way I should really point out that I am starting to get
>>>>>>> pretty excited about TW5 on node.js. So glad I am taking the time to
>>>>>>> learn
>>>>>>> to do this. This is really going to be cool!
>>>>>>>
>>>>>>> Dave
>>>>>>>
>>>>>>>
>>>>>>> On Saturday, January 25, 2014 7:53:07 AM UTC-5, David Gifford wrote:
>>>>>>>>
>>>>>>>> Hi all
>>>>>>>>
>>>>>>>> I was so proud of myself last night. I created a node.js TW5,
>>>>>>>> imported tiddlers, edited and created, saved, rearranged my tiddlers,
>>>>>>>> etc.
>>>>>>>>
>>>>>>>> Now today I get the message below, which makes me think everything
>>>>>>>> is okay, but when I try to open the 127.thingamajigger in my browser,
>>>>>>>> it
>>>>>>>> tells me I can't connect to it.
>>>>>>>>
>>>>>>>> I did move all the $ tiddlers into a separate folder to make it
>>>>>>>> easy to sort tiddlers. Don't know if that makes a difference.
>>>>>>>>
>>>>>>>> Any help would be appreciated.
>>>>>>>>
>>>>>>>> Your environment has been set up for using Node.js 0.10.24 (x64)
>>>>>>>> and npm.
>>>>>>>>
>>>>>>>> C:\Users\Dave>cd C:/Users/Dave/SkyDrive/globaltw
>>>>>>>>
>>>>>>>> C:\Users\Dave\SkyDrive\globaltw>tiddlywiki --server
>>>>>>>>
>>>>>>>> $:/core/modules/wiki.js:279
>>>>>>>> bb = b.fields[sortField].toLowerCase() ||
>>>>>>>> "";
>>>>>>>> ^
>>>>>>>> TypeError: Cannot call method 'toLowerCase' of undefined
>>>>>>>> at $:/core/modules/wiki.js:279:29
>>>>>>>> at Array.sort (native)
>>>>>>>> at exports.getTiddlers ($:/core/modules/wiki.js:277:11)
>>>>>>>> at exports.forEachTiddler ($:/core/modules/wiki.js:351:17)
>>>>>>>> at Syncer.init ($:/core/modules/syncer.js:71:12)
>>>>>>>> at new Syncer ($:/core/modules/syncer.js:31:8)
>>>>>>>> at Object.exports.startup ($:/core/modules/startup.js:35:15)
>>>>>>>> at C:\Users\Dave\AppData\Roaming\npm\node_modules\tiddlywiki\
>>>>>>>> boot\boot.js:14
>>>>>>>> 60:11
>>>>>>>> at C:\Users\Dave\AppData\Roaming\npm\node_modules\tiddlywiki\
>>>>>>>> boot\boot.js:65
>>>>>>>> 5:3
>>>>>>>> at Object.$tw.utils.each (C:\Users\Dave\AppData\
>>>>>>>> Roaming\npm\node_modules\tid
>>>>>>>> dlywiki\boot\boot.js:92:6)
>>>>>>>>
>>>>>>>> C:\Users\Dave\SkyDrive\globaltw>
>>>>>>>>
>>>>>>> --
>>>>>>> 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 [email protected] <javascript:>.
>>>>>>> To post to this group, send email to
>>>>>>> [email protected]<javascript:>
>>>>>>> .
>>>>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Jeremy Ruston
>>>>>> mailto:[email protected] <javascript:>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to a topic in
>>>>>> the Google Groups "TiddlyWiki" group.
>>>>>> To unsubscribe from this topic, visit
>>>>>> https://groups.google.com/d/topic/tiddlywiki/6usfxdcOlSw/unsubscribe.
>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>> [email protected] <javascript:>.
>>>>>>
>>>>>> To post to this group, send email to
>>>>>> [email protected]<javascript:>
>>>>>> .
>>>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> David Gifford
>>>>> Christian Reformed World Missions, Mexico City
>>>>>
>>>>> --
>>>>> 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 [email protected] <javascript:>.
>>>>> To post to this group, send email to
>>>>> [email protected]<javascript:>
>>>>> .
>>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jeremy Ruston
>>>> mailto:[email protected] <javascript:>
>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "TiddlyWiki" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/tiddlywiki/6usfxdcOlSw/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected] <javascript:>.
>>>> To post to this group, send email to [email protected]<javascript:>
>>>> .
>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>> --
>>> David Gifford
>>> Christian Reformed World Missions, Mexico City
>>>
>>> --
>>> 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 [email protected] <javascript:>.
>>> To post to this group, send email to [email protected]<javascript:>
>>> .
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected] <javascript:>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tiddlywiki/6usfxdcOlSw/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> David Gifford
> Christian Reformed World Missions, Mexico City
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.