Closed Bug 450867 Opened 16 years ago Closed 16 years ago

2008-08-16 12:01:09 Service.Main WARN Engine exception: TypeError: tracker is not a constructor

Categories

(Cloud Services :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 450396

People

(Reporter: rob.dehoog, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: 0.2.6

Hi i have made my own server with webdav and everything looks fine but, when i add an bookmark at PC1 and sync it and afterwards i sync PC2 to pickup this bookmark it's not there...

Log PC1
[code]
2008-08-16 12:01:07	Bookmark Share	INFO	Got Shares: 
2008-08-16 12:01:07	Service.BmkEngine	INFO	Beginning sync
2008-08-16 12:01:07	Service.RemoteStore	INFO	Last sync snapshot version: 4
2008-08-16 12:01:07	Service.RemoteStore	INFO	Server maxVersion: 4
2008-08-16 12:01:08	Service.BmkEngine	INFO	Reconciling client/server updates
2008-08-16 12:01:08	Service.BmkEngine	INFO	Changes for client: 0
2008-08-16 12:01:08	Service.BmkEngine	INFO	Predicted changes for server: 1
2008-08-16 12:01:08	Service.BmkEngine	INFO	Client conflicts: 0
2008-08-16 12:01:08	Service.BmkEngine	INFO	Server conflicts: 0
2008-08-16 12:01:08	Service.BmkEngine	INFO	Actual changes for server: 1
2008-08-16 12:01:08	Service.BmkEngine	INFO	Uploading changes to server
2008-08-16 12:01:08	Service.BmkEngine	INFO	Successfully updated deltas and status on server
2008-08-16 12:01:08	Service.SnapStore	INFO	Saving snapshot to disk
2008-08-16 12:01:08	Service.BmkEngine	INFO	Sync complete
2008-08-16 12:01:08	Service.PasswordEngine	INFO	Beginning sync
2008-08-16 12:01:08	Service.RemoteStore	INFO	Last sync snapshot version: 1
2008-08-16 12:01:08	Service.RemoteStore	INFO	Server maxVersion: 1
2008-08-16 12:01:09	Service.PasswordEngine	INFO	Sync complete: no changes needed on client or server
2008-08-16 12:01:09	Service.SnapStore	INFO	Saving snapshot to disk
2008-08-16 12:01:09	Service.Main	WARN	Engine exception: TypeError: tracker is not a constructor[/code]

Detailed warning in the advanced log PC1:

[code]2008-08-16 12:01:09	Service.Main	WARN	Engine exception: TypeError: tracker is not a constructor
2008-08-16 12:01:09	FaultTolerance	DEBUG	()@file:///C:/Documents%20and%20Settings/Rob%20de%20Hoog/Application%20Data/Mozilla/Firefox/Profiles/4d72uytj.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/engines.js:153
WeaveSvc__syncEngine([object Object])@file:///C:/Documents%20and%20Settings/Rob%20de%20Hoog/Application%20Data/Mozilla/Firefox/Profiles/4d72uytj.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/service.js:863
AsyncGen__cont(true)@file:///C:/Documents%20and%20Settings/Rob%20de%20Hoog/Application%20Data/Mozilla/Firefox/Profiles/4d72uytj.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:246
(true)@file:///C:/Documents%20and%20Settings/Rob%20de%20Hoog/Application%20Data/Mozilla/Firefox/Profiles/4d72uytj.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:138
AsyncGen__done(true)@file:///C:/Documents%20and%20Settings/Rob%20de%20Hoog/Application%20Data/Mozilla/Firefox/Profiles/4d72uytj.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:299
([object XPCWrappedNative_NoHelper])@file:///C:/Documents%20and%20Settings/Rob%20de%20Hoog/Application%20Data/Mozilla/Firefox/Profiles/4d72uytj.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:274
EL_notify([object XPCWrappedNative_NoHelper])@file:///C:/Documents%20and%20Settings/Rob%20de%20Hoog/Application%20Data/Mozilla/Firefox/Profiles/4d72uytj.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:456

2008-08-16 12:01:09	Service.DAV	DEBUG	UNLOCK request for lock[/code]

So it looks like WEAVE sees the changes an so read the local bookmarks fine but why it's not saved at the server and why is the other PC2 not reading the bookmarks?

Whit weave 0.25 my own server works like a charme, so it's a bug in 0.26



Reproducible: Always

Steps to Reproduce:
1. sync a normal pc on a webdav server, not the mozilla one
2. see the constructor error, on 4 pc's at my home
3. the error is the bug
Actual Results:  
0.25 have the problem *not* and 0.26 have

Expected Results:  
0.25 have the problem *not* and 0.26 have

none
I also see this on Ubuntu Hardy x86_64 but not on Windows XP 32 bit. I also have the "Engine exception: Server snapshot is older than local snapshot" (bug 451523).

2008-08-23 17:04:20     Service.DAV     DEBUG   LOCK request for lock
2008-08-23 17:04:20     Service.DAV     DEBUG   GET request for meta/
2008-08-23 17:04:21     Service.DAV     DEBUG   GET request for meta/clients
2008-08-23 17:04:21     Service.Resource        DEBUG   GET request successful
2008-08-23 17:04:21     Service.JsonFilter      DEBUG   Decoding JSON data
2008-08-23 17:04:21     Service.JsonFilter      DEBUG   Encoding data as JSON
2008-08-23 17:04:21     Service.DAV     DEBUG   PUT request for meta/clients
2008-08-23 17:04:21     Service.Resource        DEBUG   PUT request successful
2008-08-23 17:04:21     Service.ClientData      DEBUG   Successfully downloaded
clients file from server
2008-08-23 17:04:21     Service.DAV     DEBUG   POST request for
/api/share/get.php
2008-08-23 17:04:22     Bookmark Share  INFO    Got Shares: 0
2008-08-23 17:04:22     Service.BmkEngine       INFO    Beginning sync
2008-08-23 17:04:22     Service.SnapStore       DEBUG   Read saved snapshot
from disk
2008-08-23 17:04:22     Service.DAV     DEBUG   GET request for user-data/
2008-08-23 17:04:22     Service.DAV     DEBUG   GET request for
user-data/bookmarks/
2008-08-23 17:04:22     Service.DAV     DEBUG   GET request for
user-data/bookmarks/deltas/
2008-08-23 17:04:22     Service.RemoteStore     DEBUG   Downloading status file
2008-08-23 17:04:22     Service.DAV     DEBUG   GET request for
user-data/bookmarks/status.json
2008-08-23 17:04:23     Service.Resource        DEBUG   GET request successful
2008-08-23 17:04:23     Service.JsonFilter      DEBUG   Decoding JSON data
2008-08-23 17:04:23     Service.RemoteStore     DEBUG   Downloading status
file... done
2008-08-23 17:04:23     Service.RemoteStore     INFO    Last sync snapshot
version: 22
2008-08-23 17:04:23     Service.RemoteStore     INFO    Server maxVersion: 6
2008-08-23 17:04:23     Service.DAV     DEBUG   GET request for
user-data/bookmarks/keys.json
2008-08-23 17:04:23     Service.Resource        DEBUG   GET request successful
2008-08-23 17:04:23     Service.JsonFilter      DEBUG   Decoding JSON data
2008-08-23 17:04:23     Service.RemoteStore     ERROR   Server snapshot is
older than local snapshot
2008-08-23 17:04:23     Service.Main    WARN    Engine exception: Server
snapshot is older than local snapshot
2008-08-23 17:04:23     FaultTolerance  DEBUG   unknown (async) ::
BmkEngine__sync-313 (last self.cb generated at module:bookmarks.js:759 ::
BmkEngine__sync)
module:engines.js:232 :: Engine_sync
module:service.js:862 :: WeaveSvc__syncEngine
module:async.js:233 :: AsyncGen_run
module:async.js:332 :: Async_run
module:wrap.js:94 :: WeaveNotifyWrapper
module:async.js:233 :: AsyncGen_run
module:async.js:332 :: Async_run
module:async.js:352 :: Async_sugar
module:service.js:795 :: WeaveSvc__sync
module:async.js:246 :: AsyncGen__cont
module:async.js:138 :: anonymous
module:async.js:299 :: AsyncGen__done
module:async.js:274 :: anonymous
module:util.js:456 :: EL_notify

2008-08-23 17:04:23     Service.CookieEngine    INFO    Beginning sync
2008-08-23 17:04:23     Service.SnapStore       DEBUG   Read saved snapshot
from disk
2008-08-23 17:04:23     Service.DAV     DEBUG   GET request for user-data/
2008-08-23 17:04:23     Service.DAV     DEBUG   GET request for
user-data/cookies/
2008-08-23 17:04:24     Service.DAV     DEBUG   GET request for
user-data/cookies/deltas/
2008-08-23 17:04:24     Service.RemoteStore     DEBUG   Downloading status file
2008-08-23 17:04:24     Service.DAV     DEBUG   GET request for
user-data/cookies/status.json
2008-08-23 17:04:25     Service.Resource        DEBUG   GET request successful
2008-08-23 17:04:25     Service.JsonFilter      DEBUG   Decoding JSON data
2008-08-23 17:04:25     Service.RemoteStore     DEBUG   Downloading status
file... done
2008-08-23 17:04:25     Service.RemoteStore     INFO    Last sync snapshot
version: 80
2008-08-23 17:04:25     Service.RemoteStore     INFO    Server maxVersion: 29
2008-08-23 17:04:25     Service.DAV     DEBUG   GET request for
user-data/cookies/keys.json
2008-08-23 17:04:25     Service.Resource        DEBUG   GET request successful
2008-08-23 17:04:25     Service.JsonFilter      DEBUG   Decoding JSON data
2008-08-23 17:04:25     Service.RemoteStore     ERROR   Server snapshot is
older than local snapshot
2008-08-23 17:04:25     Service.Main    WARN    Engine exception: Server
snapshot is older than local snapshot
2008-08-23 17:04:25     FaultTolerance  DEBUG   unknown (async) ::
SyncEngine__sync-335 (last self.cb generated at module:engines.js:328 ::
SyncEngine__sync)
module:engines.js:232 :: Engine_sync
module:service.js:862 :: WeaveSvc__syncEngine
module:async.js:233 :: AsyncGen_run
module:async.js:332 :: Async_run
module:wrap.js:94 :: WeaveNotifyWrapper
module:async.js:233 :: AsyncGen_run
module:async.js:332 :: Async_run
module:async.js:352 :: Async_sugar
module:service.js:795 :: WeaveSvc__sync
module:async.js:246 :: AsyncGen__cont
module:async.js:138 :: anonymous
module:async.js:299 :: AsyncGen__done
module:async.js:274 :: anonymous
module:util.js:456 :: EL_notify

2008-08-23 17:04:25     Service.PasswordEngine  INFO    Beginning sync
2008-08-23 17:04:25     Service.SnapStore       DEBUG   Read saved snapshot
from disk
2008-08-23 17:04:25     Service.DAV     DEBUG   GET request for user-data/
2008-08-23 17:04:26     Service.DAV     DEBUG   GET request for
user-data/passwords/
2008-08-23 17:04:26     Service.DAV     DEBUG   GET request for
user-data/passwords/deltas/
2008-08-23 17:04:26     Service.RemoteStore     DEBUG   Downloading status file
2008-08-23 17:04:26     Service.DAV     DEBUG   GET request for
user-data/passwords/status.json
2008-08-23 17:04:26     Service.Resource        DEBUG   GET request successful
2008-08-23 17:04:26     Service.JsonFilter      DEBUG   Decoding JSON data
2008-08-23 17:04:26     Service.RemoteStore     DEBUG   Downloading status
file... done
2008-08-23 17:04:26     Service.RemoteStore     INFO    Last sync snapshot
version: 7
2008-08-23 17:04:26     Service.RemoteStore     INFO    Server maxVersion: 7
2008-08-23 17:04:26     Service.DAV     DEBUG   GET request for
user-data/passwords/keys.json
2008-08-23 17:04:27     Service.Resource        DEBUG   GET request successful
2008-08-23 17:04:27     Service.JsonFilter      DEBUG   Decoding JSON data
2008-08-23 17:04:27     Service.RemoteStore     DEBUG   Using last sync
snapshot as server snapshot (snap version == max version)
2008-08-23 17:04:27     Service.RemoteStore     TRACE   Local snapshot version
== server maxVersion
2008-08-23 17:04:27     Service.PasswordEngine  INFO    Sync complete: no
changes needed on client or server
2008-08-23 17:04:27     Service.SnapStore       INFO    Saving snapshot to disk
2008-08-23 17:04:27     Service.Main    WARN    Engine exception: TypeError:
tracker is not a constructor
2008-08-23 17:04:27     FaultTolerance  DEBUG  
()@file:///home/bruno/.mozilla/firefox/bh876lo8.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/engines.js:153
WeaveSvc__syncEngine([object
Object])@file:///home/bruno/.mozilla/firefox/bh876lo8.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/service.js:863
AsyncGen__cont(true)@file:///home/bruno/.mozilla/firefox/bh876lo8.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:246
(true)@file:///home/bruno/.mozilla/firefox/bh876lo8.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:138
AsyncGen__done(true)@file:///home/bruno/.mozilla/firefox/bh876lo8.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:299
([object
XPCWrappedNative_NoHelper])@file:///home/bruno/.mozilla/firefox/bh876lo8.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/async.js:274
EL_notify([object
XPCWrappedNative_NoHelper])@file:///home/bruno/.mozilla/firefox/bh876lo8.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js:456

2008-08-23 17:04:27     Service.DAV     DEBUG   UNLOCK request for lock
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Component: Weave → General
Product: Mozilla Labs → Weave
Target Milestone: -- → ---
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.