Errors while working on fedora-packages

While working on fedora-packages I came across some problems that I want to share.
After running:
paster serve development.ini
I came across this error:

File "/usr/lib/python2.7/site-packages/paste/deploy/", line 146, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/usr/lib/python2.7/site-packages/paste/deploy/", line 56, in fix_call
val = callable(*args, **kw)
File "/home/marija/fedoracommunity/fedoracommunity/config/", line 30, in make_app
from import FCommConnectorMiddleware
File "/home/marija/fedoracommunity/fedoracommunity/connectors/", line 1, in
from kojiconnector import KojiConnector
File "/home/marija/fedoracommunity/fedoracommunity/connectors/", line 32, in
from fedoracommunity.connectors.api import IConnector, ICall, IQuery, ParamFilter
File "/home/marija/fedoracommunity/fedoracommunity/connectors/api/", line 16, in
from connector import IConnector, ICall, IQuery, IFeed, INotify, ISearch
File "/home/marija/fedoracommunity/fedoracommunity/connectors/api/", line 36, in
from dogpile.cache import make_region
ImportError: No module named dogpile.cache

The solution to this problem is running:
yum --enablerepo=updates-testing update python-dogpile\*
which caused the next error in terminal:

File "/home/marija/fedoracommunity/fedoracommunity/connectors/api/", line 133, in _cache
cls.__cache.configure_from_config(config, 'cache.connectors.')
File "/usr/lib/python2.7/site-packages/dogpile/cache/", line 271, in configure_from_config
_config_prefix="%sarguments." % prefix
File "/usr/lib/python2.7/site-packages/dogpile/cache/", line 187, in configure
File "/usr/lib/python2.7/site-packages/dogpile/cache/", line 79, in from_config_dict
for key in config_dict
File "/usr/lib/python2.7/site-packages/dogpile/cache/backends/", line 176, in __init__
super(MemcacheArgs, self).__init__(arguments)
File "/usr/lib/python2.7/site-packages/dogpile/cache/backends/", line 99, in __init__
File "/usr/lib/python2.7/site-packages/dogpile/cache/backends/", line 247, in _imports
import memcache
ImportError: No module named memcache

Next thing to do, when this error occurs:
sudo systemctl start memcached
also in terminal:
sudo systemctl start redis

Now those problems are solved and a simple git pull can solve your problems, but I wanted to share this as something that I came across, while working.
Till next time! 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s