twiddli on dev
implement download queue ui; add collections; notifications; grouping; improv… and 26 more (compare)
twiddli on dev
implement page navigation; add … add reader end content; minor f… add states; and 28 more (compare)
Mar-03 22:00:58--DEBUG [command].happypanda.core.command: Calling main function of command: AddItem
Mar-03 22:00:58--INFO [command].happypanda.core.commands.database_cmd: Adding 9900 items
Mar-03 22:00:58--DEBUG [core].happypanda.core.async_utils: Running <bound method AddItem._add_to_db of <happypanda.core.commands.database_cmd.AddItem object at 0x08892468>> in native thread
Mar-03 22:00:58--DEBUG [server].happypanda.core.server: Client disconnected ('127.0.0.1', 51570)
Mar-03 22:00:58--DEBUG [server].happypanda.core.server: Client disconnected ('127.0.0.1', 51576)
Mar-03 22:00:59--DEBUG [server].happypanda.core.server: Client disconnected ('127.0.0.1', 51572)
Mar-03 22:00:59--DEBUG [server].happypanda.core.server: Client disconnected ('127.0.0.1', 51573)
Mar-03 22:00:59--DEBUG [server].happypanda.core.server: Client disconnected ('127.0.0.1', 51575)
Mar-03 22:10:04--ERROR [command].happypanda.core.commands.database_cmd: An error occurred when adding item
Traceback (most recent call last):
File "site-packages\sqlalchemy\orm\session.py", line 2557, in _flush
File "site-packages\sqlalchemy\orm\unitofwork.py", line 403, in execute
File "site-packages\sqlalchemy\orm\unitofwork.py", line 361, in _generate_actions
File "site-packages\sqlalchemy\orm\unitofwork.py", line 490, in execute
MemoryError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "happypanda\core\commands\database_cmd.py", line 1188, in _add_to_db
File "happypanda\core\commands\database_cmd.py", line 1139, in _add_item
File "site-packages\sqlalchemy\orm\session.py", line 1027, in commit
File "site-packages\sqlalchemy\orm\session.py", line 494, in commit
File "site-packages\sqlalchemy\orm\session.py", line 473, in _prepare_impl
File "site-packages\sqlalchemy\orm\session.py", line 2459, in flush
File "site-packages\sqlalchemy\orm\session.py", line 2597, in _flush
File "site-packages\sqlalchemy\util\langhelpers.py", line 79, in __exit__
File "site-packages\sqlalchemy\util\compat.py", line 153, in reraise
File "site-packages\sqlalchemy\orm\session.py", line 2597, in _flush
File "site-packages\sqlalchemy\orm\session.py", line 534, in rollback
File "site-packages\sqlalchemy\orm\session.py", line 361, in _restore_snapshot
MemoryError
Mar-03 22:10:12--ERROR [command].happypanda.core.commands.database_cmd: An error occurred when adding item
Traceback (most recent call last):
File "happypanda\core\commands\database_cmd.py", line 1188, in _add_to_db
File "happypanda\core\commands\database_cmd.py", line 1139, in _add_item
File "site-packages\sqlalchemy\orm\session.py", line 1027, in commit
File "site-packages\sqlalchemy\orm\session.py", line 492, in commit
File "site-packages\sqlalchemy\orm\session.py", line 299, in _assert_active
sqlalchemy.exc.InvalidRequestError: This session is in 'inactive' state, due to the SQL transaction being rolled back; no further SQL can be emitted within this transaction.
This is the log file you asked for
Mar-03 19:55:42--INFO pluginctx.file-metadata.main: Attempting with DataType.eze
Mar-03 19:55:42--INFO pluginctx.file-metadata.main: DataType.eze matched!
Mar-03 19:55:42--ERROR pluginctx.file-metadata: An unhandled exception 'AttributeError' was raised by plugin handler on command 'GalleryFS.parse_metadata_file'
Traceback (most recent call last):
File "happypanda/core/plugins.py", line 672, in _unhandled_exception
File "happypanda/core/plugins.py", line 484, in iter_call_handlers
File "happypanda/core/plugins.py", line 690, in _call_handler
File "happypanda/core/plugins.py", line 835, in call_handler
File "/run/media/y/BACK UP/cr_hdd/hpx/data/__plugins__/e38e24e4-8ca8-420e-b52b-c75510097653.hpxplugin.zip/main.py", line 225, in parse
return apply_file_metadata(gallery, f)
File "/run/media/y/BACK UP/cr_hdd/hpx/data/__plugins__/e38e24e4-8ca8-420e-b52b-c75510097653.hpxplugin.zip/main.py", line 218, in apply_file_metadata
apply_metadata(cdata, gallery)
File "/run/media/y/BACK UP/cr_hdd/hpx/data/__plugins__/e38e24e4-8ca8-420e-b52b-c75510097653.hpxplugin.zip/main.py", line 172, in apply_metadata
gallery.session.refresh(gallery, ['last_page'])
AttributeError: 'NoneType' object has no attribute 'refresh'
translations
, in that folder copy the file named en_us.general.yaml
and rename the en_us
part to ja_jp
ja_jp.general.yaml
and change locale
to Japanese (Japan)
(and delete everything in it except this key)client.translation_locale
in your config.yaml
set to ja_jp
, or go into the ui client and change the language in the settings. displayed_language
or something that doesn't require all these hoops.
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.
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())
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'}]