Thanks ! , that resolved the issue ,but UI is not proper.

On Saturday, December 8, 2012 5:19:51 PM UTC+5:30, Vishal Gautam wrote:
>
> That worked!!! Installed the latest Djblets 0.7.6 and it worked. 
>
> Thank you so much Chris!
>
>
> On Sat, Dec 8, 2012 at 1:33 PM, Christian Hammond 
> <chi...@gmail.com<javascript:>
> > wrote:
>
>> If you upgrade Djblets to what's in Git, this will go away. I'll see 
>> about doing another Djblets release tonight, though, to fix it.
>>
>> As soon as we finish docs, 1.7 will be released.
>>
>> Christian
>>
>>
>> On Dec 7, 2012, at 21:21, Vishal Gautam <gautam...@gmail.com<javascript:>> 
>> wrote:
>>
>> Turned Debug=True, now i see this  ... any pointers?
>>
>> Traceback:
>> File 
>> "/usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/core/handlers/base.py"
>>  
>> in get_response
>>   89.                     response = middleware_method(request)
>> File 
>> "/usr/local/lib/python2.6/site-packages/ReviewBoard-1.7rc1-py2.6.egg/reviewboard/admin/middleware.py"
>>  
>> in process_request
>>    44.         load_site_config()
>> File 
>> "/usr/local/lib/python2.6/site-packages/ReviewBoard-1.7rc1-py2.6.egg/reviewboard/admin/siteconfig.py"
>>  
>> in load_site_config
>>   215.     apply_django_settings(siteconfig, settings_map)
>> File 
>> "/usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/siteconfig/django_settings.py"
>>  
>> in apply_django_settings
>>   210.             setter(settings, setting_key, value)
>> File 
>> "/usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/siteconfig/django_settings.py"
>>  
>> in _set_cache_backend
>>   48.         engine, host, params = parse_backend_uri(value)
>> File 
>> "/usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/core/cache/__init__.py"
>>  
>> in parse_backend_uri
>>   58.     if backend_uri.find(':') == -1:
>>
>> Exception Type: AttributeError at /
>> Exception Value: 'dict' object has no attribute 'find'
>>
>>
>> On Sat, Dec 8, 2012 at 12:16 AM, Christian Hammond 
>> <chi...@gmail.com<javascript:>
>> > wrote:
>>
>>> We're definitely compatible with Python 2.6. All the entries in the log 
>>> you provided are just harmless warnings, so it must be something else 
>>> causing the HTTP 500 error. Is there nothing else after that in the log 
>>> file?
>>>
>>> Christian
>>>
>>>
>>> On Dec 7, 2012, at 5:56, Vishal Gautam <gautam...@gmail.com<javascript:>> 
>>> wrote:
>>>
>>> Ahh ... that python upgrade caused a lot of damage (being a newbie), 
>>> spent entire day battling it ... since it was a new install, I recreated 
>>> the site with new db, got plethora of errors. Thinking Python 2.7 could be 
>>> an issue I have now downgraded to Python 2.6 and re-installed RB 1.7 and 
>>> recreated the site. Now i get a 500 with following errors in error_log. Is 
>>> RB 1.7 not compatible with Python 2.6?
>>>
>>> [Fri Dec 07 13:39:43 2012] [error] 
>>> /usr/local/lib/python2.6/site-packages/Djblets-0.7.5-py2.6.egg/djblets/gravatars/__init__.py:26:
>>>  
>>> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>>> [Fri Dec 07 13:39:43 2012] [error]   from md5 import md5
>>> [Fri Dec 07 13:39:43 2012] [error] 
>>> /usr/local/lib/python2.6/site-packages/Django-1.4.2-py2.6.egg/django/views/generic/list_detail.py:10:
>>>  
>>> DeprecationWarning: Function-based generic views have been deprecated; use 
>>> class-based views instead.
>>> [Fri Dec 07 13:39:43 2012] [error]   DeprecationWarning
>>>
>>>
>>> On Friday, December 7, 2012 12:13:16 PM UTC+5:30, Christian Hammond 
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> First, do you have a backup of the database?
>>>>
>>>> What actions did you take on the database prior to this attempt? For 
>>>> example, did you ever run evolve yourself? Or attempt a downgrade after an 
>>>> upgrade?
>>>>
>>>> Christian
>>>>
>>>> -- 
>>>> Christian Hammond - chi...@chipx86.com
>>>> Review Board - http://www.reviewboard.org
>>>> VMware, Inc. - http://www.vmware.com
>>>>
>>>>
>>>>
>>>> On Thu, Dec 6, 2012 at 10:38 AM, Vishal Gautam <gautam...@gmail.com>wrote:
>>>>
>>>>> Thanks for the response Chris!
>>>>>
>>>>> I upgrade CentOS to 5.8, manually installed Python 2.7, upgraded 
>>>>> setuptools for 2.7, then upgraded RB to 1.7rc1. All this made it fine 
>>>>> (after getting bunch of issues those I could look up in Google). Now I am 
>>>>> stuck at upgrading the site .... and my RB instance is down ... Please 
>>>>> help!
>>>>>
>>>>> [root@jira ~]# /usr/local/bin/rb-site upgrade /var/www/
>>>>> reviews.xxx.xxxx.com
>>>>> Rebuilding directory structure
>>>>> Updating database. This may take a while.
>>>>> /usr/local/lib/python2.7/site-**packages/Djblets-0.7.5-py2.7.**
>>>>> egg/djblets/gravatars/__init__**.py:26: DeprecationWarning: the md5 
>>>>> module is deprecated; use hashlib instead
>>>>>   from md5 import md5
>>>>> /usr/local/lib/python2.7/site-**packages/pycrypto-2.6-py2.7-**
>>>>> linux-x86_64.egg/Crypto/Util/**number.py:57: PowmInsecureWarning: Not 
>>>>> using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid timing 
>>>>> attack vulnerability.
>>>>> Creating tables ...
>>>>> Project signature has changed - an evolution is required
>>>>> Installing custom SQL ...
>>>>> Installing indexes ...
>>>>> Installed 0 object(s) from 0 fixture(s)
>>>>> The stored evolutions do not completely resolve all model changes.
>>>>> Run `./manage.py evolve --hint` to see a suggestion for the changes 
>>>>> required.
>>>>>
>>>>> The following are the changes that could not be resolved:
>>>>> In model reviews.FileAttachmentComment:
>>>>>     Field 'extra_data' has been added
>>>>> In model reviews.ReviewRequest:
>>>>>     Field 'last_review_activity_**timestamp' has been added
>>>>>     Field 'last_review_timestamp' has been deleted
>>>>> In model accounts.Profile:
>>>>>     Field 'timezone' has been added
>>>>>     Field 'open_an_issue' has been added
>>>>> In model diffviewer.DiffSetHistory:
>>>>>     Field 'last_diff_updated' has been added
>>>>> In model diffviewer.FileDiff:
>>>>>     Field 'diff_hash' has been added
>>>>>     Field 'parent_diff_hash' has been added
>>>>>     Field 'diff64' has been added
>>>>>     Field 'parent_diff64' has been added
>>>>>     Field 'parent_diff' has been deleted
>>>>>     Field 'diff' has been deleted
>>>>> The model auth.Message has been deleted
>>>>> Error: Your models contain changes that Django Evolution cannot 
>>>>> resolve automatically.
>>>>>
>>>>>
>>>>> On Wednesday, December 5, 2012 8:36:42 PM UTC+5:30, Christian Hammond 
>>>>> wrote:
>>>>>
>>>>>> Review Board 1.7 requires Python 2.5 or higher. You'll have to 
>>>>>> upgrade in order for it to work.
>>>>>>
>>>>>> What I'd recommend is a newer CentOS install, since some of our 
>>>>>> dependencies will also need to be updated, and you won't hit as many 
>>>>>> issues 
>>>>>> with the upgrade. Your best bet is to upgrade to something with Python 
>>>>>> 2.7.
>>>>>>
>>>>>> Christian
>>>>>>
>>>>>> -- 
>>>>>> Christian Hammond - chi...@chipx86.com
>>>>>> Review Board - http://www.reviewboard.org
>>>>>> VMware, Inc. - http://www.vmware.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Dec 5, 2012 at 2:22 AM, Vishal Gautam <gautam...@gmail.com>wrote:
>>>>>>
>>>>>>> We are trying out RB, we have 1.6.14 installed and running on CentOS 
>>>>>>> 5.5. Tried to upgrade it to 1.7 using following cmd but its failing  
>>>>>>> ... 
>>>>>>>
>>>>>>>   easy_install -f http://downloads.reviewboard.**o**
>>>>>>> rg/releases/ReviewBoard/1.7<http://downloads.reviewboard.org/releases/ReviewBoard/1.7>-U
>>>>>>>  ReviewBoard
>>>>>>>
>>>>>>> Here is the stracktrace, any help will be much appreciated
>>>>>>>
>>>>>>> Best match: ReviewBoard 1.7rc1
>>>>>>> Downloading http://downloads.reviewboard.**o**
>>>>>>> rg/releases/ReviewBoard/1.7/**Re**viewBoard-1.7rc1.tar.gz<http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-1.7rc1.tar.gz>
>>>>>>> Processing ReviewBoard-1.7rc1.tar.gz
>>>>>>> Running ReviewBoard-1.7rc1/setup.py -q bdist_egg --dist-dir 
>>>>>>> /tmp/easy_install-vW-lSE/**Revie**wBoard-1.7rc1/egg-dist-**tmp-**
>>>>>>> DrI1Td
>>>>>>> Traceback (most recent call last):
>>>>>>>   File "./contrib/internal/build-**medi**a.py", line 19, in ?
>>>>>>>     ret = call_command('collectstatic', interactive=False, 
>>>>>>> verbosity=2)
>>>>>>>   File "/usr/lib/python2.4/site-**packa**ges/Django-1.3.4-py2.4.**
>>>>>>> egg/**django/core/management/__**init_**_.py", line 153, in 
>>>>>>> call_command
>>>>>>>     klass = load_command_class(app_name, name)
>>>>>>>   File "/usr/lib/python2.4/site-**packa**ges/Django-1.3.4-py2.4.**
>>>>>>> egg/**django/core/management/__**init_**_.py", line 68, in 
>>>>>>> load_command_class
>>>>>>>     return module.Command()
>>>>>>>   File "/usr/lib/python2.4/site-**packa**ges/Django-1.3.4-py2.4.**
>>>>>>> egg/**django/contrib/**staticfiles/**management/**commands/**collectstatic.py",
>>>>>>>  
>>>>>>> line 41, in __init__
>>>>>>>     self.storage = get_storage_class(settings.**STA**
>>>>>>> TICFILES_STORAGE)()
>>>>>>>   File "/usr/lib/python2.4/site-**packa**ges/Django-1.3.4-py2.4.**
>>>>>>> egg/**django/core/files/storage.**py", line 265, in 
>>>>>>> get_storage_class
>>>>>>>     raise ImproperlyConfigured('Error importing storage module %s: 
>>>>>>> "%s"' % (module, e))
>>>>>>> django.core.exceptions.**Imprope**rlyConfigured: Error importing 
>>>>>>> storage module pipeline.storage: "cannot import name CachedFilesMixin"
>>>>>>> Traceback (most recent call last):
>>>>>>>   File "/usr/bin/easy_install", line 7, in ?
>>>>>>>     sys.exit(
>>>>>>>   File "/usr/lib/python2.4/site-**packa**ges/setuptools-0.6c12dev_**
>>>>>>> r8884**6-py2.4.egg/setuptools/**command**/easy_install.py", line 
>>>>>>> 1712, in main
>>>>>>> ..........
>>>>>>> snipped
>>>>>>> ...........
>>>>>>>     self.distribution.run_command(****command)
>>>>>>>   File "/usr/lib64/python2.4/**distutil**s/dist.py", line 966, in 
>>>>>>> run_command
>>>>>>>     cmd_obj.run()
>>>>>>>   File "setup.py", line 63, in run
>>>>>>>   File "/usr/lib64/python2.4/**distutil**s/cmd.py", line 333, in 
>>>>>>> run_command
>>>>>>>     self.distribution.run_command(****command)
>>>>>>>    File "/usr/lib64/python2.4/**distutil**s/dist.py", line 966, in 
>>>>>>> run_command
>>>>>>>     cmd_obj.run()
>>>>>>>   File "setup.py", line 81, in run
>>>>>>> RuntimeError: Failed to build media files
>>>>>>>
>>>>>>>
>>>>>>> On Friday, November 30, 2012 3:38:07 AM UTC+5:30, Christian Hammond 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Review Board "Better Late Than Never" 1.7 RC 1 is out. We had hoped 
>>>>>>>> to get this out earlier, but hit some problems and annoyances during 
>>>>>>>> some 
>>>>>>>> production use that we felt should be fixed first. So trust me, it was 
>>>>>>>> worth the wait :)
>>>>>>>>
>>>>>>>> There's a lot of fixes, enhancements, and some small extension 
>>>>>>>> interface changes in this release.
>>>>>>>>
>>>>>>>> See the news and release notes for more information.
>>>>>>>>
>>>>>>>> http://www.reviewboard.org/**new****s/2012/11/29/review-board-**
>>>>>>>> 1-7-****rc-1-released/<http://www.reviewboard.org/news/2012/11/29/review-board-1-7-rc-1-released/>
>>>>>>>>
>>>>>>>> We'd like to ask those who plan to upgrade to 1.7 to please give it 
>>>>>>>> a try. Aside from major fixes, we are hoping there won't be many 
>>>>>>>> changes 
>>>>>>>> made until the final 1.7, so now's the time to report any regressions 
>>>>>>>> you 
>>>>>>>> hit.
>>>>>>>>
>>>>>>>> Christian
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Christian Hammond - chi...@chipx86.com
>>>>>>>>
>>>>>>>> Review Board - http://www.reviewboard.org
>>>>>>>> VMware, Inc. - http://www.vmware.com
>>>>>>>>
>>>>>>>
>>>>>>
>>>>
>>
>

-- 
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