Is Anyone Using Noteself Successfully?

469 views
Skip to first unread message

RichardWilliamSmith

unread,
Sep 17, 2017, 12:32:09 AM9/17/17
to TiddlyWiki
I'm trying to get Noteself working. I was making good progress - got Couch running on a raspberry pi and set all the headers right so that I can connect to it. To begin with I set it to accept cors requests from anywhere - i was testing it with a downloaded version of the Noteself wiki and everything works fine but when I try to host that same file over http, it won't load (I've tried two different online hosts and apache running on the same box as couch) it keeps resetting and the console says "something went wrong booting tiddlywiki".

Does anyone know if this is a bug or if I'm missing a crucial distinction between online and offline usage?

Regards,
Richard


Danielo Rodríguez

unread,
Sep 18, 2017, 10:07:49 AM9/18/17
to TiddlyWiki
Hello Richard,
Could you please try to connect to your server directly from the online version of NoteSelf?
If you want you can open this kind of issues on the GitHub repo, I check it more often

RichardWilliamSmith

unread,
Sep 19, 2017, 4:14:28 AM9/19/17
to TiddlyWiki
Thanks for taking the time.

The short answer is that I don't think that works either, but it doesn't fail in the same way. I think there could be a problem with http/https from github to my local couch. The other issue - of the page constantly reloading can be seen (maybe?) on this one https://didaxy.neocities.org/tiddlywiki/noteselftasks.html.

In trying to debug this, it would be very helpful if I could sign out of the couch database, but instead it's like some kind of witchcraft - it keeps signing me back in. I thought I'd outsmarted it by moving the couchDB to a different port but then it logged back in anyway. How is it doing that? How do I log myself out or otherwise nuke the settings back to the start?

Thanks,

RichardWilliamSmith

unread,
Sep 19, 2017, 5:16:58 AM9/19/17
to TiddlyWiki
Hi again. I was being stupid/impatient and the wiki does in fact load ok from neocities, apart from the weird loading bar behaviour. When I got the same thing from my local host, I assumed it couldn't be just taking a long time. Maybe there is some bug where the connection is getting reset at random? I'm still not able to connect to my couch from there, but I'm more hopeful that it might just be a http/https thing that I should be able to figure out.

If you could answer my question about nuking the credentials, that would be still be helpful

RichardWilliamSmith

unread,
Sep 19, 2017, 9:00:03 AM9/19/17
to TiddlyWiki
sorry for repeated posting. I downloaded a fresh copy of Noteself from github and uploaded it to a local Apache web server (on the Raspberry pi) and it exhibits weird behaviour - it appears to keep refreshing itself (the 'loading' bar gets to ~10-50% at random). The console in Firefox doesn't show anything for some reason, but in Chrome it says "empty.html:280 Something went wrong booting tiddlywiki  TypeError: $tw.boot.boot is not a function at empty.html:278 at <anonymous>". Same file works fine from the filing system. Web server appears fine otherwise, get similar syptoms on a public server but have since also seen it load there.

Lost Admin

unread,
Sep 19, 2017, 9:28:21 AM9/19/17
to tiddl...@googlegroups.com


On Tuesday, September 19, 2017 at 9:00:03 AM UTC-4, RichardWilliamSmith wrote:
sorry for repeated posting. I downloaded a fresh copy of Noteself from github and uploaded it to a local Apache web server (on the Raspberry pi) and it exhibits weird behaviour - it appears to keep refreshing itself (the 'loading' bar gets to ~10-50% at random). The console in Firefox doesn't show anything for some reason, but in Chrome it says "empty.html:280 Something went wrong booting tiddlywiki  TypeError: $tw.boot.boot is not a function at empty.html:278 at <anonymous>". Same file works fine from the filing system. Web server appears fine otherwise, get similar syptoms on a public server but have since also seen it load there.

By default, Firefox clears the Javascript console on page refresh. If you disable that functionality, you will see the same error message(s). Or,  have a look at the screenshots I took that show the same issue: https://groups.google.com/forum/#!topic/tiddlywiki/sTAGedJxe6k

I'm glad to know it's not just me.

I would have submitted a bug report but when I go to the notself github page, I don't see the usual options at the top. I can't find the place to submit bug reports.

Danielo Rodríguez

unread,
Sep 21, 2017, 7:17:17 AM9/21/17
to TiddlyWiki
Hello Richard,

NoteSelf keeps singing you in because it uses the cookie of your browser. As long as the cookie exists you will be logged in. One solution is to open the page on the incognito mode.

Same file works fine from the filing system.

There seems to be a misconception about how NoteSelf is intended to be used. The offline version is packaged as it is because it is intended to be used as a single file, not to be served from a web-server. For serving it from a web server the online edition is a much better fit. Sadly I don't have time to support this kind of deploys neither to write a manual.

Please take in mind that you can not communicate any resource that mixes different levels of security, the browser will not allow you. This means that you can not talk to an http page from an https page.

Regards

RichardWilliamSmith

unread,
Sep 21, 2017, 9:39:02 AM9/21/17
to TiddlyWiki
Hi Danielo,

Thanks for your reply. I will look at setting up https on the Pi. Do you know what is causing the problem over http (vs file)? While I get it now that you didn't mean for people to host this file somewhere (I took 'offline' to mean just 'not hosted'), it is only really useful if it can be accessed from mobile and thowing it up alongside my actual couch seemed like the easiest thing to do.

Regards,
Richard

Mark S.

unread,
Sep 21, 2017, 10:19:46 AM9/21/17
to TiddlyWiki
When I attempt to log in through Firefox at https://noteself.github.io/online/, I get yellow sticky messages like:

https://noteself.github.io/online/Sync error while processing '$:/StoryList': {"status":500,"name":"indexed_db_went_bad","message":"unknown","reason":"Failed to open indexedDB, are you in private browsing mode?"}

I'm not in private browsing mode, BTW.

I think what happened is that I used the NS delete function to test if it was possible to purge data. I think bits of the original data are stuck in there, so it's in some sort in-between state. Is there a way to completely purge NS, including any cookies, so it can get a fresh start?

Thanks,
Mark
Reply all
Reply to author
Forward
0 new messages