hubbcaps / gazee Goto Github PK
View Code? Open in Web Editor NEWA WebApp for reading your comics. Built in Python on top of CherryPy.
License: GNU General Public License v3.0
A WebApp for reading your comics. Built in Python on top of CherryPy.
License: GNU General Public License v3.0
I've just spent a couple days setting up a fancy unified security / login system for my hosted applications.
I'm using Gazee inside of a Docker container and then using an Nginx Docker as a reverse proxy & SSL termination point. As a result, I'd like the option to disable user authentication in Gazee itself. I understand that having Gazee's server running without HTTP authentication introduces a security risk that I, the end user, take responsibility for.
I'd imagine that behind-the-scenes there would need to be a global user account that Gazee is using for bookmarks and such. Basically, I was thinking of this as a "single user mode" with regard to the bookmark storage in the database and whatever other per-user data Gazee generates & stores.
What would you like to see implemented in Gazee?
Being able to change gazee's basedir
Do you have a concrete example of this somewhere else? If so, please link to it.
When you reverse proxy gazee to domain.tld/gazee, the links will still point back to domain.tld afterwards.
Couple of ideas for how I'd want to improve and extend the "System Operations" page, let me know what you think and I'll add either/both/none.
The following error occurred during comic scan on application start. It successfully found a number of comics before throwing the error.
win10
Python 3.6.5
$ python Gazee.py
Gazee has started
Comic Scan Started
Traceback (most recent call last):
File "C:\Users\Forecaster\AppData\Local\Programs\Python\Python36\lib\site-packages\rarfile.py", line 2813, in custom_popen
creationflags=creationflags)
File "C:\Users\Forecaster\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "C:\Users\Forecaster\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Gazee.py", line 207, in <module>
main()
File "Gazee.py", line 202, in main
scanner.rescan_db()
File "C:\gazee\gazee\comicscan.py", line 441, in rescan_db
self.db_builder()
File "C:\gazee\gazee\comicscan.py", line 354, in db_builder
self.build_unpack_comic(f)
File "C:\gazee\gazee\comicscan.py", line 77, in build_unpack_comic
opened_rar.extractall(os.path.join(gazee.TEMP_DIR, "build"))
File "C:\Users\Forecaster\AppData\Local\Programs\Python\Python36\lib\site-packages\rarfile.py", line 820, in extractall
self._extract(fnlist, path, pwd)
File "C:\Users\Forecaster\AppData\Local\Programs\Python\Python36\lib\site-packages\rarfile.py", line 885, in _extract
p = custom_popen(cmd)
File "C:\Users\Forecaster\AppData\Local\Programs\Python\Python36\lib\site-packages\rarfile.py", line 2816, in custom_popen
raise RarCannotExec("Unrar not installed? (rarfile.UNRAR_TOOL=%r)" % UNRAR_TOOL)
rarfile.RarCannotExec: Unrar not installed? (rarfile.UNRAR_TOOL='unrar')
OS: What OS are you running Gazee on? Linux mint 17.2
Are you on the latest commit version? Yes, d8432fd
What is the issue and how do you produce it?
$ python Gazee.py
File "Gazee.py", line 194
cherrypy.engine.timeout_monitor.on: False
^
SyntaxError: invalid syntax
Browser: Chrome
OS: docker
Latest version of Gazee.
There is a "Not Available" text at the end of some of my comic books in gazee GUI.
While investigating the issue, I found it is caused by the lack of the <Number>#</Number>
tag in the ComicInfo.xml file.
I prefer to collect TPBs and thies are usually not labeled by numbers.
So is there a way to change the name generating procedure?
As a workaround I tried to include a empty <Number></Number>
tag into ComicInfo.xml file, but this caused an infinite loop in the "comics path scan".
`
PS:
I REALY LOVE Gazee! and I am very sorry that its development has stopped. It is super fast on my RaspberryPi4 with OpenMediaVault and Docker compared to Ubooquity.
from: python3 Gazee.py
Traceback (most recent call last):
File "Gazee.py", line 207, in
main()
File "Gazee.py", line 194, in main
cherrypy.engine.timeout_monitor.unsubscribe()
AttributeError: 'Bus' object has no attribute 'timeout_monitor'
If you go to Settings -> User Settings, you are only presented with one field for changing a password for the current logged in admin user. This means that users cannot change their password currently.
I follow the install instructions ("sudo pip install requirements.txt")
After a while, the process ended, but when I tried to run gazee, it failed on the cherrypy module import. I ran the module installs manually, and realized that most of them had not installed from the initial command.
After manually installing the requirements from requirements.txt, running gazee failed on these missing module imports, which weren't in the file:
New install on Raspbian Jessie. Traceback when starting up first time. pip3 install of requirements was successful. Output from pip3 list attached below.
Traceback (most recent call last):
File "Gazee.py", line 21, in <module>
import cherrypy
File "/usr/local/lib/python3.4/dist-packages/cherrypy/__init__.py", line 76, in <module>
from cherrypy import _cprequest
File "/usr/local/lib/python3.4/dist-packages/cherrypy/_cprequest.py", line 10, in <module>
from cherrypy import _cpreqbody, _cpconfig
File "/usr/local/lib/python3.4/dist-packages/cherrypy/_cpreqbody.py", line 135, in <module>
import cheroot.server
ImportError: No module named 'cheroot'
Linux <> 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
Python 3.4.2 (default, Sep 26 2018, 07:16:01)
[GCC 4.9.2] on linux
Gazee commit c759ea9
pip list:
cffi (0.8.6)
chardet (2.3.0)
CherryPy (11.0.0)
codebug-i2c-tether (0.2.3)
codebug-tether (0.7.0)
colorama (0.3.2)
cryptography (0.6.1)
Flask (0.10.1)
gitdb2 (2.0.5)
GitPython (2.1.5)
gpiozero (1.4.0)
html5lib (0.999)
itsdangerous (0.24)
Jinja2 (2.7.3)
Mako (1.0.7)
MarkupSafe (0.23)
mcpi (0.1.1)
numpy (1.8.2)
olefile (0.46)
patool (1.12)
peewee (3.6.4)
pgzero (1.1)
picamera (1.13)
picraft (1.0)
pifacecommon (4.2.1)
pifacedigitalio (3.1.0)
pigpio (1.35)
Pillow (2.6.1)
pip (1.5.6)
ply (3.4)
pycparser (2.10)
pygame (1.9.2a0)
Pygments (2.2.0)
pygobject (3.14.0)
pyinotify (0.9.4)
pyOpenSSL (0.14)
pyserial (2.6)
python-apt (0.9.3.12)
python-debian (0.1.27)
rarfile (3.0)
requests (2.4.3)
RPi.GPIO (0.6.3)
RTIMULib (7.2.1)
sense-emu (1.0)
sense-hat (2.2.0)
setuptools (5.5.1)
six (1.8.0)
smbus (1.1)
smmap2 (2.0.5)
spidev (3.0)
sqlite-web (0.3.3)
twython (3.1.2)
urllib3 (1.9.1)
Werkzeug (0.9.6)
wheel (0.24.0)
xmltodict (0.11.0)
Not an issue, more of a question:
I'm using the publisher > comic > issue scheme, but for publishers it's showing the first issue as cover image. Is it possible to use the publisher logo instead?
Browser: Firefox 60
OS: Windows 10 with Python 3.6.5
Are you on the latest commit version? Yes
What is the issue and how do you produce it?
Installed Gazee, I can get on the website yet cannot go to the settings page due to a 500 error. The other 2 pages you can access by default seem to work fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.