Last active
March 27, 2017 17:54
-
-
Save z2s8/28559a11a17efc39ac50a6e1923c2274 to your computer and use it in GitHub Desktop.
statscache plugin outputs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2017-03-27 19:17:12][ fedmsg ERROR] Failed to load plugin from EntryPoint.parse('newy = statscache_plugins.new_statscache_plugin:Plugin') | |
Traceback (most recent call last): | |
File "/var/tmp/stats/statscache/statscache/utils.py", line 95, in init_plugins | |
entry_object = entry_point.load() | |
File "/var/tmp/stats/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2355, in load | |
return self.resolve() | |
File "/var/tmp/stats/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2361, in resolve | |
module = __import__(self.module_name, fromlist=['__name__'], level=0) | |
File "/var/tmp/stats/statscache_plugins/statscache_plugins/new_statscache_plugin.py", line 6, in <module> | |
class Model(BaseModel): | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/ext/declarative/api.py", line 64, in __init__ | |
_as_declarative(cls, classname, cls.__dict__) | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/ext/declarative/base.py", line 88, in _as_declarative | |
_MapperConfig.setup_mapping(cls, classname, dict_) | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/ext/declarative/base.py", line 103, in setup_mapping | |
cfg_cls(cls_, classname, dict_) | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/ext/declarative/base.py", line 133, in __init__ | |
self._setup_inheritance() | |
File "build/bdist.linux-x86_64/egg/sqlalchemy/ext/declarative/base.py", line 430, in _setup_inheritance | |
"table-mapped class." % cls | |
InvalidRequestError: Class <class 'statscache_plugins.new_statscache_plugin.Model'> does not have a __table__ or __tablename__ specified and does not inherit from an existing table-mapped class. | |
[2017-03-27 19:17:12][ fedmsg INFO] instantiated plugins: volume-1s, volume-5s, volume-1m, release-engineering-event-logs, volume-by-category-1s, volume-by-category-15s, volume-by-category-1m, volume-by-category-1h, volume-by-category-1d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2017-03-27 19:18:56][moksha.hub ERROR] Failed to init <class 'statscache.consumer.StatsConsumer'> consumer. | |
Traceback (most recent call last): | |
File "build/bdist.linux-x86_64/egg/moksha/hub/hub.py", line 379, in __init_consumers | |
c = c_class(self) | |
File "/var/tmp/stats/statscache/statscache/consumer.py", line 86, in __init__ | |
plugin.update(session) | |
File "/var/tmp/stats/statscache_plugins/statscache_plugins/new_statscache_plugin.py", line 38, in update | |
session.add_row(self.model( | |
AttributeError: 'scoped_session' object has no attribute 'add_row' | |
[2017-03-27 19:18:56][moksha.hub INFO] Loading Producers | |
[2017-03-27 19:18:56][moksha.hub DEBUG] Loading from entry-points. | |
[2017-03-27 19:18:56][moksha.hub INFO] Initializing StatsProducer producer | |
[2017-03-27 19:18:56][ fedmsg DEBUG] statscache producer initializing | |
[2017-03-27 19:18:56][moksha.hub DEBUG] Setting a 1.0 second timer | |
[2017-03-27 19:18:56][moksha.hub ERROR] Failed to init <class 'statscache.producer.StatsProducer'> producer. | |
Traceback (most recent call last): | |
File "build/bdist.linux-x86_64/egg/moksha/hub/hub.py", line 424, in __init_producers | |
producer_obj = producer_class(self) | |
File "/var/tmp/stats/statscache/statscache/producer.py", line 24, in __init__ | |
self.plugins = statscache.utils.find_stats_consumer(self.hub).plugins | |
File "/var/tmp/stats/statscache/statscache/utils.py", line 25, in find_stats_consumer | |
raise ValueError('StatsConsumer not found.') | |
ValueError: StatsConsumer not found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2017-03-27 19:21:23][ fedmsg INFO] instantiated plugins: volume-1s, volume-5s, volume-1m, release-engineering-event-logs, popularity, volume-by-category-1s, volume-by-category-15s, volume-by-category-1m, volume-by-category-1h, volume-by-category-1d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment