-
Notifications
You must be signed in to change notification settings - Fork 124
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
Noteself + TiddlyMap #282
Comments
Which tiddlymap plugins have you installed ? As long as I can remember at least 3 are required |
Following the instructions: http://tiddlymap.org/#Installation
I installed all the above. Noteself has it's own plugins but I installed TiddlyMap without doing anything to Noteself (eg putting in server details and connecting to a CouchDB server). |
That should work. I'll try tonight to check what happens. Tiddlymap is somera a special plugin, it is bigger that any other. |
Hola @danielo515 many thanks for helping out here amigo :) |
I would be interested in something like that. Were you able to replicate this issue? |
Hello @Aq32 , yes I was able to replicate the issue on a brand new database. The problem seems to be related to the optimizations TiddlyMap does on startup. Just installing the plugin does not produce any error, however, after the "optimization welcome" message the problems you said appears: According to the error messages looks like tiddlymap is doing some funny things with tiddlers under the hood, modifying them bypassing the sync mechanism or things like that. However despite the error messages the plugin seems to work well, so you can just close those message and continue using your wiki. |
@danielo515 the first Tiddler ".../misc/meta" is created by a TiddlyMap service called "caretaker" which is a "startup" module-type and is executed when TiddlyMap boots. The other tiddler is actually a shadow tiddler that is shipped with TiddlyMap. I am not too well acquainted with the sync mechanism of TiddlyWiki. Is the |
Hello Daniel and Felix. Getting back to a pet project I've been working on and continue to be amazed at what you've both created on top of Tiddlywiki. I just installed a fresh CouchDB using one click install in GCP. I created a GCP load balancer with TLS on the front end talking to CouchDB via http on the usual 5984. Everything went pretty smoothly, mainly because I had been doing something similar on another project. :-) I also knew to enable CORS on CouchDB, specifically for noteself.github.io from a previous attempt a few months back where I wasted many hours on that issue. :-) Anyhow, all looks good. Added some users on CoudhDB and was able to use Noteself online. Dragged the four awesome TiddlyMap plug-ins and everything appears to be working well except for the issues described above. On startup I get about 6 of these errors. '$:/plugins/felixhayashi/tiddlymap/graph/views/Default/filter/edges': TypeError: Cannot read property 'rev' of undefined I haven't used it much yet to know if they reappear during any actions. Did you ever happen to isolate the issue? Is it truly a non-issue? All the best guys. |
Thanks @hodgigre :) @danielo515 seems to be also the case for non-TiddlyMap related tiddlers (https://forum.noteself.org/t/typeerror-cannot-read-property-rev-of-undefined/63) |
@hodgigre could you please paste the tid file ($:/plugins/felixhayashi/tiddlymap/graph/views/Default/filter/edges) that causes the problem here as screenshot or as export? Something like this: |
Wish I hadn't done that from email :-) Hopefully the image links work. |
Thinking I didn't provide the screenshot of what you wanted. Here is what you asked for @felixhayashi . Not sure how to inline the images. :-( |
Thanks @hodgigre will take a look this week. |
Also on what I am pretty sure is a related issue, every time I start my wiki or reload and open the Map tab, I get the popup that it looks like it is the first time I've used TiddlyMap along with a couple of the rev sync popups. And this has my map positions reset losing all my work in positioning how I wanted them. This recurs on every reload. Just keeping you informed. :-) |
I was keen to have a working Noteself wiki with Tiddlymap too. Each project takes TW to a new level, I'm really impressed by them. I think I managed to get it working using NodeJS, I've given instructions on the noteself forum https://forum.noteself.org/t/tw-5-1-19-noteself-and-tiddlymap-together/187 I think it works because NodeJS serves TW with Tiddlymap already configured, and then NodeJS allows tiddlypouch to inject the necessary code to work as a plugin. Tiddlypouch runs, and doesn't clash with the Tiddlymap initialization, which was only run once and doesn't need to be saved to the pouchdb database. |
@PhDyellow any chance you still have that file? Dropbox 404s and the issue still persists :( |
Sorry @meredrica, I don't have a blank copy around anymore. Are you able to build it yourself using the instructions? |
I just made some fixes on noteself and created a tiddlymap edition:
This may be related to #300 |
@PhDyellow I did, but with a different method. What I did was:
The process is a bit fragile but it works. The sad news tho: The whole system breaks if you are unlucky. I ran into a javascript error with tiddlymap and the error is persisted forever - no more live view for me. So I decided to go back to the node run version. |
@meredrica thanks for the write up. I'll tro to create a static version containing those tiddlers baked in with also NS installed. I'll update here |
I checked in my file here: https://github.com/meredrica/noteself-tiddlymap |
@danielo515 This might not be serious, as I'm a new TiddlyWiki user and it's possible I made a common mistake.
TiddlyMap itself works well, I just can't edit my tiddlers. |
Yeah, sorry about that @rkique |
@danielo515 any news on this? |
@meredrica I tried all that I could think and nothing made tiddlymap work. In general, I think it can not work with anything that is an asynchronous store, at least not with the current paradigm TiddlyWiki has |
I am having the same issue, unfortunately. |
With a fresh Noteself after installing the TiddlyMap plugins and refreshing there are immediately 4 errors that show up:
syncer-browser: Sync error while processing '$:/plugins/felixhayashi/tiddlymap/misc/meta': TypeError: t is undefined
syncer-browser: Sync error while processing '$:/plugins/felixhayashi/tiddlymap/graph/views/Live View/filter/edges': TypeError: t is undefined
syncer-browser: Sync error while processing '$:/plugins/felixhayashi/tiddlymap/graph/nodeTypes/tmap:central-topic': TypeError: t is undefined
syncer-browser: Sync error while processing '$:/plugins/felixhayashi/tiddlymap/graph/nodeTypes/tmap:neighbour': TypeError: t is undefined
Firefox 60.0b14 Win10
The text was updated successfully, but these errors were encountered: