fedbadges-backend.stg - another question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello again, does anyone have insight to these two errors?

first the fedmsg warning and then getting the badge 'egg' from tahrir db
fails.

Thanks,
Zach

>>> import pkg_resources
>>> import time
>>> import urllib
>>> import socket
>>> from tahrir_api.dbapi import TahrirDatabase
>>> import transaction
>>> _fas_cache = {}
>>> import fedmsg
>>> import fedmsg.config
>>> fm_config = fedmsg.config.load_config()
>>> fm_config['cert_prefix'] = 'fedbadges'
>>> fm_config['name'] = 'relay_inbound'
>>> fm_config['Active'] = True
>>> fedmsg.init(**fm_config)
/usr/lib/python2.7/site-packages/fedmsg/core.py:158: UserWarning: fedmsg
is not configured to send any messages for name 'relay_inbound'
  "for name %r" % config.get("name", None))
  <fedmsg.core.FedMsgContext object at 0x306d190>
  >>> import fedbadges.utils
  >>> uri = fm_config['badges_global']['database_uri']
  >>> tahrir = TahrirDatabase(uri,
  >>> notification_callback=fedbadges.utils.notification_callback)
  >>> badge = tahrir.get_badge(badge_id='egg')
  >>> badge
  >>> print badge
  None

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux