Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUnable to generate readings/accents/etc. due to memory error. #58
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Type:
Environment:
I'm going to open a PR to resolve the issue:
Description:
Anki 2.1.22, with the JLPT Tango N5 Deck. Even trying to add to one field of one card slowly uses more and more memory until Anki gives a memory error (12 GB system RAM). Mass generation does not work either (same error). Mac OS version 10.12.6 with Anki 2.1.23 generates syntax, but readings, color, etc. do not display (only the syntax displays on cards). See below for error message.
Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-06-24 19:54:08
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 31, in cmd
File "aqt\webview.py", line 97, in _onCmd
File "C:\Users\Michael and Max\AppData\Roaming\Anki2\addons21\278530045\main.py", line 386, in prevBridgeReroute
ogAnkiWebBridge(self, cmd)
File "aqt\webview.py", line 500, in _onBridgeCmd
File "C:\Users\Michael and Max\AppData\Roaming\Anki2\addons21\278530045\main.py", line 310, in bridgeReroute
mw.Exporter.finalizeGroupExport(self, splitList[1], field, self.note)
File "C:\Users\Michael and Max\AppData\Roaming\Anki2\addons21\278530045\accentExporter.py", line 590, in finalizeGroupExport
results = self.dictParser.getParsed(text)
File "C:\Users\Michael and Max\AppData\Roaming\Anki2\addons21\278530045\accentExporter.py", line 64, in getParsed
results = self.mecabAccents.accents(text)
File "C:\Users\Michael and Max\AppData\Roaming\Anki2\addons21\278530045\reading.py", line 111, in accents
final.append(results.replace('\r', '').replace('\n', ''))
MemoryError