Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 31 18:43
    Cognitheurge opened #258
  • Oct 20 22:43
    Cognitheurge commented #162
  • Sep 30 21:31
    ndbiaw commented #224
  • Sep 13 03:47

    twiddli on dev

    implement page navigation; add … add reader end content; minor f… add states; and 28 more (compare)

  • Sep 09 09:30
    gy6221 commented #169
  • Jul 05 16:01
    Dystasia commented #242
  • May 25 00:38
    twiddli edited #246
  • May 25 00:38
    twiddli edited #246
  • May 25 00:38
    twiddli edited #246
  • May 25 00:38
    twiddli edited #246
  • May 25 00:38
    twiddli edited #246
  • May 25 00:38
    twiddli edited #246
  • May 25 00:37
    twiddli edited #246
  • May 25 00:37
    twiddli edited #246
  • May 25 00:37
    twiddli edited #245
  • May 25 00:37
    twiddli edited #245
  • May 25 00:37
    twiddli edited #245
  • May 25 00:37
    twiddli edited #245
  • May 25 00:37
    twiddli edited #245
  • May 25 00:37
    twiddli edited #245
Twiddly
@twiddli
@SophtwhereDev_gitlab hello, sorry for the lack of response, i actually found out that it might not be possible to achieve it without changing some internal code
@KingPar it's not possible right now, but it's a nice feature to implement
SophtwhereDev
@SophtwhereDev_gitlab
@twiddli
Hi, I understand and thanks for the update. Is it something that you could or plan to look into or is it too much at the moment?
On another note, if you don't mind me asking, when do you think we can expect a new release?
Twiddly
@twiddli
hmm, well i basically fucked up and started working on too big of a chunk, but im considering splitting it up somehow so i can release something soon at least
also, this quarantine didn't treat me well at all lol
TheoTTC
@TheoTTC
Hi! Is there any setting that allows me to show japanese title instead of english titles in browse page while already downloaded metadata from eh page?
Twiddly
@twiddli
Hello @TheoTTC, it's actually possible but it hasn't been fleshed out yet.
  1. In your HPX installation folder there's a folder named translations, in that folder copy the file named en_us.general.yaml and rename the en_us part to ja_jp
  2. You can also open ja_jp.general.yaml and change locale to Japanese (Japan) (and delete everything in it except this key)
  3. Then either use the setting client.translation_locale in your config.yaml set to ja_jp, or go into the ui client and change the language in the settings.
There should ideally be a new setting called displayed_language or something that doesn't require all these hoops.
TheoTTC
@TheoTTC
@twiddli Thanks for the help!! Things are working fine
Poosaurus
@Poosaurus
Alright, I've gotten myself in a bind... So when i started using happypanda x i used the default account primarily and a few days ago i created a seperate user account aswell as a admin account, when i did the default account stopped working, i think i tried to set the default account as admin once as well as change the default account's password but since they didn't make it to the listing i thought it was just denied. Now the default account is inaccessible and my favorites are lost, does anyone have any idea what i could do to recover it?
Twiddly
@twiddli
Hello, which database backend are you using?
Poosaurus
@Poosaurus
I'm using PostgreSQL
Poosaurus
@Poosaurus
It's also worth mentioning that I've since deleted the accounts I created but they seems to have left a mark considering the default account is still inaccessible and that I have to use the credentials of the deleted accounts to login
Twiddly
@twiddli
Oh sorry i completely forgot to reply. Anyways, I'm really not sure I understood you messed up the users. The default user is an account created automatically on database creation. This user has no password and has the username default. You can't, or well, shouldn't be able to modify it from HPX. I'm not sure what you mean by it stopping working. There's a setting that controls whether you should be able to login with the default user from a client or not.
Poosaurus
@Poosaurus
Sorry, I should have provided more detail, the setting disable_default_user is unchecked so it probably isn't that. When i try to login with the default account I get the standard "Wrong credentials" message along with this popup, AuthError: [AuthError|406]: 300: [DatabaseError|300]: MultipleResultsFound(Multiple rows were found for one())
Twiddly
@twiddli
@Poosaurus do you still have this issue?
Dagnus
@Dagnus
Hi! I seem to be encountering an issue where tag search triggers an SQL error.
  • OS: Win10
  • Docker Engine: v19.03.12
  • Version: 0.13.1 (:latest from docker)
  • Database flavor: postgresql (also tried with sqlite, same story)
  • docker-compose file pretty much identical to the one in the install guide but with the postgresql user and passwd changed
  • Same for the config.yaml file
  • No plugin enabled
I get the following error from the request:
happypandax_1  | 2020-09-09T19:05:01Z <Greenlet at 0x7f667436b950: search_tags(search_query='f', sort_by=31, offset=0, limit=50)> failed with ProgrammingError
happypandax_1  |
happypandax_1  | 'A database error occured '
happypandax_1  | Traceback (most recent call last):
happypandax_1  |   File "sqlalchemy/engine/base.py", line 1277, in _execute_context
happypandax_1  |   File "sqlalchemy/engine/default.py", line 593, in do_execute
happypandax_1  | psycopg2.errors.DuplicateAlias: table name "namespace_tags" specified more than once
happypandax_1  |
happypandax_1  |
happypandax_1  | The above exception was the direct cause of the following exception:
happypandax_1  |
happypandax_1  | Traceback (most recent call last):
happypandax_1  |   File "src/gevent/greenlet.py", line 854, in gevent._gevent_cgreenlet.Greenlet.run
happypandax_1  |   File "happypanda/core/db.py", line 4197, in wrapper
happypandax_1  |   File "happypanda/interface/tag.py", line 115, in search_tags
happypandax_1  |   File "happypanda/core/command.py", line 329, in run
happypandax_1  |   File "happypanda/core/command.py", line 105, in _run
happypandax_1  |   File "happypanda/core/command.py", line 357, in _main_wrap
happypandax_1  |   File "happypanda/core/commands/search_cmd.py", line 1623, in main
happypandax_1  |   File "sqlalchemy/orm/query.py", line 3346, in all
happypandax_1  |   File "sqlalchemy/orm/query.py", line 3508, in __iter__
happypandax_1  |   File "sqlalchemy/orm/query.py", line 3533, in _execute_and_instances
happypandax_1  |   File "sqlalchemy/engine/base.py", line 1011, in execute
happypandax_1  |   File "sqlalchemy/sql/elements.py", line 298, in _execute_on_connection
happypandax_1  |   File "sqlalchemy/engine/base.py", line 1130, in _execute_clauseelement
happypandax_1  |   File "sqlalchemy/engine/base.py", line 1317, in _execute_context
happypandax_1  |   File "sqlalchemy/engine/base.py", line 1511, in _handle_dbapi_exception
happypandax_1  |   File "sqlalchemy/util/compat.py", line 182, in raise_
happypandax_1  |   File "sqlalchemy/engine/base.py", line 1277, in _execute_context
happypandax_1  |   File "sqlalchemy/engine/default.py", line 593, in do_execute
happypandax_1  | sqlalchemy.exc.ProgrammingError: (psycopg2.errors.DuplicateAlias) table name "namespace_tags" specified more than once
happypandax_1  |
happypandax_1  | [SQL: SELECT namespace_tags.id AS namespace_tags_id
happypandax_1  | FROM namespace_tags LEFT OUTER JOIN tag ON tag.id = namespace_tags.tag_id LEFT OUTER JOIN namespace ON namespace.id = namespace_tags.namespace_id LEFT OUTER JOIN language ON language.id = namespace_tags.language_id LEFT OUTER JOIN (taggable_tags AS taggable_tags_1 JOIN taggable ON taggable.id = taggable_tags_1.taggable_id) ON namespace_tags.id = taggable_tags_1.namespace_tag_id LEFT OUTER JOIN (taggable_tags AS taggable_tags_2 JOIN namespace_tags ON namespace_tags.id = taggable_tags_2.namespace_tag_id) ON taggable.id = taggable_tags_2.taggable_id
happypandax_1  | WHERE (lower(tag.name) LIKE '%%' || %(lower_1)s || '%%' ESCAPE '/') OR (lower(tag.name) LIKE '%%' || %(lower_2)s || '%%' ESCAPE '/') OR (lower(namespace.name) LIKE '%%' || %(lower_3)s || '%%' ESCAPE '/') OR (lower(tag.name) LIKE '%%' || %(lower_4)s || '%%' ESCAPE '/') OR (lower(language.name) LIKE '%%' || %(lower_5)s || '%%' ESCAPE '/') OR (lower(tag.name) LIKE '%%' || %(lower_6)s || '%%' ESCAPE '/') OR (lower(tag.name) LIKE '%%' || %(lower_7)s || '%%' ESCAPE '/') OR (lower(tag.name) LIKE '%%' || %(lower_8)s || '%%' ESCAPE '/') OR (lower(tag.name) LIKE '%%' || %(lower_9)s || '%%' ESCAPE '/')]
happypandax_1  | [parameters: {'lower_1': 'd', 'lower_2': 'd', 'lower_3': 'd', 'lower_4': 'd', 'lower_5': 'd', 'lower_6': 'd', 'lower_7': 'd', 'lower_8': 'd', 'lower_9': 'd'}]
Twiddly
@twiddli
Hmm that's weird, it shouldnt even be possible to search forf only...? 3 characters are the minimum. Does this happen with any search string?
Poosaurus
@Poosaurus
Hey I've restarted with a fresh install of happypandax and I've run into a small problem where the archives i'm trying to download are identified as already in the database
[---INFO---]--2020-Sep-20 05:42:18-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:42:17-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:42:17-: Handling url https://nhentai.net/g/85289/ 
[---INFO---]--2020-Sep-20 05:42:17-: Adding https://nhentai.net/g/85289/ 
[---INFO---]--2020-Sep-20 05:40:15-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:40:14-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:40:14-: Handling url https://nhentai.net/g/85289/ 
[---INFO---]--2020-Sep-20 05:40:14-: Adding https://nhentai.net/g/85289/ 
[---INFO---]--2020-Sep-20 05:32:08-: Finished handling item 
[---INFO---]--2020-Sep-20 05:32:08-: Successfully imported item 
[---INFO---]--2020-Sep-20 05:32:08-: Sending 1 item(s) to metadata queue 
[---INFO---]--2020-Sep-20 05:32:07-: Waiting on post-processing from "nhentai"... 
[---INFO---]--2020-Sep-20 05:26:04-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:26:02-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:26:01-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:59-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:59-: Handling url https://nhentai.net/g/65712/ 
[---INFO---]--2020-Sep-20 05:25:58-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:57-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:57-: Handling url https://nhentai.net/g/73111/ 
[---INFO---]--2020-Sep-20 05:25:57-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:55-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:55-: Handling url https://nhentai.net/g/121916/ 
[---INFO---]--2020-Sep-20 05:25:55-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:53-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:53-: Handling url https://nhentai.net/g/81892/ 
[---INFO---]--2020-Sep-20 05:25:53-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:51-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:51-: Handling url https://nhentai.net/g/86895/ 
[---INFO---]--2020-Sep-20 05:25:51-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:49-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:49-: Handling url https://nhentai.net/g/139808/ 
[---INFO---]--2020-Sep-20 05:25:49-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:48-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:48-: Handling url https://nhentai.net/g/33260/ 
[---INFO---]--2020-Sep-20 05:25:48-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:46-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:46-: Handling url https://nhentai.net/g/144529/ 
[---INFO---]--2020-Sep-20 05:25:46-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:44-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:44-: Handling url https://nhentai.net/g/162677/ 
[---INFO---]--2020-Sep-20 05:25:44-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:43-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:43-: Handling url https://nhentai.net/g/89468/ 
[---INFO---]--2020-Sep-20 05:25:43-: Found existing item in the database with: None 
[---INFO---]--2020-Sep-20 05:25:41-: Querying resources from "nhentai"... 
[---INFO---]--2020-Sep-20 05:25:41-: Handling url https://nhentai.net/g/177810/ 
[---INFO---]--2020-Sep-20 05:25:41-: Found existing item in the database with: None
that's the log from the download tab, there's also this peculiar log
Sep-09 05:14:18--WARNING happypanda.migrate: Failed to remove data/internals.db. Please remove it yourself. 
Sep-09 05:18:15--ERROR  happypanda.main: Failed to configure built-in ESearch server, process exit code: 1 also see logs\esearch_stdout.log 
Sep-09 05:18:15--WARNING happypanda.main: Could not establish connection to ESearch server, aborting. 
Sep-09 05:32:10--WARNING [plugin].context.nhentai-metadata: An unhandled exception 'ConnectionError' was raised by plugin handler on command 'Metadata.apply'
Sep-09 05:32:10--WARNING [plugin].context.nhentai-metadata: An unhandled exception 'ConnectionError' was raised by plugin handler on command 'Metadata.apply' by nhentai-metadata:7d68901f...6e93f63ba00c 
Sep-09 05:32:10--WARNING [command].happypanda.core.commands.metadata_cmd: nhentai because an error occurred:
I've got no idea what's going on
Twiddly
@twiddli
a fresh install, but you transferred the data folder from your previous install over?
Pakloust
@Pakloust
I'm doing a fresh install, and HPX doesn't even start. Where should I begin looking for issues? I have the VC redist installed.
Previous versions, like 1.2.4, do work.
kyuk0
@kyuk0
Hi, I got weird problem with my HPX instance
I host it on Ubuntu 18.04 and when I use one browser to connect to it no one else can connect even after I close it.
I use NGINX reverse to make it public if it makes any difference, logs look crystal clear
Oct-10 15:53:17--INFO   [client].happypanda.core.client: Client connecting to server at: ('localhost', 7007) 
Oct-10 15:53:17--INFO   [client].happypanda.core.client: Client connecting to server at: ('localhost', 7007) 
Oct-10 15:53:17--INFO   [client].happypanda.core.client: Client connecting to server at: ('localhost', 7007) 
Oct-10 15:53:17--INFO   [client].happypanda.core.client: Client connecting to server at: ('localhost', 7007) 
Oct-10 15:53:38--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:38] "GET / HTTP/1.1" 200 1608 0.009636
Oct-10 15:53:38--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:38] "GET /static/img/hpx_logo.svg HTTP/1.1" 200 33400 0.014678
Oct-10 15:53:43--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:43] "GET / HTTP/1.1" 200 1608 0.001219
Oct-10 15:53:44--INFO   [client].happypanda.core.client: Client connecting to server at: ('localhost', 7007) 
Oct-10 15:53:44--INFO   [client].happypanda.core.client: Client connecting to server at: ('localhost', 7007) 
Oct-10 15:53:44--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:44] "GET /static/favicon/favicon.ico?v=kPxXam0OO4 HTTP/1.1" 200 15368 0.001485
Oct-10 15:53:46--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:46] "GET / HTTP/1.1" 200 1608 0.001297
Oct-10 15:53:47--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:47] "GET /static/favicon/apple-touch-icon.png?v=kPxXam0OO4 HTTP/1.1" 200 265 0.001758
Oct-10 15:53:47--INFO   [client].happypanda.core.client: Client connecting to server at: ('localhost', 7007) 
Oct-10 15:53:50--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:50] "GET / HTTP/1.1" 200 1608 0.001156
Oct-10 15:53:50--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:50] "GET /static/font/Roboto-Bold.woff HTTP/1.1" 200 63155 0.001963
Oct-10 15:53:50--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:50] "GET /static/font/Roboto-Regular.woff HTTP/1.1" 200 62014 0.001968
Oct-10 15:53:50--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:50] "GET /static/css/themes/default/assets/fonts/icons.woff2 HTTP/1.1" 200 40429 0.001877
Oct-10 15:53:50--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:50] "GET /static/css/semantic.min.css?0.13.1 HTTP/1.1" 200 671170 0.006326
Oct-10 15:53:51--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:51] "GET /static/lib/bundle.js?0.13.1 HTTP/1.1" 200 5259889 0.026693
Oct-10 15:53:53--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:53] "GET /static/favicon/apple-touch-icon.png?v=kPxXam0OO4 HTTP/1.1" 200 8953 0.001880
Oct-10 15:53:53--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:53:53] "GET /static/favicon/favicon-16x16.png?v=kPxXam0OO4 HTTP/1.1" 200 1423 0.001406
Oct-10 15:54:02--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:54:02] "GET /static/font/happypandax.woff HTTP/1.1" 200 3777 0.051536
Oct-10 15:54:02--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:54:02] "GET /static/css/themes/default/assets/fonts/outline-icons.woff2 HTTP/1.1" 200 12522 0.009191
Oct-10 15:54:19--INFO   [core].happypanda.common.config: Saving config config.yaml 
Oct-10 15:54:27--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:54:27] "GET / HTTP/1.1" 200 1608 0.001148
Oct-10 15:54:28--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:54:28] "GET /static/favicon/favicon.ico?v=kPxXam0OO4 HTTP/1.1" 200 15368 0.001595
Oct-10 15:54:28--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:54:28] "GET / HTTP/1.1" 200 1608 0.001128
Oct-10 15:54:28--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:54:28] "GET /static/favicon/favicon.ico?v=kPxXam0OO4 HTTP/1.1" 200 15368 0.001374
Oct-10 15:54:30--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:54:30] "GET / HTTP/1.1" 200 1608 0.001122
Oct-10 15:54:30--INFO   geventwebsocket.handler: 127.0.0.1 - - [2020-10-24 15:54:30] "GET /static/css/semantic.min.css?0.13.1 HTTP/1.1" 200 671170 0.005052
When anyone tries to enter the site there's just grey screen with blue circle animation and it never loads
kyuk0
@kyuk0
Okay, something popped up now
Oct-10 15:57:39--ERROR  engineio.server: message handler error
Traceback (most recent call last):
  File "engineio/server.py", line 549, in _trigger_event
  File "socketio/server.py", line 739, in _handle_eio_message
  File "socketio/server.py", line 628, in _handle_connect
KeyError: '5c00591aa7de457ea58aaac8009c2ff8'
Twiddly
@twiddli
this suggests an error with the websocket library im using... i'll try and update it for the next version
nonamethanks
@nonamethanks
Hello, I'm having problem with HPX in that it won't let me add a specific gallery. It says the gallery is already in db, but it's not. It's not in trash, library, inbox or anywhere. Trying to redownload it by disabling those two options in the download page "Prevent adding a download etc" and "Skip url etc" doesn't work at all, it acts like it downloads it but then the gallery is nowhere to be found.
Is there a way to forcefully remove the gallery from the sqlite database? I took a peek at the schema but there's too many tables
I even tried removing the file from the download folder but that does nothing

Download logs dont show any error, they end like this:

[---INFO---]--2020-Nov-13 20:35:20-: Finished handling item
[---INFO---]--2020-Nov-13 20:35:20-: Successfully imported item
[---INFO---]--2020-Nov-13 20:35:20-: Sending 1 item(s) to metadata queue
[--DEBUG---]--2020-Nov-13 20:35:19-: Item is hinted to be a gallery

Twiddly
@twiddli
hello, try and rebuild the index in the About panel
you could also remove the dump.rdb file found in the data and then restart HPX
if you are running an external Redis instance, restart that too
sevds
@sevds
So I'm finding the program super useful, I also see that I have a ton of manga/doujins that I have to rename and move to more appropriate folders once they get their metadata queried. How do you suggest dealing with a doujin or manga whose file (either a zip or rar) or entire folder has changed?
Should I change it, delete them from Happy Panda X and rescan?
Pakloust
@Pakloust
Anyone has any experience configuring the external reader on linux? For Mcomix I can't find a way to make HappypandaX start it, I've also tried YACReader, which did boot but it crashes as soon as I touch the keyboard for any command.
blastman0
@blastman0
hello, can somebody explain to me how to setup postgresql server ? with sqlite it is very slow, and postgresql is faster, but gives me lots of errors like :
: happypanda.common.exceptions.CommandError: [CommandError|120]: Command(174) has failed with: [HappypandaError|100]: ProgrammingError((psycopg2.errors.SyntaxError) ERREUR: erreur de syntaxe sur ou près de « PRAGMA »
LINE 1: PRAGMA foreign_keys=1;
or

: sqlalchemy.exc.ProgrammingError: (psycopg2.errors.SyntaxError) ERREUR: erreur de syntaxe sur ou près de « PRAGMA »
LINE 1: PRAGMA foreign_keys=1;
^

(Background on this error at: http://sqlalche.me/e/13/f405)

Twiddly
@twiddli
@Pakloust Hello, the external reader works by opening a program with a path to the manga on disk. I took a look at Mcomix's command-line args, and it doesn't look like it supports opening files from the command line?
Pakloust
@Pakloust
On terminal I can do it fine.
The issue with mcomix, I guess, is that it doesn't have an executable, it's terminal run.