[twdev] Re: Plugin works only in the example wiki

2018-08-27 Thread bimlas
Just tried out to install Markdown plugin, it shows the same warning 
message on terminal:

For $:/plugins/tiddlywiki/markdown, type is application/json hasMetaFile is 
false filepath is /home/nyolcas/src/tiddly-test/tiddlers/
$__plugins_tiddlywiki_markdown.tid

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/7ad4e7e6-7bd7-4f65-8b24-a5e4981b25b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Plugin works only in the example wiki

2018-08-27 Thread bimlas
This is how I bundling the plugin (if this helps):

https://gitlab.com/bimlas/tw5-asciidoctor/blob/6c74c727e26b5211d3cfc4c0fd720c99d119212f/.gitlab-ci.yml

The tiddlers of the wiki (eg. Example) are on `gl-pages` branch, this is 
why I checking out it.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/7a5fab26-eeaf-44f8-b574-ef1a72cac3b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Plugin works only in the example wiki

2018-08-27 Thread bimlas
Maybe I found something - I looked at the wrong place for logs: the 
terminal contains warning messages besides the developer console:

┌─[23:27] ~/src/tiddly-test
└─ $ tiddlywiki --init server
Copied edition 'server' to /home/nyolcas/src/tiddly-test


┌─[23:27] ~/src/tiddly-test
└─ $ tiddlywiki --server 
Serving on 127.0.0.1:8080
(press ctrl-C to exit)
 syncer-server-filesystem: Dispatching 'save' task: $:/StoryList 
For $:/StoryList, type is application/x-tiddler hasMetaFile is false 
filepath is /home/nyolcas/src/tiddly-test/tiddlers/$__StoryList.tid
 filesystem: Saved file /home/nyolcas/src/tiddly-test/tiddlers/$__StoryList.tid 

 syncer-server-filesystem: Dispatching 'save' task: $:/StoryList 
 filesystem: Saved file /home/nyolcas/src/tiddly-test/tiddlers/$__StoryList.tid 

 syncer-server-filesystem: Dispatching 'save' task: $:/StoryList 
 filesystem: Saved file /home/nyolcas/src/tiddly-test/tiddlers/$__StoryList.tid 


 # THIS IS WHERE I DROPPED THE PLUGIN IN TO THE WIKI

 syncer-server-filesystem: Dispatching 'save' task: 
$:/plugins/bimlas/asciidoctor 

For $:/plugins/bimlas/asciidoctor, type is application/json hasMetaFile is 
false filepath is /home/nyolcas/src/tiddly-test/tiddlers/
$__plugins_bimlas_asciidoctor.tid
 filesystem: Saved file /home/nyolcas/src/tiddly-test/tiddlers/
$__plugins_bimlas_asciidoctor.tid 

The interesting part is this:

For $:/plugins/bimlas/asciidoctor, type is application/json hasMetaFile is 
false filepath is /home/nyolcas/src/tiddly-test/tiddlers/
$__plugins_bimlas_asciidoctor.tid

... but a similar message was shown above (with plain, newly created wiki):

For $:/StoryList, type is application/x-tiddler hasMetaFile is false 
filepath is /home/nyolcas/src/tiddly-test/tiddlers/$__StoryList.tid

Thus I don't think that this is a real bug - if the plain Tiddly shows the 
same, then it's OK. ... A plain wiki without any tiddlers... Hmm... I have 
to check the filelist...

Nope, the filenames and plugin.info seems to be OK (see the code 
at https://gitlab.com/bimlas/tw5-asciidoctor/tree/master and the tiddlers 
inside the plugin's contents). I compared it to the Markdown plugin 
(https://tiddlywiki.com/plugins/tiddlywiki/markdown/), this is what I 
modified to use Asciidoctor.

I don't know... Maybe it's a bug in Tiddly? What works on single HTML does 
not works on Node?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/b1e4f845-22f7-42b2-b355-f883a8309c30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] TiddlySpot Saver Source Help

2018-08-27 Thread sendwheel
I want to replicate TiddlySpot Saver and expand on it's functionality and 
security.

Is that component sectioned off as a plugin in some way?
Is there a repo for that component specifically?

Ultimately I'd like to create an extension that has similar functionality 
and placement with TW.

Anyone that can point me in the right direction, appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/41a0d216-3d5e-49e1-bb00-eba8eb60eeba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Plugin works only in the example wiki

2018-08-27 Thread BJ
Hi Bimlas,
 I downloaded an empty tw from tiddlywiki.com and then dragged your plugin 
from https://bimlas.gitlab.io/tw5-asciidoctor/ and dropped it in the empty 
tw - it works ok -- in chrome 68 on xubuntu 18.04

cheers

BJ

On Monday, August 27, 2018 at 10:05:48 AM UTC+2, bimlas wrote:
>
> Hi!
>
> I just created a plugin to parse Asciidoctor in TiddlyWiki:
>
> http://bimlas.gitlab.io/tw5-asciidoctor/
>
> It works but only in this wiki - when I trying to install to my own, then 
> it prints the following error after restart:
>
> Internal JavaScript Error 
> Well, this is embarrassing. It is recommended that you restart TiddlyWiki 
> by refreshing your browser 
> Uncaught TypeError: Cannot read property 'call' of undefined
>
>
> Screenshot:  https://i.imgur.com/0EEC32l.png
>
> Somebody can help me to find the problem? The source code of the plugin 
> can be found at https://gitlab.com/bimlas/tw5-asciidoctor
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/8a3a81f2-ee33-4a40-b450-1bf82adabde7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Plugin works only in the example wiki

2018-08-27 Thread bimlas
No, it's not finished - the problem still exists, but the source code was 
private.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/3256ba00-f5b8-4e97-aaa9-668740be6380%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: Plugin works only in the example wiki

2018-08-27 Thread bimlas
Sorry, just realized that the project was private... (-_-') Now it's 
available to view.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/d605d2ff-fbc0-4c0e-90ab-8a3a044c087b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Plugin works only in the example wiki

2018-08-27 Thread bimlas
Hi!

I just created a plugin to parse Asciidoctor in TiddlyWiki:

http://bimlas.gitlab.io/tw5-asciidoctor/

It works but only in this wiki - when I trying to install to my own, then 
it prints the following error after restart:

Internal JavaScript Error 
Well, this is embarrassing. It is recommended that you restart TiddlyWiki 
by refreshing your browser 
Uncaught TypeError: Cannot read property 'call' of undefined


Screenshot:  https://i.imgur.com/0EEC32l.png

Somebody can help me to find the problem? The source code of the plugin can 
be found at https://gitlab.com/bimlas/tw5-asciidoctor

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/45526661-3d3e-4282-bcfc-919c9342337d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.