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/loadwsgi.py", line 146, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
val = callable(*args, **kw)
File "/home/marija/fedoracommunity/fedoracommunity/config/middleware.py", line 30, in make_app
from fedoracommunity.connectors.api.mw import FCommConnectorMiddleware
File "/home/marija/fedoracommunity/fedoracommunity/connectors/__init__.py", line 1, in
from kojiconnector import KojiConnector
File "/home/marija/fedoracommunity/fedoracommunity/connectors/kojiconnector.py", line 32, in
from fedoracommunity.connectors.api import IConnector, ICall, IQuery, ParamFilter
File "/home/marija/fedoracommunity/fedoracommunity/connectors/api/__init__.py", line 16, in
from connector import IConnector, ICall, IQuery, IFeed, INotify, ISearch
File "/home/marija/fedoracommunity/fedoracommunity/connectors/api/connector.py", 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/connector.py", line 133, in _cache
cls.__cache.configure_from_config(config, 'cache.connectors.')
File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 271, in configure_from_config
_config_prefix="%sarguments." % prefix
File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 187, in configure
_config_prefix
File "/usr/lib/python2.7/site-packages/dogpile/cache/api.py", line 79, in from_config_dict
for key in config_dict
File "/usr/lib/python2.7/site-packages/dogpile/cache/backends/memcached.py", line 176, in __init__
super(MemcacheArgs, self).__init__(arguments)
File "/usr/lib/python2.7/site-packages/dogpile/cache/backends/memcached.py", line 99, in __init__
self._imports()
File "/usr/lib/python2.7/site-packages/dogpile/cache/backends/memcached.py", 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! :)

Some tweeks on fedora-packages

I was working on some changes in Overview and Bugs mockups.

Let’s start with Overview mockup.

Packager-mockup_subpackageprofile_overview

Some of the things that needed to be done here were:

- karma image:
karma-image

now the position of the karma image is according to the mockup
karma-image-changes

- changing position of “Subpackage of package”
subpackage

After all the patches are reviewed, I will publish the changes.

The Bugs mockup looks like this:
Packager-mockup_subpackageprofile_bugs

This mockup is implemented but there is some functionality that also needs implementation.

See you in few days with screenshots of the patches. :)

Let’s start blogging

Hello everyone!!! :)

I’m so excited that I got accepted in this round of OPW. I’m really glad that I get the chance to be part of the community. Looking forward to working on Packages and learn a lot of new things.

Congratulations to everyone who got accepted. Wish you all a lot of fun and happy hacking. :)

Till next time…