Comments (2)
Even if there's not supposed to be any support for characters such as this, due to them not being standard or something, it's still very bad that the plugin is failing with various kinds of errors because of it.
from chinese-support-addon.
I'm getting a similar error with some letters (e.g. 㣽, 㚢). Actually I was just trying to figure out how to type the u umlaut (ü) character to write the letter 女.
After several tries with those erroneous characters Anki gave errors as well when I tried to enter 女. Only restart of the program made it work again.
Traceback:
Traceback (most recent call last):
File "/usr/share/anki/aqt/progress.py", line 69, in handler
func()
File "/usr/share/anki/aqt/editor.py", line 466, in onUpdate
self.loadNote()
File "/usr/share/anki/anki/hooks.py", line 55, in repl
old(_args, *_kwargs)
File "/usr/share/anki/aqt/editor.py", line 538, in loadNote
data.append((fld, self.mw.col.media.escapeImages(val)))
File "/usr/share/anki/anki/media.py", line 237, in escapeImages
string = re.sub(reg, repl, string)
File "/usr/lib/python2.7/re.py", line 155, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or buffer
from chinese-support-addon.
Related Issues (20)
- Get tone-coloring working on Bopomofo
- Add example sentences support
- Create a "Pinyin" shared deck
- Create a "Chinese tones" shared deck
- Create a Youtube video tutorial to showcase Chinese Support Add-on HOT 1
- Color hanzi not deleted when hanzi is deleted HOT 1
- Statistics don't work for filtered decks
- Incorrect colors on Hanzi based on compound pinyin HOT 1
- Interference with other add-ons
- `Fill translations` has only partial support for filling in "Mean Words"
- Allow selection of Cantonese romanization
- fill incomplete sounds failed
- Google TTS not working HOT 3
- Automatic fill in is not working HOT 1
- Characters in Ruby field disappear upon moving outside the field
- Stroke Order
- support anki 2.1 HOT 6
- Anki Bug
- Bug when coloring Hanzi
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 chinese-support-addon.