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

AttributeError: 'Collection' object has no attribute 'basicCheck' #80

Open
dreamflasher opened this issue Mar 20, 2021 · 4 comments
Open

Comments

@dreamflasher
Copy link
Contributor

Mar 20 19:13:05 server python[2592]:   File "/home/df/git/anki-sync-server/src/ankisyncd/collection.py", line 45, in execute
Mar 20 19:13:05 server python[2592]:     ret = func(*args, **kw)
Mar 20 19:13:05 server python[2592]:   File "/home/df/git/anki-sync-server/src/ankisyncd/sync_app.py", line 579, in run_func
Mar 20 19:13:05 server python[2592]:     res = handler_method(**keyword_args)
Mar 20 19:13:05 server python[2592]:   File "/home/df/git/anki-sync-server/src/ankisyncd/sync_app.py", line 138, in sanityCheck2
Mar 20 19:13:05 server python[2592]:     server = self.sanityCheck(full)
Mar 20 19:13:05 server python[2592]:   File "/home/df/git/anki-sync-server/src/ankisyncd/sync.py", line 77, in sanityCheck
Mar 20 19:13:05 server python[2592]:     if not self.col.basicCheck():
Mar 20 19:13:05 server python[2592]: AttributeError: 'Collection' object has no attribute 'basicCheck'

Happens frequently and then the sync for android and desktop fails.

@JonFStr
Copy link

JonFStr commented Apr 25, 2021

Are you on develop branch?
I had the same problem, fixed by switching to master

@JonFStr
Copy link

JonFStr commented Apr 25, 2021

otherwise see #73

@dobefore
Copy link
Contributor

dobefore commented May 1, 2021

#87 added into repo

@VikashKothary
Copy link
Member

@dobefore's PR has been merged into develop. Can you test to see if this fixes your issue and if so close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants