This is a different issue. You'll need to remove Django 1.4 and upgrade to RB 
1.6.5, and do a site upgrade.

Christian



On Apr 9, 2012, at 20:33, Steven Zhu <steven...@gmail.com> wrote:

> I am using 1.6.4.1 and found the similar error(missing css file and "cannot 
> add messages without installing 
> django.contrib.messages.middleware.MessageMiddleware" ) in server log that is 
> listed below. Anyone can help to fix ?
> 
> Server log:
> 11:28:10      ERROR   
> Exception thrown for user mstar at 
> http://msstra066-ubuntu.mstarsemi.com.tw/admin/db/scmtools/repository/6/admin/css/forms.css/
> 
> repository object with primary key u'6/admin/css/forms.css' does not exist.
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/handlers/base.py",
>  line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 366, in wrapper
>     return self.admin_site.admin_view(view)(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/views/decorators/cache.py",
>  line 89, in _wrapped_view_func
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/sites.py",
>  line 196, in inner
>     return view(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 25, in _wrapper
>     return bound_func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 21, in bound_func
>     return func(self, *args2, **kwargs2)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/transaction.py",
>  line 209, in inner
>     return func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 1023, in change_view
>     raise Http404(_('%(name)s object with primary key %(key)r does not 
> exist.') % {'name': force_unicode(opts.verbose_name), 'key': 
> escape(object_id)})
> Http404: repository object with primary key u'6/admin/css/forms.css' does not 
> exist.
> 11:28:10      ERROR   
> Exception thrown for user mstar at 
> http://msstra066-ubuntu.mstarsemi.com.tw/admin/db/scmtools/repository/6/admin/img/icon_addlink.gif/
> 
> repository object with primary key u'6/admin/img/icon_addlink.gif' does not 
> exist.
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/handlers/base.py",
>  line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 366, in wrapper
>     return self.admin_site.admin_view(view)(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/views/decorators/cache.py",
>  line 89, in _wrapped_view_func
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/sites.py",
>  line 196, in inner
>     return view(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 25, in _wrapper
>     return bound_func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 21, in bound_func
>     return func(self, *args2, **kwargs2)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/transaction.py",
>  line 209, in inner
>     return func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 1023, in change_view
>     raise Http404(_('%(name)s object with primary key %(key)r does not 
> exist.') % {'name': force_unicode(opts.verbose_name), 'key': 
> escape(object_id)})
> Http404: repository object with primary key u'6/admin/img/icon_addlink.gif' 
> does not exist.
> 11:28:10      ERROR   
> Exception thrown for user mstar at 
> http://msstra066-ubuntu.mstarsemi.com.tw/admin/db/scmtools/repository/6/admin/css/base.css/
> 
> repository object with primary key u'6/admin/css/base.css' does not exist.
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/handlers/base.py",
>  line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 366, in wrapper
>     return self.admin_site.admin_view(view)(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/views/decorators/cache.py",
>  line 89, in _wrapped_view_func
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/sites.py",
>  line 196, in inner
>     return view(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 25, in _wrapper
>     return bound_func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 21, in bound_func
>     return func(self, *args2, **kwargs2)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/transaction.py",
>  line 209, in inner
>     return func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 1023, in change_view
>     raise Http404(_('%(name)s object with primary key %(key)r does not 
> exist.') % {'name': force_unicode(opts.verbose_name), 'key': 
> escape(object_id)})
> Http404: repository object with primary key u'6/admin/css/base.css' does not 
> exist.
> 11:28:10      ERROR   
> Exception thrown for user mstar at 
> http://msstra066-ubuntu.mstarsemi.com.tw/admin/db/scmtools/repository/6/admin/img/icon_addlink.gif/
> 
> repository object with primary key u'6/admin/img/icon_addlink.gif' does not 
> exist.
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/handlers/base.py",
>  line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 366, in wrapper
>     return self.admin_site.admin_view(view)(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/views/decorators/cache.py",
>  line 89, in _wrapped_view_func
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/sites.py",
>  line 196, in inner
>     return view(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 25, in _wrapper
>     return bound_func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 21, in bound_func
>     return func(self, *args2, **kwargs2)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/transaction.py",
>  line 209, in inner
>     return func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 1023, in change_view
>     raise Http404(_('%(name)s object with primary key %(key)r does not 
> exist.') % {'name': force_unicode(opts.verbose_name), 'key': 
> escape(object_id)})
> Http404: repository object with primary key u'6/admin/img/icon_addlink.gif' 
> does not exist.
> 11:28:16      ERROR   
> Exception thrown for user mstar at 
> http://msstra066-ubuntu.mstarsemi.com.tw/admin/db/scmtools/repository/6/
> 
> You cannot add messages without installing 
> django.contrib.messages.middleware.MessageMiddleware
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/handlers/base.py",
>  line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 366, in wrapper
>     return self.admin_site.admin_view(view)(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/views/decorators/cache.py",
>  line 89, in _wrapped_view_func
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/sites.py",
>  line 196, in inner
>     return view(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 25, in _wrapper
>     return bound_func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 21, in bound_func
>     return func(self, *args2, **kwargs2)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/transaction.py",
>  line 209, in inner
>     return func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 1058, in change_view
>     return self.response_change(request, new_object)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 842, in response_change
>     self.message_user(request, msg)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 696, in message_user
>     messages.info(request, message)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/messages/api.py",
>  line 78, in info
>     fail_silently=fail_silently)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/messages/api.py",
>  line 22, in add_message
>     raise MessageFailure('You cannot add messages without installing '
> MessageFailure: You cannot add messages without installing 
> django.contrib.messages.middleware.MessageMiddleware
> 11:28:16      ERROR   
> Internal Server Error: /admin/db/scmtools/repository/6/
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/handlers/base.py",
>  line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 366, in wrapper
>     return self.admin_site.admin_view(view)(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/views/decorators/cache.py",
>  line 89, in _wrapped_view_func
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/sites.py",
>  line 196, in inner
>     return view(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 25, in _wrapper
>     return bound_func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/decorators.py",
>  line 21, in bound_func
>     return func(self, *args2, **kwargs2)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/transaction.py",
>  line 209, in inner
>     return func(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 1058, in change_view
>     return self.response_change(request, new_object)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 842, in response_change
>     self.message_user(request, msg)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/admin/options.py",
>  line 696, in message_user
>     messages.info(request, message)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/messages/api.py",
>  line 78, in info
>     fail_silently=fail_silently)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/contrib/messages/api.py",
>  line 22, in add_message
>     raise MessageFailure('You cannot add messages without installing '
> MessageFailure: You cannot add messages without installing 
> django.contrib.messages.middleware.MessageMiddleware
> 
> 
> 
> 
> 2012/4/10 Christian Hammond <chip...@chipx86.com>
> Yeah, don't use 1.7 alpha yet :) That stuff is all undergoing a lot of work.
> 
> Hoping to put out a beta this week or next, now that that work is almost 
> done. We're doing nightly dogfoods first.
> 
> Christian
> 
> -- 
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
> 
> 
> 
> On Mon, Apr 9, 2012 at 2:36 PM, Dorothy Kong <dorot...@yahoo.cn> wrote:
> Hi all,
> 
> We were trying to  create a rb site with reviewboard 1.7alpha dev. The site 
> seems to work functionally but doesn't have the expected layout. It seems 
> that the static/rb/css/common.min.css and static/rb/js/base.min.js are 
> missing. 
> 
> Anyone knows how to fix this? What could we do to have the nice layout of 
> reviewboard?
> Thank a lot!
> 
> Best,
> Dorothy
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en
> 
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en
> 
> 
> 
> -- 
> BR
> Steven.zhu
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to