Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (85 - 87 of 1174)

Ticket Resolution Summary Owner Reporter
#5506 fixed Python 3 compatibility for ./bin/gmg assetlink Vaelatern
Description

Without this patch:

$ ./bin/gmg assetlink
/var/www/mediagoblin/mg/mediagoblin/media_types/video/transcoders.py:37: PyGIWarning: GstPbutils was imported without specifying a version first. Use gi.require_version('GstPbutils', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GstPbutils
WARNING: audiolab is not installed so wav2png will not work
Traceback (most recent call last):
  File "./bin/gmg", line 11, in <module>
    load_entry_point('mediagoblin', 'console_scripts', 'gmg')()
  File "/var/www/mediagoblin/mg/mediagoblin/gmg_commands/__init__.py", line 148, in main_cli
    args.func(args)
  File "/var/www/mediagoblin/mg/mediagoblin/gmg_commands/assetlink.py", line 141, in assetlink
    mgoblin_app = commands_util.setup_app(args)
  File "/var/www/mediagoblin/mg/mediagoblin/gmg_commands/util.py", line 28, in setup_app
    mgoblin_app = app.MediaGoblinApp(args.conf_file)
  File "/var/www/mediagoblin/mg/mediagoblin/app.py", line 121, in __init__
    self.theme_registry, self.current_theme = register_themes(self.app_config)
  File "/var/www/mediagoblin/mg/mediagoblin/tools/theme.py", line 83, in register_themes
    and registry.has_key(current_theme_name):
AttributeError: 'dict' object has no attribute 'has_key'

With this patch:

$ ./bin/gmg assetlink
/var/www/mediagoblin/mg/mediagoblin/media_types/video/transcoders.py:37: PyGIWarning: GstPbutils was imported without specifying a version first. Use gi.require_version('GstPbutils', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GstPbutils
WARNING: audiolab is not installed so wav2png will not work
Linked the theme's asset directory:
  /var/www/mediagoblin/mg/mediagoblin/themes/airy/assets
to:
  /var/www/mediagoblin/mg/user_dev/theme_static
Skipping "coreplugin_basic_auth"; already set up.

Patch:

diff --git a/mediagoblin/tools/theme.py b/mediagoblin/tools/theme.py
index 97b041a6..ebb03980 100644
--- a/mediagoblin/tools/theme.py
+++ b/mediagoblin/tools/theme.py
@@ -80,7 +80,7 @@ def register_themes(app_config, builtin_dir=BUILTIN_THEME_DIR):

     current_theme_name = app_config.get('theme')
     if current_theme_name \
-            and registry.has_key(current_theme_name):
+            and current_theme_name in registry.keys():
         current_theme = registry[current_theme_name]
     else:
         current_theme = None
#5505 fixed please remove me from mailing list admin wkahngreene
Description

I helped set up the infrastructure for the MediaGoblin project in its early moments. Then later, I got super busy and ended up leaving the project.

Seems like most of my accounts are cleaned up (which is good), but the one thing that never got cleaned up is that I'm getting all the administrivia emails from the mediagoblin mailing list. This amounts to some 30+ emails a day. I get moderation queue notifications, administrivia, and bounceback emails from mailman sending an email saying an email was put in the moderator queue, but since the email isn't valid it bounces back.

I've asked a couple of times for someone to go through the mailing list admin pages and remove my email address (willg at bluesock dot org) over the years, but I'm still getting the email.

Can someone either go through the mailing list admin pages and remove my email address or give me the admin password so I can do it myself?

Thank you!

#5504 no-action Support alternate URL prefixes Vaelatern
Description

In the scenario where the user (me) wants to run Mediagoblin under, for example, example.com/mg/, mediagoblin makes this very difficult.

I was able to route /mgoblin_static to /mg/mgoblin_static, and was able to serve the main page under /mg, but was unable to use the site as other actions (like submitting new media) brought me back to / rooted URLs.

Official support for prefixes would be quite nice for people who want to have small setups, or don't want to have a subdomain for this program.

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