sync/import issues?

58 views
Skip to first unread message

Jonnan

unread,
Aug 6, 2009, 7:55:16 PM8/6/09
to TiddlyWiki
I have similar (but not quite identical) issues with sync on Linux and
Windows. Had problem on previous versions (have alway worked around
it) but am currently on 2.5.2 on all the tiddlers here.

Tiddler Server type Server host Server workspace Synchronisation
status Server URL

Linux (Ubuntu 9.04, FF 3.0.13),
Sync detected tiddlers I have imported, and shows the correct URL in
the server host.
It detects the change (or lack thereof) on the server copy. However
clinking on the actual Server URL field gives gives a path that goes
to (where . is the local folder the tiddlywiki file is in - i.e.~jwest
\my files\tiddlywiki\) .\storywiki.tiddlyspot.com#test
The Sync button, it does Nothing!

Other than minor differences in local filesystem layout, Windows XP
(Firefox 3.5.2) gives basically the same results, except it does *not*
detect changes in the tiddler on the server. Server URL still points
to a (non-existent) local mash of the URL as filename, sync button
doesn't do anything.

Both of them work fine if the sync is from a file in the same folder.

There's probably a smart way to test whether or not my copy on
Tiddlyspot does the same thing, but I can't get the import to work on
that - "Error getting list of tiddlers, click Cancel to try again",
Import works from server to local files and from local files in the
same folder to local files - Importing from a *separate* local
directory seems to hang at "Getting the list of available tiddlers"
though.

Do any of these work for others, or in different browsers? I've found
Firefox works most consistently with TiddlyWiki (Chrome and IE tend to
have issues in my experience), but I'm not see a lot of information
about problems with this on the list, and I've had variants of it for
several versions.

Is it just me? -Jonnan

Jar

unread,
Aug 10, 2009, 3:55:01 PM8/10/09
to TiddlyWiki
Hello,

I have the same problem. I try to import a theme from tiddlythemes.com
but when I copy/paste the correct URL it is not able to load tiddlers.
Using 2.5.2 with only LooseLinks and SinglePageMode as plugins. I have
no clue.

Jeroen

On Aug 7, 1:55 am, Jonnan <jonnan.w...@gmail.com> wrote:
> I have similar (but not quite identical) issues with sync on Linux and
> Windows. Had problem on previous versions (have alway worked around
> it) but am currently on 2.5.2 on all the tiddlers here.
>
> Tiddler Server type Server host Server workspace Synchronisation
> status Server URL
>
> Linux (Ubuntu 9.04, FF 3.0.13),
> Sync detected tiddlers I have imported, and shows the correct URL in
> the server host.
> It detects the change (or lack thereof) on the server copy. However
> clinking on the actual Server URL field gives gives a path that goes
> to (where . is the local folder the tiddlywiki file is in - i.e.~jwest
> \my files\tiddlywiki\) .\storywiki.tiddlyspot.com#test
> The Sync button, it does Nothing!
>
> Other than minor differences in local filesystem layout, Windows XP
> (Firefox 3.5.2) gives basically the same results, except it does *not*
> detect changes in the tiddler on the server. Server URL still points
> to a (non-existent) local mash of the URL as filename, sync button
> doesn't do anything.
>
> Both of them work fine if the sync is from a file in the same folder.
>
> There's probably a smart way to test whether or not my copy on
> Tiddlyspot does the same thing, but I can't get theimportto work on
> that - "Error getting list of tiddlers, click Cancel to try again",Importworks from server to local files and from local files in the

Radu

unread,
Aug 12, 2009, 8:18:29 AM8/12/09
to TiddlyWiki
> Linux (Ubuntu 9.04, FF 3.0.13),
> Sync detected tiddlers I have imported, and shows the correct URL in
> the server host.
> It detects the change (or lack thereof) on the server copy. However
> clinking on the actual Server URL field gives gives a path that goes
> to (where . is the local folder the tiddlywiki file is in - i.e.~jwest
> \my files\tiddlywiki\) .\storywiki.tiddlyspot.com#test
> The Sync button, it does Nothing!

I have the same issue on MacOSX, with Firefox 3.5.2 and TW 2.5.2.
The sync button does *nothing*.

ybabel

unread,
Aug 12, 2009, 9:21:17 AM8/12/09
to TiddlyWiki
Same : FF3.5.2 and Ubuntu9.04 TW 2.5.2

FND

unread,
Aug 13, 2009, 1:45:39 PM8/13/09
to Tiddl...@googlegroups.com
Have you tried the 2.5.3 beta?
http://groups.google.com/group/TiddlyWiki/t/1b7501e91bd0203f

That might solve these issues.


-- F.

Jonnan

unread,
Aug 14, 2009, 11:40:28 PM8/14/09
to TiddlyWiki
Definitely interested - Whether I can get it done while it's still
*in* beta is a second question, but glad to know that it's not just me
and that a solution is in the pipeline.

Because I definitely, in principle, like the thought of being able to
auto update stuff without going through the 'import' process.

Jonnan

rouilj

unread,
Aug 15, 2009, 12:45:05 AM8/15/09
to TiddlyWiki
On Aug 14, 11:40 pm, Jonnan <jonnan.w...@gmail.com> wrote:
> On Aug 13, 1:45 pm, FND <F...@gmx.net> wrote:
>
> > Have you tried the 2.5.3 beta?
> >      http://groups.google.com/group/TiddlyWiki/t/1b7501e91bd0203f
>
> > That might solve these issues.

I am using 2.5.3 beta on firefox 3.5.2 windows xp sp3. If I choose
sync in my tw, I see two entries highlighted in blue
and marked "changed on server". When I enable the check box for just
those two tiddlers and click on sync firebug reports
syncItem is not defined at line 29723:

28695 config.macros.sync.doSync = function(e)
...
28722 case sl.changedServer:
28723 r = si.adaptor.getTiddler
(syncItem.title,null,si,getTiddlerCallback); <-------
28724 break;
28725 case sl.notFound:
28726 case sl.changedLocally:
28727 case sl.changedBoth:
28728 r = si.adaptor.putTiddler
(si.tiddler,null,si,putTiddlerCallback);
28729 break;
28730 default:

should that be si.title and not syncItem.title?

syncItem is defined as a formal parameter for the putTiddlerCallback
and getTiddlerCallback,
but I don't see it defined anywhere in the scope of the function
assigned to doSync.

-- rouilj


koyut

unread,
Aug 15, 2009, 11:13:54 PM8/15/09
to TiddlyWiki
Tried testing the beta release
I get this error When I try syncing
"sync operation unsupported: si.adaptor.putTiddler is not a function"

TiddlyWiki version: 2.5.3 (beta 1)
FF: 3.5.2
Windows XP SP3

rouilj

unread,
Aug 15, 2009, 11:38:48 PM8/15/09
to TiddlyWiki
Two questions:

1. have you selectd any tiddlers marked changed while unplugged?
2. are you using a local tiddlywiki file without any server
connection?

If so then this is expected. If you have a locally changed entry, it
wants to put that tiddler on a
server so you don't lose any work. However there is no server side
configured and hence no putTiddler.

See:

http://groups.google.com/group/TiddlyWiki/browse_thread/thread/99b67ad4171952ea

for a better explanation.

FND could we maybe change the error message into:

Not syncing tiddler X from server due to local changes:
si.adaptor....

That at least makes the intent of the error more obvious (assuming
that is the only way that error is interpreted).

-- rouilj

koyut

unread,
Aug 16, 2009, 3:13:28 AM8/16/09
to TiddlyWiki
Thank you for pointing that out... never knew that... just got back to
using tiddlywiki... forgot a lot of things

On Aug 16, 11:38 am, rouilj <rou...@cs.umb.edu> wrote:
> On Aug 15, 11:13 pm, koyut <koyut.c...@gmail.com> wrote:
>
> > Tried testing the beta release
> > I get this error When I try syncing
> > "sync operation unsupported: si.adaptor.putTiddler is not a function"
>
> > TiddlyWiki version: 2.5.3 (beta 1)
> > FF: 3.5.2
> > Windows XP SP3
>
> Two questions:
>
>   1. have you selectd any tiddlers marked changed while unplugged?
>   2. are you using a local tiddlywiki file without any server
> connection?
>
> If so then this is expected. If you have a locally changed entry, it
> wants to put that tiddler on a
> server so you don't lose any work. However there is no server side
> configured and hence no putTiddler.
>
> See:
>
>    http://groups.google.com/group/TiddlyWiki/browse_thread/thread/99b67a...

Martin Budden

unread,
Aug 17, 2009, 9:34:33 AM8/17/09
to TiddlyWiki
Rouilj,

well spotted. This is definitely an error.

Thanks,

Martin

FND

unread,
Aug 17, 2009, 10:28:35 AM8/17/09
to Tiddl...@googlegroups.com
Great job investigating that, rouilj!
This typo has now been fixed:
http://trac.tiddlywiki.org/ticket/1128

In our testing, this fixed sync'ing (pulling in remote changes).
If that's not the case (as suggested in our IRC conversation), can you
provide us with a minimal test case?

> could we maybe change the error message into:
> Not syncing tiddler X from server due to local changes

Unfortunately, it's not that simple. With the generic check we have in
place now, the code doesn't know which adaptor method is unsupported
(e.g. it might be getTiddler instead of putTiddler) - so if we give a
specific reason like that, it will only be correct in some this specific
case (when sync'ing TiddlyWiki documents with the FileAdaptor), but not
in other cases.


-- F.

Reply all
Reply to author
Forward
0 new messages