Comments (5)
I've implemented something like this. Until this is merged by Janeczku you can try it from my repro fork:
https://github.com/OzzieIsaacs/calibre-web
Feedback is welcome.
from calibre-web.
@OzzieIsaacs : When using your fork I get the following error when accessing the Languages section (500 error in browser):
[2016-09-28 13:12:51,296] {/usr/local/lib/python2.7/dist-packages/flask/app.py:1587} ERROR - Exception on /language [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "/opt/calibre-web/vendor/flask_login.py", line 717, in decorated_view
return func(_args, *_kwargs)
File "/opt/calibre-web2/cps/web.py", line 590, in language_overview
cur_l = LC.parse(lang.lang_code)
File "/opt/calibre-web/vendor/babel/core.py", line 313, in parse
raise UnknownLocaleError(input_id)
UnknownLocaleError: unknown locale u'lat'
from calibre-web.
@simkin
It seems that the problem is related to a latin book language, it try to fix this on this weekend
from calibre-web.
It should now work basically (language code is shown instead of language name)
from calibre-web.
@OzzieIsaacs , hereby confirmed, your fix works :) Thanks!
from calibre-web.
Related Issues (20)
- docker install error HOT 1
- 500 Internal Server Error HOT 1
- Visibility restriction based on custom column always hides books unless explicitly allowed by value
- Download URL blocked by Kobo's experimental browser
- Can't get Kobo Sync to work, device fails no error in log
- Adding a tag to a book doesn't sync to Kobo accounts that have tag view restrictions
- Unable to reset Kobo sync for other users HOT 2
- Sync Archive State between Calibre-Web and Calibre Custom Column
- Database Error: attempt to write a readonly database. HOT 2
- Safari favicon broken on macOS
- Ability to bulk download a series
- BUG: Line breaks are broken on Caliblur! Dark Theme !!
- [Request] Sort by date added also for shelves
- Can't open file formats tab HOT 1
- Content Security Policy doesn't contain font-src blob: HOT 1
- Rebuild the Index/Database HOT 1
- Epubs become corrupted during upload HOT 1
- Read in Browser -- doesn't load the embed font in epub!!! HOT 3
- Need assistance setting up Gmail oAuth
- Thank You 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 calibre-web.