Skip to content
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

Update data model for btsync 1.3 and 1.4 #12

Closed
kevinjqiu opened this issue Jul 28, 2014 · 1 comment
Closed

Update data model for btsync 1.3 and 1.4 #12

kevinjqiu opened this issue Jul 28, 2014 · 1 comment
Labels

Comments

@kevinjqiu
Copy link
Owner

There is a new problem with data model for btsync 1.3.106:

  File "/usr/local/lib/python2.7/dist-packages/btsync/client.py", line 94, in sync_folders
    Folder(**folder) for folder in folders
  File "/usr/local/lib/python2.7/dist-packages/btsync/models.py", line 8, in __init__
    self[field] = factory(value)
  File "/usr/local/lib/python2.7/dist-packages/btsync/models.py", line 38, in <lambda>
    ('peers', lambda peers: [Peer(**peer) for peer in peers]),
  File "/usr/local/lib/python2.7/dist-packages/btsync/models.py", line 10, in __init__
    assert len(params) == 0, "Unrecognized params: %r" % params.keys()
AssertionError: Unrecognized params: [u'last_synced', u'down_diff', u'up_diff', u'is_connected', u'id']
@kevinjqiu kevinjqiu added the bug label Jul 28, 2014
@chijiao
Copy link

chijiao commented Sep 17, 2014

BitTorrent Sync 1.4.75 have same bug.

client.sync_folders
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/site-packages/btsync/client.py", line 94, in sync_folders
Folder(**folder) for folder in folders
File "/usr/lib/python2.6/site-packages/btsync/models.py", line 8, in init
self[field] = factory(value)
File "/usr/lib/python2.6/site-packages/btsync/models.py", line 38, in
('peers', lambda peers: [Peer(**peer) for peer in peers]),
File "/usr/lib/python2.6/site-packages/btsync/models.py", line 10, in init
assert len(params) == 0, "Unrecognized params: %r" % params.keys()
AssertionError: Unrecognized params: [u'isonline', u'lastsenttime', u'lastsynctime', u'updiff', u'downdiff', u'lastreceivedtime', u'id']

@kevinjqiu kevinjqiu changed the title Update data model for btsync 1.3 Update data model for btsync 1.3 and 1.4 Sep 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants