Comments (2)
Are you sure is it in collection.py:70
? Line 70 seems to be an import function.
from ankicommunity-sync-server.
The error log itself:
[2023-01-26 22:57:29,982]:INFO:ankisyncd.http:127.0.0.1 "POST /sync/hostKey HTTP/1.1" 200 43
[2023-01-26 22:57:30,017]:INFO:ankisyncd.CollectionThread[...]:Starting...
[2023-01-26 22:57:30,018]:INFO:ankisyncd.CollectionThread[...]:Running meta(*[], **{'v': 10, 'cv': 'anki,2.1.56 (07fd88dd),...'})
[2023-01-26 22:57:30,021]:ERROR:ankisyncd.CollectionThread[...]:Unable to meta(*[], **{'v': 10, 'cv': 'anki,2.1.56 (07fd88dd),...'}): 'MediaManager' object has no attribute 'close'
Traceback (most recent call last):
File ".../anki-sync-server/src/ankisyncd/thread.py", line 106, in _run
ret = self.wrapper.execute(func, args, kw, return_queue)
File ".../anki-sync-server/src/ankisyncd/collection/wrapper.py", line 39, in execute
self.open()
File ".../anki-sync-server/src/ankisyncd/collection/wrapper.py", line 75, in open
self.__col = self._get_collection()
File ".../anki-sync-server/src/ankisyncd/collection/wrapper.py", line 66, in _get_collection
col.media.close()
File "/usr/lib64/python3.10/site-packages/anki/_legacy.py", line 80, in __getattr__
raise AttributeError(
AttributeError: 'MediaManager' object has no attribute 'close'
Traceback (most recent call last):
File "/usr/lib64/python3.10/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File ".../anki-sync-server/src/ankisyncd/sync_app.py", line 585, in __call__
w = self.__wrapped__(*args, **kwargs)
File ".../anki-sync-server/src/ankisyncd/sync_app.py", line 740, in __call__
result = self._execute_handler_method_in_thread(url, data, session)
File ".../anki-sync-server/src/ankisyncd/sync_app.py", line 805, in _execute_handler_method_in_thread
result = thread.execute(run_func, kw=keyword_args)
File ".../anki-sync-server/src/ankisyncd/thread.py", line 82, in execute
raise ret
File ".../anki-sync-server/src/ankisyncd/thread.py", line 106, in _run
ret = self.wrapper.execute(func, args, kw, return_queue)
File ".../anki-sync-server/src/ankisyncd/collection/wrapper.py", line 39, in execute
self.open()
File ".../anki-sync-server/src/ankisyncd/collection/wrapper.py", line 75, in open
self.__col = self._get_collection()
File ".../anki-sync-server/src/ankisyncd/collection/wrapper.py", line 66, in _get_collection
col.media.close()
File "/usr/lib64/python3.10/site-packages/anki/_legacy.py", line 80, in __getattr__
raise AttributeError(
AttributeError: 'MediaManager' object has no attribute 'close'
from ankicommunity-sync-server.
Related Issues (20)
- [Feature Request] LDAP Authentication HOT 2
- protobuf version issue HOT 4
- Anki (dektop) prompts to log in to AnkiWeb HOT 1
- Create Releases with Github HOT 2
- Docker Releases HOT 4
- Sync errors when trying to sync using anki 2.0.52 HOT 2
- AttributeError: module 'ankisyncd.config' has no attribute 'load' HOT 3
- Anki 2.1.49 will not sync via https proxy HOT 2
- network error HOT 1
- Will be incompatible with new versions 2.1.57+ HOT 12
- Link in README leading to nothing HOT 1
- Anki desktop can't connect self-hosted server while ankiDroid could. HOT 6
- ci: Deploy docker image to DockerHub HOT 2
- Authentication failed for nonexistent user None. HOT 4
- anki23.10 generates JsonError { info: "missing field media usn at line 1 column 114" }
- Fix For: Python Error ./ankisyncctl.py - No Module named "ankisyncd"
- Windows new version v23.10.1 client cannot synchronize
- How to put the server on USB HDD? i am on 2.1.54 thx
- "IndexError: list index out of range" when syncing from Anki Desktop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ankicommunity-sync-server.