Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (121 - 123 of 1174)

Ticket Resolution Summary Owner Reporter
#5453 duplicate migration will fail when disable a previously enabled plugin 宋文武
Description

steps:

Enable mediagoblin.media_types.blog. Run gmg dbupdate, OK. Disable mediagoblin.media_types.blog. Run gmg dbupdate, FAIL.

with Traceback:

KeyError: '562bc42a8fff'... alembic.util.CommandError: Can't locate revision identified by '562bc42a8fff'...

After search, it's same as: https://stackoverflow.com/questions/32311366/alembic-util-command-error-cant-find-identifier

If I delete '562bc42a8fff' from the alembic_version table manually, it will works.

#5452 no-action Slow gmg command Elinvention
Description

On my tiny home server, the gmg command takes ages just to show the usage message. I think the first thing it should do is parsing the command line and possibly throw errors immediately. Only after that import all other required modules.

% time ./bin/gmg

usage: gmg [-h] [-cf CONF_FILE]

{batchaddmedia,shell,adduser,assetlink,makeadmin,reprocess,serve,deleteuser,addmedia,dbupdate,deletemedia,changepw,alembic} ...

gmg: error: too few arguments ./bin/gmg 6,30s user 2,89s system 86% cpu 10,612 total

6,30 seconds just to list possible commands!!! I'd say it's a bit unresponsive.

#5451 fixed Reformat messages.add_message calls to follow PEP 8 ayleph
Description

While tracking down some bad message calls in the blog plugin, I came across a number of wildly different styles for the messages.add_message function call. Notably, many of these calls don't adhere to the following PEP 8 guideline.

Arguments on first line forbidden when not using vertical alignment.

https://www.python.org/dev/peps/pep-0008/#id15

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.