Closed Bug 625706 Opened 14 years ago Closed 14 years ago

Adding locations sometimes fails

Categories

(Webtools :: Bouncer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: jlaz)

Details

Since Bug 624658 is not fixed yet, I tried to add Firefox 4.0b9 entries manually w/o specifying locales using Bouncer admin interface.

I was able to add Forefox-4.0b9* products, but it's impossible to add locations for them. I get HTTP 500 with the following description:

--------------------------
ViewDoesNotExist at /admin/mirror/location/add/

Could not import api.views. Error was: No module named product_details

Request Method: 	GET
Request URL: 	https://10.2.75.6/admin/mirror/location/add/
Django Version: 	1.2
Exception Type: 	ViewDoesNotExist
Exception Value: 	

Could not import api.views. Error was: No module named product_details

Exception Location: 	/data/virtualenvs/tuxedo/lib/python2.6/site-packages/django/core/urlresolvers.py in _get_callback, line 132
Python Executable: 	/usr/bin/python
Python Version: 	2.6.2
Python Path: 	['/data/virtualenvs/tuxedo/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/data/virtualenvs/tuxedo/lib/python2.6/site-packages/pip-0.7.1-py2.6.egg', '/data/virtualenvs/tuxedo/lib64/python26.zip', '/data/virtualenvs/tuxedo/lib64/python2.6', '/data/virtualenvs/tuxedo/lib64/python2.6/plat-linux2', '/data/virtualenvs/tuxedo/lib64/python2.6/lib-tk', '/data/virtualenvs/tuxedo/lib64/python2.6/lib-old', '/data/virtualenvs/tuxedo/lib64/python2.6/lib-dynload', '/usr/lib/python2.6', '/usr/lib64/python2.6', '/data/virtualenvs/tuxedo/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/virtualenv-1.4.8-py2.6.egg', '/usr/lib/python2.6/site-packages/pip-0.7.1-py2.6.egg', '/data/virtualenvs/tuxedo/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/usr/lib/python2.6/site-packages', '/usr/lib64/python2.6/site-packages', '/var/www/django', '/var/www/django/tuxedo/apps']
Server time: 	Fri, 14 Jan 2011 03:04:42 -0800

---------------------------------------------------------------
Some kind of false alarm here. Although I get HTTP 500 bouncer adds locations. Lowering priority.
No longer blocks: 621199
Severity: blocker → normal
Summary: Unable to add locations to a product → Adding locations sometimes fails
Really? Curious.

Well either way I'll fix it ;)
Test still pass, so I am thinking we forgot to restart apache. Meh.

jlaz, can you restart Apache on im-sentry01 for us, please?
Assignee: nobody → jlazaro
OS: Linux → All
Hardware: x86_64 → All
[root@im-sentry01 ~]# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: [Fri Jan 14 09:50:49 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
                                                           [  OK  ]
[root@im-sentry01 ~]#
Thanks, this should work now, Rail!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.