Three things to look into:
* I've just released a 0.9.6 which adds support for logging. By default it
just logs requests to tiddlyweb.log in the directory from which you start
the server. But if you set 'debug_level': 'DEBUG' in the config dict in
tiddlywebconfig.py it will record more stuff. What you might do is try the
things described above and see what the log reports. If it makes no sense,
you can send it to me and I can see if I can interpret what is going on.
* Also, have you seen Fred's response in the tiddlyweb installation thread.
This message may be related to what's going on:
http://groups.google.com/group/TiddlyWiki/msg/c531f43f67497e14
* Precondition Failed is an error that will be reported when one of two things
happens: the tiddler being saved has already been edited by someone or
something else and the version on the server is new than the one you have in
your TiddlyWiki, OR the client (TiddlyWiki) has generated an incorrectly formatted
Etag for the tiddler it is trying to save to the server. It is this latter
that is likely going on and the logs may be able to tell us if that is
the case. If not I can give you some additional code which will do even more
logging.
Let me know how things go.
Happy to hear that!
> I installed the TiddlyWebAutoSavePlugin
Actually, the TiddlyWebAutoSavePlugin should be obsolete by now,
replaced by the ServerSideSavingPlugin (and, to some extent,
TiddlyWebConfig).
> If you name a tiddler and the tiddlername includes characters like "/"
> or "." you can save the tiddler once,
> but if you make some changes to this tiddler you get the message 'Error
> saving ...Precondition Failed'
I can confirm this. I thought we had addressed this issue, but it seems
it's not resolved entirely.
Anyway, good catch - we'll investigate.
-- F.
There was a small bug in TiddlyWeb's ETag handling.
Chris has fixed this and released v0.9.7:
http://tiddlyweb.peermore.com/dist/CHANGES
-- F.
The basic unit is the tiddler.
Each individual tiddler has a workspace (in TiddlyWeb terms, that
translates to a certain bag or recipe) associated with it.
That means there isn't really some secret setting that defines the
current workspace for all tiddlers in the current document.
Thus a TiddlyWiki document might contain tiddlers from multiple workspaces.
For TiddlyWeb that means a single save/sync operation can trigger a save
to multiple bags, depending on how the respective tiddlers identify
themselves.
Tiddlers normally obtain that workspace association when they are first
created. This might happen via a NewTiddler button (as described in a
previous post), for example - only if no such information is given,
defaultCustomFields (usually defined in TiddlyWebConfig) are used.
Does this help at all?
> what was the reason for the bag-concept in filesystems?
I don't feel confident I can articulate this properly, so I'll leave
that task to Chris...
> I would have thrown these notes to the wiki, but i don't think it is
> useful as tiddlyweb is still evolving.
Oh, I think it would be useful - at the very least on a discussion page.
I hope I didn't miss any outstanding issues...
-- F.
There's the TiddlyWebTiddlerSourcePlugin:
http://tinyurl.com/7d7l53
(http://svn.tiddlywiki.org/Trunk//association/serversides/tiddlyweb/client/plugins/TiddlyWebTiddlerSourcePlugin.js)
However, I don't think that's actually operational these days. It was an
early exploratory effort, which now seems outdated both technically and
conceptually.
Essentially, changing a workspace is the same as renaming, so I'll have
to implement that first.
-- F.
Oh, I absolutely agree.
Since we haven't really experimented with the unplugged experience much
yet, I figured in this case the renaming thing was what's relevant.
-- F.
I can relate.
However, it would be possible to only store deltas - it's just a matter
of someone coming alone and writing that TiddlyWeb store...
-- F.