Custom Query (1173 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (154 - 156 of 1173)

Ticket Resolution Summary Owner Reporter
#5446 cant-reproduce gmd dbupdate: AttributeError: 'Config' object has no attribute 'attributes' mrb
Description

Git rev: 3f08f780f6698622dba0e8de74ece9194fdb7726

Running gmg dbupdate yields:

sh-4.3$ ./bin/gmg dbupdate
/usr/local/mediagoblin/mediagoblin/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
/usr/local/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/SQLAlchemy-0.8.6-py2.7-linux-i686.egg/sqlalchemy/engine/default.py:471: SAWarning: Unicode type received non-unicode bind param value.
Traceback (most recent call last):
  File "./bin/gmg", line 9, in <module>
    load_entry_point('mediagoblin==0.8.0', 'console_scripts', 'gmg')()
  File "/usr/local/mediagoblin/mediagoblin/mediagoblin/gmg_commands/__init__.py", line 148, in main_cli
    args.func(args)
  File "/usr/local/mediagoblin/mediagoblin/mediagoblin/gmg_commands/dbupdate.py", line 162, in dbupdate
    run_dbupdate(app_config, global_config)
  File "/usr/local/mediagoblin/mediagoblin/mediagoblin/gmg_commands/dbupdate.py", line 134, in run_dbupdate
    run_alembic_migrations(db, app_config, global_config)
  File "/usr/local/mediagoblin/mediagoblin/mediagoblin/gmg_commands/dbupdate.py", line 115, in run_alembic_migrations
    manager = AlembicMigrationManager(Session())
  File "/usr/local/mediagoblin/mediagoblin/mediagoblin/db/migration_tools.py", line 49, in __init__
    self.alembic_cfg.attributes["session"] = self.session
AttributeError: 'Config' object has no attribute 'attributes'
#67 FIXED global config doesn't get copied into setup_celery_from_config from paste factory Christopher Allan Webber Christopher Allan Webber
Description
Even if you add values to the [celery] section in your
mediagoblin.ini they don't get passed in to the celery config
system because that section of the config file isn't passed into
the paste factory, and thus isn't passed along correctly either.

::

    def setup_celery_from_config(app_config, global_config,
                                 settings_module=DEFAULT_SETTINGS_MODULE,
                                 set_environ=True):

We'll have to probably use the generic config parser from
`http://bugs.foocorp.net/issues/297 <http://bugs.foocorp.net/issues/297>`_
and pass it into this function.

This matters in case users have any sort of custom parameters they
want to pass into mediagoblin.ini (such as CELERY\_ALWAYS\_EAGER =
True)



#5035 duplicate gi warnings ayleph
Description

I get the following warnings when I run bin/gmg dbupdate in v0.8.0.

(mediagoblin-0.8.0) ~/mediagoblin-0.8.0 $ bin/gmg dbupdate
/usr/lib/python2.7/site-packages/gi/module.py:178: Warning: g_array_append_vals: assertion 'array' failed
  g_type = info.get_g_type()
/usr/lib/python2.7/site-packages/gi/module.py:178: Warning: g_hash_table_lookup: assertion 'hash_table != NULL' failed
  g_type = info.get_g_type()
/usr/lib/python2.7/site-packages/gi/module.py:178: Warning: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
  g_type = info.get_g_type()

Are these safe to ignore? If so, would it make sense to suppress the warning output?

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