rb-site upgrade fails when trying to upgrade site 3.0.24 -> 4.0.6, containers used

2022-04-29 Thread Armin Schmidt
Hi everyone,
I'm facing the following issue when trying to upgrade my reviewboard 
installation.

Currently, the 3.0.24 container is running just fine.
After modifying podman's kube yaml file to use the 4.0.6-1 tag for the 
reviewboard container I get the following output via "podman logs 
reviewboard-rb_app":

mysql is up!
 
+ SETTINGS_LOCAL=/site/conf/settings_local.py
+ '[' -e /site/conf/settings_local.py ']'
+ rb-site upgrade --copy-media /site
Traceback (most recent call last):
  File "/venv/bin/rb-site", line 8, in 
sys.exit(main())
  File "/venv/lib/python3.8/site-packages/reviewboard/cmdline/rbsite.py", 
line 2716, in main
parsed_options = parse_options(sys.argv[1:])
  File "/venv/lib/python3.8/site-packages/reviewboard/cmdline/rbsite.py", 
line 2649, in parse_options
command.add_options(subparser)
  File "/venv/lib/python3.8/site-packages/reviewboard/cmdline/rbsite.py", 
line 2466, in add_options
'commands': self._get_commands_help(),
  File "/venv/lib/python3.8/site-packages/reviewboard/cmdline/rbsite.py", 
line 2535, in _get_commands_help
commands_help.append(textwrap.fill(
  File "/usr/lib/python3.8/textwrap.py", line 391, in fill
return w.fill(text)
  File "/usr/lib/python3.8/textwrap.py", line 363, in fill
return "\n".join(self.wrap(text))
  File "/usr/lib/python3.8/textwrap.py", line 354, in wrap
return self._wrap_chunks(chunks)
  File "/usr/lib/python3.8/textwrap.py", line 248, in _wrap_chunks
raise ValueError("invalid width %r (must be > 0)" % self.width)
ValueError: invalid width -4 (must be > 0)

After that the container terminates.
What might be going on there?

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/7d79f7aa-4057-4b70-8b65-d13f33b5a818n%40googlegroups.com.


Re: rb-site upgrade fails

2016-07-06 Thread Christian Hammond
Definitely sounds like a corrupted installation of some sort. I'd try
reinstalling Review Board from scratch, deleting the original package
first. If that doesn't call it... something deeper might be messed up.

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Mon, Jul 4, 2016 at 4:07 AM, 'Rob Backhurst' via reviewboard <
reviewboard@googlegroups.com> wrote:

> Hi,
>
> >>> import reviewboard.scmtools
> Traceback (most recent call last):
>   File "", line 1, in 
> ImportError: No module named scmtools
>
> >>> print reviewboard.scmtools
> Traceback (most recent call last):
>   File "", line 1, in 
> AttributeError: 'module' object has no attribute 'scmtools'
>
> >>> import reviewboard.scmtools.core
> Traceback (most recent call last):
>   File "", line 1, in 
> ImportError: No module named scmtools.core
>
> >>> print reviewboard.scmtools.core
> Traceback (most recent call last):
>   File "", line 1, in 
> AttributeError: 'module' object has no attribute 'scmtools'
>
> >>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
> FileNotFoundError
> Traceback (most recent call last):
>   File "", line 1, in 
> ImportError: No module named scmtools.core
>
> I'm going to start this again...will let you know how it goes.
>
> Thanks
> Rob
>
> On Thursday, 12 May 2016 16:06:04 UTC+1, Rob Backhurst wrote:
>>
>> Hi,
>>
>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site
>> upgrade' fails...
>>
>> # rb-site upgrade /var/www/my-site/
>> Traceback (most recent call last):
>>   File "/usr/bin/rb-site", line 9, in 
>> load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 'rb-site')()
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>> line 1922, in main
>> command.run()
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>> line 1704, in run
>> diff_dedup_needed = site.get_diff_dedup_needed()
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>> line 477, in get_diff_dedup_needed
>> from reviewboard.diffviewer.models import FileDiff
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
>> line 14, in 
>> from reviewboard.diffviewer.managers import (RawFileDiffDataManager,
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
>> line 19, in 
>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
>> FileNotFoundError
>> ImportError: No module named scmtools.core
>>
>> This is running on RHEL 6.7.
>> Doe anyone have any ideas how to fix this?
>>
>> Thanks
>> Rob
>>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails

2016-07-04 Thread 'Rob Backhurst' via reviewboard
Hi,

>>> import reviewboard.scmtools
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named scmtools

>>> print reviewboard.scmtools
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'module' object has no attribute 'scmtools'

>>> import reviewboard.scmtools.core
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named scmtools.core

>>> print reviewboard.scmtools.core
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'module' object has no attribute 'scmtools'

>>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN, 
FileNotFoundError
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named scmtools.core

I'm going to start this again...will let you know how it goes.

Thanks
Rob

On Thursday, 12 May 2016 16:06:04 UTC+1, Rob Backhurst wrote:
>
> Hi,
>
> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site 
> upgrade' fails...
>
> # rb-site upgrade /var/www/my-site/
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 'rb-site')()
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>  
> line 1922, in main
> command.run()
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>  
> line 1704, in run
> diff_dedup_needed = site.get_diff_dedup_needed()
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>  
> line 477, in get_diff_dedup_needed
> from reviewboard.diffviewer.models import FileDiff
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
>  
> line 14, in 
> from reviewboard.diffviewer.managers import (RawFileDiffDataManager,
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
>  
> line 19, in 
> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN, 
> FileNotFoundError
> ImportError: No module named scmtools.core
>
> This is running on RHEL 6.7.
> Doe anyone have any ideas how to fix this?
>
> Thanks
> Rob
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails

2016-06-27 Thread Christian Hammond
Sorry Rob. This fell off my radar.

A couple more tests from the Python shell:

>>> import reviewboard.scmtools
>>> print reviewboard.scmtools
>>> import reviewboard.scmtools.core
>>> print reviewboard.scmtools.core
>>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
FileNotFoundError

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Mon, Jun 27, 2016 at 6:51 AM, Rob Backhurst 
wrote:

> Did you have any other ideas about this one?
>
> Thanks
> Rob
>
>
> On Tuesday, 31 May 2016 10:03:40 UTC+1, Rob Backhurst wrote:
>>
>> Ahaa, that looks better...
>>
>> >>> print reviewboard.__file__
>>
>> /usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/__init__.pyc
>>
>> Thanks
>> Rob
>>
>> On Tuesday, 31 May 2016 09:44:08 UTC+1, Christian Hammond wrote:
>>>
>>> Sorry, typo. Should have been reviewboard.__file__
>>>
>>> (That's two underscores on each side.)
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>>> On Tue, May 31, 2016 at 1:37 AM, Rob Backhurst 
>>> wrote:
>>>
>>>> Hi Christian,
>>>>
>>>> Here you go...
>>>>
>>>> # python
>>>> Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
>>>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>> >>> import reviewboard
>>>> >>> print reviewboard.__file_
>>>> Traceback (most recent call last):
>>>>   File "", line 1, in 
>>>> AttributeError: 'module' object has no attribute '__file_'
>>>> >>>
>>>>
>>>> Obviously something not quite right with the installation..?
>>>>
>>>> Thanks
>>>> Rob
>>>>
>>>>
>>>> On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>>>>>
>>>>> Hi Rob,
>>>>>
>>>>> Can you run:
>>>>>
>>>>> $ python
>>>>> >>> import reviewboard
>>>>> >>> print reviewboard.__file_
>>>>>
>>>>> Christian
>>>>>
>>>>> --
>>>>> Christian Hammond
>>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>>
>>>>> On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst <
>>>>> backh...@googlemail.com> wrote:
>>>>>
>>>>>> Hi Christian,
>>>>>>
>>>>>> Sorry for the slow reply.
>>>>>>
>>>>>> It was installed using easy_install, then the DB restored from our
>>>>>> live reviewboard server.
>>>>>> There is no reviewboard dir when running the rb-site upgrade.
>>>>>>
>>>>>> Thanks
>>>>>> Rob
>>>>>>
>>>>>> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>>>>>>
>>>>>>> Hi Rob,
>>>>>>>
>>>>>>> How was Review Board installed? It looks like there's some weirdness
>>>>>>> going on with the module.
>>>>>>>
>>>>>>> Can you verify that there's no "reviewboard" directory in the
>>>>>>> directory you're in when running rb-site upgrade?
>>>>>>>
>>>>>>> Christian
>>>>>>>
>>>>>>> --
>>>>>>> Christian Hammond
>>>>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>>>>
>>>>>>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>>>>>>> revie...@googlegroups.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I&

Re: rb-site upgrade fails

2016-06-27 Thread 'Rob Backhurst' via reviewboard
Did you have any other ideas about this one?

Thanks
Rob

On Tuesday, 31 May 2016 10:03:40 UTC+1, Rob Backhurst wrote:
>
> Ahaa, that looks better...
>
> >>> print reviewboard.__file__
>
> /usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/__init__.pyc
>
> Thanks
> Rob
>
> On Tuesday, 31 May 2016 09:44:08 UTC+1, Christian Hammond wrote:
>>
>> Sorry, typo. Should have been reviewboard.__file__
>>
>> (That's two underscores on each side.)
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Tue, May 31, 2016 at 1:37 AM, Rob Backhurst  
>> wrote:
>>
>>> Hi Christian,
>>>
>>> Here you go...
>>>
>>> # python
>>> Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
>>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import reviewboard
>>> >>> print reviewboard.__file_
>>> Traceback (most recent call last):
>>>   File "", line 1, in 
>>> AttributeError: 'module' object has no attribute '__file_'
>>> >>>
>>>
>>> Obviously something not quite right with the installation..?
>>>
>>> Thanks
>>> Rob
>>>
>>>
>>> On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>>>>
>>>> Hi Rob,
>>>>
>>>> Can you run:
>>>>
>>>> $ python
>>>> >>> import reviewboard
>>>> >>> print reviewboard.__file_
>>>>
>>>> Christian
>>>>
>>>> -- 
>>>> Christian Hammond
>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>
>>>> On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst >>> > wrote:
>>>>
>>>>> Hi Christian,
>>>>>
>>>>> Sorry for the slow reply.
>>>>>
>>>>> It was installed using easy_install, then the DB restored from our 
>>>>> live reviewboard server.
>>>>> There is no reviewboard dir when running the rb-site upgrade.
>>>>>
>>>>> Thanks
>>>>> Rob
>>>>>
>>>>> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>>>>>
>>>>>> Hi Rob,
>>>>>>
>>>>>> How was Review Board installed? It looks like there's some weirdness 
>>>>>> going on with the module.
>>>>>>
>>>>>> Can you verify that there's no "reviewboard" directory in the 
>>>>>> directory you're in when running rb-site upgrade?
>>>>>>
>>>>>> Christian
>>>>>>
>>>>>> -- 
>>>>>> Christian Hammond
>>>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>>>
>>>>>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>>>>>> revie...@googlegroups.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 
>>>>>>> 'rb-site upgrade' fails...
>>>>>>>
>>>>>>> # rb-site upgrade /var/www/my-site/
>>>>>>> Traceback (most recent call last):
>>>>>>>   File "/usr/bin/rb-site", line 9, in 
>>>>>>> load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 
>>>>>>> 'rb-site')()
>>>>>>>   File 
>>>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>>>>  
>>>>>>> line 1922, in main
>>>>>>> command.run()
>>>>>>>   File 
>>>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>

Re: rb-site upgrade fails

2016-05-31 Thread 'Rob Backhurst' via reviewboard
Ahaa, that looks better...

>>> print reviewboard.__file__
/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/__init__.pyc

Thanks
Rob

On Tuesday, 31 May 2016 09:44:08 UTC+1, Christian Hammond wrote:
>
> Sorry, typo. Should have been reviewboard.__file__
>
> (That's two underscores on each side.)
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Tue, May 31, 2016 at 1:37 AM, Rob Backhurst  > wrote:
>
>> Hi Christian,
>>
>> Here you go...
>>
>> # python
>> Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import reviewboard
>> >>> print reviewboard.__file_
>> Traceback (most recent call last):
>>   File "", line 1, in 
>> AttributeError: 'module' object has no attribute '__file_'
>> >>>
>>
>> Obviously something not quite right with the installation..?
>>
>> Thanks
>> Rob
>>
>>
>> On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>>>
>>> Hi Rob,
>>>
>>> Can you run:
>>>
>>> $ python
>>> >>> import reviewboard
>>> >>> print reviewboard.__file_
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>>> On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst  
>>> wrote:
>>>
>>>> Hi Christian,
>>>>
>>>> Sorry for the slow reply.
>>>>
>>>> It was installed using easy_install, then the DB restored from our live 
>>>> reviewboard server.
>>>> There is no reviewboard dir when running the rb-site upgrade.
>>>>
>>>> Thanks
>>>> Rob
>>>>
>>>> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>>>>
>>>>> Hi Rob,
>>>>>
>>>>> How was Review Board installed? It looks like there's some weirdness 
>>>>> going on with the module.
>>>>>
>>>>> Can you verify that there's no "reviewboard" directory in the 
>>>>> directory you're in when running rb-site upgrade?
>>>>>
>>>>> Christian
>>>>>
>>>>> -- 
>>>>> Christian Hammond
>>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>>
>>>>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>>>>> revie...@googlegroups.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site 
>>>>>> upgrade' fails...
>>>>>>
>>>>>> # rb-site upgrade /var/www/my-site/
>>>>>> Traceback (most recent call last):
>>>>>>   File "/usr/bin/rb-site", line 9, in 
>>>>>> load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 
>>>>>> 'rb-site')()
>>>>>>   File 
>>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>>>  
>>>>>> line 1922, in main
>>>>>> command.run()
>>>>>>   File 
>>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>>>  
>>>>>> line 1704, in run
>>>>>> diff_dedup_needed = site.get_diff_dedup_needed()
>>>>>>   File 
>>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>>>  
>>>>>> line 477, in get_diff_dedup_needed
>>>>>> from reviewboard.diffviewer.models import FileDiff
>>>>>>   File 
>>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/revi

Re: rb-site upgrade fails

2016-05-31 Thread Christian Hammond
Sorry, typo. Should have been reviewboard.__file__

(That's two underscores on each side.)

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Tue, May 31, 2016 at 1:37 AM, Rob Backhurst 
wrote:

> Hi Christian,
>
> Here you go...
>
> # python
> Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import reviewboard
> >>> print reviewboard.__file_
> Traceback (most recent call last):
>   File "", line 1, in 
> AttributeError: 'module' object has no attribute '__file_'
> >>>
>
> Obviously something not quite right with the installation..?
>
> Thanks
> Rob
>
>
> On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>>
>> Hi Rob,
>>
>> Can you run:
>>
>> $ python
>> >>> import reviewboard
>> >>> print reviewboard.__file_
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst 
>> wrote:
>>
>>> Hi Christian,
>>>
>>> Sorry for the slow reply.
>>>
>>> It was installed using easy_install, then the DB restored from our live
>>> reviewboard server.
>>> There is no reviewboard dir when running the rb-site upgrade.
>>>
>>> Thanks
>>> Rob
>>>
>>> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>>>
>>>> Hi Rob,
>>>>
>>>> How was Review Board installed? It looks like there's some weirdness
>>>> going on with the module.
>>>>
>>>> Can you verify that there's no "reviewboard" directory in the directory
>>>> you're in when running rb-site upgrade?
>>>>
>>>> Christian
>>>>
>>>> --
>>>> Christian Hammond
>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>
>>>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>>>> revie...@googlegroups.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site
>>>>> upgrade' fails...
>>>>>
>>>>> # rb-site upgrade /var/www/my-site/
>>>>> Traceback (most recent call last):
>>>>>   File "/usr/bin/rb-site", line 9, in 
>>>>> load_entry_point('ReviewBoard==2.5.4', 'console_scripts',
>>>>> 'rb-site')()
>>>>>   File
>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>> line 1922, in main
>>>>> command.run()
>>>>>   File
>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>> line 1704, in run
>>>>> diff_dedup_needed = site.get_diff_dedup_needed()
>>>>>   File
>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>> line 477, in get_diff_dedup_needed
>>>>> from reviewboard.diffviewer.models import FileDiff
>>>>>   File
>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
>>>>> line 14, in 
>>>>> from reviewboard.diffviewer.managers import
>>>>> (RawFileDiffDataManager,
>>>>>   File
>>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
>>>>> line 19, in 
>>>>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
>>>>> FileNotFoundError
>>>>> ImportError: No module named scmtools.core
>>>>>
>>>>> This is running on RHEL 6.7.
>>>>> Doe anyone have any ideas how to fix this?
>>>>>
>>>>> Thanks
>>>>> Rob
>>>>>
>>>>> --
>>>>> Supercharge your Review Board with Power Pack:
>>>>> https://www.reviewboard.org/powerpack/
>>>>> Want us to host Review Board for you? Check out RBCommons:
>>>>> https://rbcommons.com/
>>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "reviewboard" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to reviewboard...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails

2016-05-31 Thread 'Rob Backhurst' via reviewboard
Hi Christian,

Here you go...

# python
Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import reviewboard
>>> print reviewboard.__file_
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'module' object has no attribute '__file_'
>>>

Obviously something not quite right with the installation..?

Thanks
Rob


On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>
> Hi Rob,
>
> Can you run:
>
> $ python
> >>> import reviewboard
> >>> print reviewboard.__file_
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst  > wrote:
>
>> Hi Christian,
>>
>> Sorry for the slow reply.
>>
>> It was installed using easy_install, then the DB restored from our live 
>> reviewboard server.
>> There is no reviewboard dir when running the rb-site upgrade.
>>
>> Thanks
>> Rob
>>
>> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>>
>>> Hi Rob,
>>>
>>> How was Review Board installed? It looks like there's some weirdness 
>>> going on with the module.
>>>
>>> Can you verify that there's no "reviewboard" directory in the directory 
>>> you're in when running rb-site upgrade?
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>>> revie...@googlegroups.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site 
>>>> upgrade' fails...
>>>>
>>>> # rb-site upgrade /var/www/my-site/
>>>> Traceback (most recent call last):
>>>>   File "/usr/bin/rb-site", line 9, in 
>>>> load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 
>>>> 'rb-site')()
>>>>   File 
>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>  
>>>> line 1922, in main
>>>> command.run()
>>>>   File 
>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>  
>>>> line 1704, in run
>>>> diff_dedup_needed = site.get_diff_dedup_needed()
>>>>   File 
>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>>  
>>>> line 477, in get_diff_dedup_needed
>>>> from reviewboard.diffviewer.models import FileDiff
>>>>   File 
>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
>>>>  
>>>> line 14, in 
>>>> from reviewboard.diffviewer.managers import (RawFileDiffDataManager,
>>>>   File 
>>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
>>>>  
>>>> line 19, in 
>>>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN, 
>>>> FileNotFoundError
>>>> ImportError: No module named scmtools.core
>>>>
>>>> This is running on RHEL 6.7.
>>>> Doe anyone have any ideas how to fix this?
>>>>
>>>> Thanks
>>>> Rob
>>>>
>>>> -- 
>>>> Supercharge your Review Board with Power Pack: 
>>>> https://www.reviewboard.org/powerpack/
>>>> Want us to host Review Board for you? Check out RBCommons: 
>>>> https://rbcommons.com/
>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "reviewboard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to reviewboard...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails

2016-05-28 Thread Christian Hammond
Hi Rob,

Can you run:

$ python
>>> import reviewboard
>>> print reviewboard.__file_

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst 
wrote:

> Hi Christian,
>
> Sorry for the slow reply.
>
> It was installed using easy_install, then the DB restored from our live
> reviewboard server.
> There is no reviewboard dir when running the rb-site upgrade.
>
> Thanks
> Rob
>
> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>
>> Hi Rob,
>>
>> How was Review Board installed? It looks like there's some weirdness
>> going on with the module.
>>
>> Can you verify that there's no "reviewboard" directory in the directory
>> you're in when running rb-site upgrade?
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>> revie...@googlegroups.com> wrote:
>>
>>> Hi,
>>>
>>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site
>>> upgrade' fails...
>>>
>>> # rb-site upgrade /var/www/my-site/
>>> Traceback (most recent call last):
>>>   File "/usr/bin/rb-site", line 9, in 
>>> load_entry_point('ReviewBoard==2.5.4', 'console_scripts',
>>> 'rb-site')()
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>> line 1922, in main
>>> command.run()
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>> line 1704, in run
>>> diff_dedup_needed = site.get_diff_dedup_needed()
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>> line 477, in get_diff_dedup_needed
>>> from reviewboard.diffviewer.models import FileDiff
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
>>> line 14, in 
>>> from reviewboard.diffviewer.managers import (RawFileDiffDataManager,
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
>>> line 19, in 
>>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
>>> FileNotFoundError
>>> ImportError: No module named scmtools.core
>>>
>>> This is running on RHEL 6.7.
>>> Doe anyone have any ideas how to fix this?
>>>
>>> Thanks
>>> Rob
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails

2016-05-27 Thread 'Rob Backhurst' via reviewboard
Hi Christian,

Sorry for the slow reply.

It was installed using easy_install, then the DB restored from our live 
reviewboard server.
There is no reviewboard dir when running the rb-site upgrade.

Thanks
Rob

On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>
> Hi Rob,
>
> How was Review Board installed? It looks like there's some weirdness going 
> on with the module.
>
> Can you verify that there's no "reviewboard" directory in the directory 
> you're in when running rb-site upgrade?
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
> revie...@googlegroups.com > wrote:
>
>> Hi,
>>
>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site 
>> upgrade' fails...
>>
>> # rb-site upgrade /var/www/my-site/
>> Traceback (most recent call last):
>>   File "/usr/bin/rb-site", line 9, in 
>> load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 'rb-site')()
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1922, in main
>> command.run()
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1704, in run
>> diff_dedup_needed = site.get_diff_dedup_needed()
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 477, in get_diff_dedup_needed
>> from reviewboard.diffviewer.models import FileDiff
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
>>  
>> line 14, in 
>> from reviewboard.diffviewer.managers import (RawFileDiffDataManager,
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
>>  
>> line 19, in 
>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN, 
>> FileNotFoundError
>> ImportError: No module named scmtools.core
>>
>> This is running on RHEL 6.7.
>> Doe anyone have any ideas how to fix this?
>>
>> Thanks
>> Rob
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails

2016-05-12 Thread Christian Hammond
Hi Rob,

How was Review Board installed? It looks like there's some weirdness going
on with the module.

Can you verify that there's no "reviewboard" directory in the directory
you're in when running rb-site upgrade?

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
reviewboard@googlegroups.com> wrote:

> Hi,
>
> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site
> upgrade' fails...
>
> # rb-site upgrade /var/www/my-site/
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 'rb-site')()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1922, in main
> command.run()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1704, in run
> diff_dedup_needed = site.get_diff_dedup_needed()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 477, in get_diff_dedup_needed
> from reviewboard.diffviewer.models import FileDiff
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
> line 14, in 
> from reviewboard.diffviewer.managers import (RawFileDiffDataManager,
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
> line 19, in 
> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
> FileNotFoundError
> ImportError: No module named scmtools.core
>
> This is running on RHEL 6.7.
> Doe anyone have any ideas how to fix this?
>
> Thanks
> Rob
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


rb-site upgrade fails

2016-05-12 Thread 'Rob Backhurst' via reviewboard
Hi,

I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site 
upgrade' fails...

# rb-site upgrade /var/www/my-site/
Traceback (most recent call last):
  File "/usr/bin/rb-site", line 9, in 
load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 'rb-site')()
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
 
line 1922, in main
command.run()
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
 
line 1704, in run
diff_dedup_needed = site.get_diff_dedup_needed()
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
 
line 477, in get_diff_dedup_needed
from reviewboard.diffviewer.models import FileDiff
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
 
line 14, in 
from reviewboard.diffviewer.managers import (RawFileDiffDataManager,
  File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 19, in 
from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN, 
FileNotFoundError
ImportError: No module named scmtools.core

This is running on RHEL 6.7.
Doe anyone have any ideas how to fix this?

Thanks
Rob

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-06 Thread Vlad S.
Tested OK. Added +1 Karma. Thanx!

понедельник, 2 мая 2016 г., 16:34:38 UTC+3 пользователь Stephen Gallagher 
написал:
>
> I've just submitted a corrected version of Review Board to the 
> epel-testing repository:
>
> https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-2bab5ad96d
>
> Please test it and provide it with positive or negative feedback (karma). 
> That will get it into the stable release faster. (note: the reason this 
> happened is that I made a mistake rebasing the patch for the dependencies 
> and no one ever tested the update, so it went stable after the timeout 
> period. Please help test this one!
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-04 Thread Vlad S.
Sorry, haven't had chance to test it today. Hope to do it later this week.

вторник, 3 мая 2016 г., 1:47:25 UTC+3 пользователь Vlad S. написал:
>
> Thanx! I will be able to test and report on May 4.
>
> /v
>
>>
>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-02 Thread Vlad
Thanx! I will be able to test and report on May 4.

/v
2 мая 2016 г. 16:34 пользователь "Stephen Gallagher" <
step...@gallagherhome.com> написал:

> I've just submitted a corrected version of Review Board to the
> epel-testing repository:
>
> https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-2bab5ad96d
>
> Please test it and provide it with positive or negative feedback (karma).
> That will get it into the stable release faster. (note: the reason this
> happened is that I made a mistake rebasing the patch for the dependencies
> and no one ever tested the update, so it went stable after the timeout
> period. Please help test this one!)
>
>
> On Sun, May 1, 2016 at 7:14 PM Stephen Gallagher <
> step...@gallagherhome.com> wrote:
>
>> I thought I had fixed the mime parse thing already. I'll correct that
>> when I fix up the whoosh thing tomorrow.
>>
>> I'm a comaintainer of Whoosh on the other branches, so I can push the
>> updated version. I just wanted to check with the other maintainers in case
>> there was a compatibility break I need to be aware of.
>>
>> On Sun, May 1, 2016 at 7:11 PM Vlad  wrote:
>>
>>> Hi Stephen,
>>>
>>> Thank you for the reply. Also there is another issue with
>>> "mimeparse>=0.1.3" requirement. Somehow it works only once changed to
>>> "python-mimeparse>=0.1.3". RHEL has proper 0.1.4 version though another
>>> package name.
>>>
>>> I tried to contact python-whoosh rpm maintainer and got email error:
>>>
>>>  - The following addresses had permanent fatal errors -
>>> rku...@mail.corp.redhat.com
>>> (reason: 554 5.4.6 Too many hops)
>>> (expanded from: )
>>> ..
>>>
>>> It might be he left Redhat and does not maintain the rpm anymore. I
>>> tried to build newer rpm just by replacing Version to 2.7.4 in .spec file
>>> and new sources. It builds ok. Not sure how to promote the spec file change.
>>>
>>> /v
>>>
>>> On Mon, May 2, 2016 at 1:58 AM, Stephen Gallagher <
>>> step...@gallagherhome.com> wrote:
>>>
 Sorry Vlad, that's my fault. I didn't notice the upgraded requirement.
 I'm going to try to get Whoosh updates in EPEL7 on Monday (once I talk to
 the maintainer of that package to figure out if they held it to the older
 version intentionally).

 On Sat, Apr 30, 2016 at 7:01 PM Vlad  wrote:

> Hi Christian,
>
> Would this hack affect only Search (Indexed search) function of
> ReviewBoard? Search is not configured by default, so this
> is not a strict dependency as I understand. Am I correct?
>
> I am not sure why RHEL7 has no whoosh update, so I did not install
> whoosh with pip.
>
> /v
>
> On Sun, May 1, 2016 at 12:48 AM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Hi Vlad,
>>
>> I can't speak for the RPMs, but Review Board itself requires Whoosh
>> 2.6+. There are bugs in prior versions that impact Review Board, so while
>> you may be able to change the dependencies, I can't guarantee it'll fully
>> work as expected.
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:
>>
>>> Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:
>>>
>>> # rb-site upgrade /var/www/rb.site.internal
>>>
>>> Traceback (most recent call last):
>>>
>>> File "/usr/bin/rb-site", line 5, in 
>>>
>>> from pkg_resources import load_entry_point
>>>
>>> File
>>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>>> line 2713, in 
>>>
>>> parse_requirements(__requires__), Environment()
>>>
>>> File
>>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>>> line 584, in resolve
>>>
>>> raise DistributionNotFound(req)
>>>
>>> pkg_resources.DistributionNotFound: Whoosh>=2.6
>>>
>>> # rpm -qa|grep -i whoosh
>>>
>>> python-whoosh-2.5.7-4.el7.noarch
>>>
>>> # rpm -qa|grep -i reviewboard
>>>
>>> ReviewBoard-2.5.4-1.el7.noarch
>>>
>>> RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires
>>> exactly this version.. Shall I just fix ReviewBoard
>>> /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt
>>>  to
>>> pass the rb-site upgrade?
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to reviewboa

Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-02 Thread Stephen Gallagher
I've just submitted a corrected version of Review Board to the epel-testing
repository:

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-2bab5ad96d

Please test it and provide it with positive or negative feedback (karma).
That will get it into the stable release faster. (note: the reason this
happened is that I made a mistake rebasing the patch for the dependencies
and no one ever tested the update, so it went stable after the timeout
period. Please help test this one!)


On Sun, May 1, 2016 at 7:14 PM Stephen Gallagher 
wrote:

> I thought I had fixed the mime parse thing already. I'll correct that when
> I fix up the whoosh thing tomorrow.
>
> I'm a comaintainer of Whoosh on the other branches, so I can push the
> updated version. I just wanted to check with the other maintainers in case
> there was a compatibility break I need to be aware of.
>
> On Sun, May 1, 2016 at 7:11 PM Vlad  wrote:
>
>> Hi Stephen,
>>
>> Thank you for the reply. Also there is another issue with
>> "mimeparse>=0.1.3" requirement. Somehow it works only once changed to
>> "python-mimeparse>=0.1.3". RHEL has proper 0.1.4 version though another
>> package name.
>>
>> I tried to contact python-whoosh rpm maintainer and got email error:
>>
>>  - The following addresses had permanent fatal errors -
>> rku...@mail.corp.redhat.com
>> (reason: 554 5.4.6 Too many hops)
>> (expanded from: )
>> ..
>>
>> It might be he left Redhat and does not maintain the rpm anymore. I tried
>> to build newer rpm just by replacing Version to 2.7.4 in .spec file and new
>> sources. It builds ok. Not sure how to promote the spec file change.
>>
>> /v
>>
>> On Mon, May 2, 2016 at 1:58 AM, Stephen Gallagher <
>> step...@gallagherhome.com> wrote:
>>
>>> Sorry Vlad, that's my fault. I didn't notice the upgraded requirement.
>>> I'm going to try to get Whoosh updates in EPEL7 on Monday (once I talk to
>>> the maintainer of that package to figure out if they held it to the older
>>> version intentionally).
>>>
>>> On Sat, Apr 30, 2016 at 7:01 PM Vlad  wrote:
>>>
 Hi Christian,

 Would this hack affect only Search (Indexed search) function of
 ReviewBoard? Search is not configured by default, so this
 is not a strict dependency as I understand. Am I correct?

 I am not sure why RHEL7 has no whoosh update, so I did not install
 whoosh with pip.

 /v

 On Sun, May 1, 2016 at 12:48 AM, Christian Hammond <
 christ...@beanbaginc.com> wrote:

> Hi Vlad,
>
> I can't speak for the RPMs, but Review Board itself requires Whoosh
> 2.6+. There are bugs in prior versions that impact Review Board, so while
> you may be able to change the dependencies, I can't guarantee it'll fully
> work as expected.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:
>
>> Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:
>>
>> # rb-site upgrade /var/www/rb.site.internal
>>
>> Traceback (most recent call last):
>>
>> File "/usr/bin/rb-site", line 5, in 
>>
>> from pkg_resources import load_entry_point
>>
>> File
>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>> line 2713, in 
>>
>> parse_requirements(__requires__), Environment()
>>
>> File
>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>> line 584, in resolve
>>
>> raise DistributionNotFound(req)
>>
>> pkg_resources.DistributionNotFound: Whoosh>=2.6
>>
>> # rpm -qa|grep -i whoosh
>>
>> python-whoosh-2.5.7-4.el7.noarch
>>
>> # rpm -qa|grep -i reviewboard
>>
>> ReviewBoard-2.5.4-1.el7.noarch
>>
>> RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires
>> exactly this version.. Shall I just fix ReviewBoard
>> /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt
>>  to
>> pass the rb-site upgrade?
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google
>> Groups "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
>

Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-01 Thread Stephen Gallagher
I thought I had fixed the mime parse thing already. I'll correct that when
I fix up the whoosh thing tomorrow.

I'm a comaintainer of Whoosh on the other branches, so I can push the
updated version. I just wanted to check with the other maintainers in case
there was a compatibility break I need to be aware of.

On Sun, May 1, 2016 at 7:11 PM Vlad  wrote:

> Hi Stephen,
>
> Thank you for the reply. Also there is another issue with
> "mimeparse>=0.1.3" requirement. Somehow it works only once changed to
> "python-mimeparse>=0.1.3". RHEL has proper 0.1.4 version though another
> package name.
>
> I tried to contact python-whoosh rpm maintainer and got email error:
>
>  - The following addresses had permanent fatal errors -
> rku...@mail.corp.redhat.com
> (reason: 554 5.4.6 Too many hops)
> (expanded from: )
> ..
>
> It might be he left Redhat and does not maintain the rpm anymore. I tried
> to build newer rpm just by replacing Version to 2.7.4 in .spec file and new
> sources. It builds ok. Not sure how to promote the spec file change.
>
> /v
>
> On Mon, May 2, 2016 at 1:58 AM, Stephen Gallagher <
> step...@gallagherhome.com> wrote:
>
>> Sorry Vlad, that's my fault. I didn't notice the upgraded requirement.
>> I'm going to try to get Whoosh updates in EPEL7 on Monday (once I talk to
>> the maintainer of that package to figure out if they held it to the older
>> version intentionally).
>>
>> On Sat, Apr 30, 2016 at 7:01 PM Vlad  wrote:
>>
>>> Hi Christian,
>>>
>>> Would this hack affect only Search (Indexed search) function of
>>> ReviewBoard? Search is not configured by default, so this
>>> is not a strict dependency as I understand. Am I correct?
>>>
>>> I am not sure why RHEL7 has no whoosh update, so I did not install
>>> whoosh with pip.
>>>
>>> /v
>>>
>>> On Sun, May 1, 2016 at 12:48 AM, Christian Hammond <
>>> christ...@beanbaginc.com> wrote:
>>>
 Hi Vlad,

 I can't speak for the RPMs, but Review Board itself requires Whoosh
 2.6+. There are bugs in prior versions that impact Review Board, so while
 you may be able to change the dependencies, I can't guarantee it'll fully
 work as expected.

 Christian

 --
 Christian Hammond
 President/CEO of Beanbag 
 Makers of Review Board 

 On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:

> Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:
>
> # rb-site upgrade /var/www/rb.site.internal
>
> Traceback (most recent call last):
>
> File "/usr/bin/rb-site", line 5, in 
>
> from pkg_resources import load_entry_point
>
> File
> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
> line 2713, in 
>
> parse_requirements(__requires__), Environment()
>
> File
> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
> line 584, in resolve
>
> raise DistributionNotFound(req)
>
> pkg_resources.DistributionNotFound: Whoosh>=2.6
>
> # rpm -qa|grep -i whoosh
>
> python-whoosh-2.5.7-4.el7.noarch
>
> # rpm -qa|grep -i reviewboard
>
> ReviewBoard-2.5.4-1.el7.noarch
>
> RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires
> exactly this version.. Shall I just fix ReviewBoard
> /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt
>  to
> pass the rb-site upgrade?
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google
> Groups "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

 --
 Supercharge your Review Board with Power Pack:
 https://www.reviewboard.org/powerpack/
 Want us to host Review Board for you? Check out RBCommons:
 https://rbcommons.com/
 Happy user? Let us know! https://www.reviewboard.org/users/
 ---

>>> You received this message because you are subscribed to a topic in the
 Google Groups "reviewboard" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/5KEM-bcOAMk/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 reviewboard+unsubscr...@googlegroups.com.

>>>
 For more options, visit https://groups.google.com/d/optout.

>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> htt

Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-01 Thread Vlad
Hi Stephen,

Thank you for the reply. Also there is another issue with
"mimeparse>=0.1.3" requirement. Somehow it works only once changed to
"python-mimeparse>=0.1.3". RHEL has proper 0.1.4 version though another
package name.

I tried to contact python-whoosh rpm maintainer and got email error:

 - The following addresses had permanent fatal errors -
rku...@mail.corp.redhat.com
(reason: 554 5.4.6 Too many hops)
(expanded from: )
..

It might be he left Redhat and does not maintain the rpm anymore. I tried
to build newer rpm just by replacing Version to 2.7.4 in .spec file and new
sources. It builds ok. Not sure how to promote the spec file change.

/v

On Mon, May 2, 2016 at 1:58 AM, Stephen Gallagher  wrote:

> Sorry Vlad, that's my fault. I didn't notice the upgraded requirement. I'm
> going to try to get Whoosh updates in EPEL7 on Monday (once I talk to the
> maintainer of that package to figure out if they held it to the older
> version intentionally).
>
> On Sat, Apr 30, 2016 at 7:01 PM Vlad  wrote:
>
>> Hi Christian,
>>
>> Would this hack affect only Search (Indexed search) function of
>> ReviewBoard? Search is not configured by default, so this
>> is not a strict dependency as I understand. Am I correct?
>>
>> I am not sure why RHEL7 has no whoosh update, so I did not install whoosh
>> with pip.
>>
>> /v
>>
>> On Sun, May 1, 2016 at 12:48 AM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> Hi Vlad,
>>>
>>> I can't speak for the RPMs, but Review Board itself requires Whoosh
>>> 2.6+. There are bugs in prior versions that impact Review Board, so while
>>> you may be able to change the dependencies, I can't guarantee it'll fully
>>> work as expected.
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:
>>>
 Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:

 # rb-site upgrade /var/www/rb.site.internal

 Traceback (most recent call last):

 File "/usr/bin/rb-site", line 5, in 

 from pkg_resources import load_entry_point

 File
 "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
 line 2713, in 

 parse_requirements(__requires__), Environment()

 File
 "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
 line 584, in resolve

 raise DistributionNotFound(req)

 pkg_resources.DistributionNotFound: Whoosh>=2.6

 # rpm -qa|grep -i whoosh

 python-whoosh-2.5.7-4.el7.noarch

 # rpm -qa|grep -i reviewboard

 ReviewBoard-2.5.4-1.el7.noarch

 RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires
 exactly this version.. Shall I just fix ReviewBoard
 /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt
  to
 pass the rb-site upgrade?

 --
 Supercharge your Review Board with Power Pack:
 https://www.reviewboard.org/powerpack/
 Want us to host Review Board for you? Check out RBCommons:
 https://rbcommons.com/
 Happy user? Let us know! https://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google
 Groups "reviewboard" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>>
>> You received this message because you are subscribed to a topic in the
>>> Google Groups "reviewboard" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/reviewboard/5KEM-bcOAMk/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> reviewboard+unsubscr...@googlegroups.com.
>>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBComm

Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-01 Thread Stephen Gallagher
Sorry Vlad, that's my fault. I didn't notice the upgraded requirement. I'm
going to try to get Whoosh updates in EPEL7 on Monday (once I talk to the
maintainer of that package to figure out if they held it to the older
version intentionally).
On Sat, Apr 30, 2016 at 7:01 PM Vlad  wrote:

> Hi Christian,
>
> Would this hack affect only Search (Indexed search) function of
> ReviewBoard? Search is not configured by default, so this
> is not a strict dependency as I understand. Am I correct?
>
> I am not sure why RHEL7 has no whoosh update, so I did not install whoosh
> with pip.
>
> /v
>
> On Sun, May 1, 2016 at 12:48 AM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Hi Vlad,
>>
>> I can't speak for the RPMs, but Review Board itself requires Whoosh 2.6+.
>> There are bugs in prior versions that impact Review Board, so while you may
>> be able to change the dependencies, I can't guarantee it'll fully work as
>> expected.
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:
>>
>>> Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:
>>>
>>> # rb-site upgrade /var/www/rb.site.internal
>>>
>>> Traceback (most recent call last):
>>>
>>> File "/usr/bin/rb-site", line 5, in 
>>>
>>> from pkg_resources import load_entry_point
>>>
>>> File
>>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>>> line 2713, in 
>>>
>>> parse_requirements(__requires__), Environment()
>>>
>>> File
>>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>>> line 584, in resolve
>>>
>>> raise DistributionNotFound(req)
>>>
>>> pkg_resources.DistributionNotFound: Whoosh>=2.6
>>>
>>> # rpm -qa|grep -i whoosh
>>>
>>> python-whoosh-2.5.7-4.el7.noarch
>>>
>>> # rpm -qa|grep -i reviewboard
>>>
>>> ReviewBoard-2.5.4-1.el7.noarch
>>>
>>> RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires
>>> exactly this version.. Shall I just fix ReviewBoard
>>> /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt
>>>  to
>>> pass the rb-site upgrade?
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>>
> You received this message because you are subscribed to a topic in the
>> Google Groups "reviewboard" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/reviewboard/5KEM-bcOAMk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> reviewboard+unsubscr...@googlegroups.com.
>>
>
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-04-30 Thread Vlad
Hi Christian,

Would this hack affect only Search (Indexed search) function of
ReviewBoard? Search is not configured by default, so this
is not a strict dependency as I understand. Am I correct?

I am not sure why RHEL7 has no whoosh update, so I did not install whoosh
with pip.

/v

On Sun, May 1, 2016 at 12:48 AM, Christian Hammond  wrote:

> Hi Vlad,
>
> I can't speak for the RPMs, but Review Board itself requires Whoosh 2.6+.
> There are bugs in prior versions that impact Review Board, so while you may
> be able to change the dependencies, I can't guarantee it'll fully work as
> expected.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:
>
>> Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:
>>
>> # rb-site upgrade /var/www/rb.site.internal
>>
>> Traceback (most recent call last):
>>
>> File "/usr/bin/rb-site", line 5, in 
>>
>> from pkg_resources import load_entry_point
>>
>> File
>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>> line 2713, in 
>>
>> parse_requirements(__requires__), Environment()
>>
>> File
>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>> line 584, in resolve
>>
>> raise DistributionNotFound(req)
>>
>> pkg_resources.DistributionNotFound: Whoosh>=2.6
>>
>> # rpm -qa|grep -i whoosh
>>
>> python-whoosh-2.5.7-4.el7.noarch
>>
>> # rpm -qa|grep -i reviewboard
>>
>> ReviewBoard-2.5.4-1.el7.noarch
>>
>> RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires exactly
>> this version.. Shall I just fix ReviewBoard
>> /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt
>>  to
>> pass the rb-site upgrade?
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "reviewboard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/reviewboard/5KEM-bcOAMk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-04-30 Thread Christian Hammond
Hi Vlad,

I can't speak for the RPMs, but Review Board itself requires Whoosh 2.6+.
There are bugs in prior versions that impact Review Board, so while you may
be able to change the dependencies, I can't guarantee it'll fully work as
expected.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:

> Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:
>
> # rb-site upgrade /var/www/rb.site.internal
>
> Traceback (most recent call last):
>
> File "/usr/bin/rb-site", line 5, in 
>
> from pkg_resources import load_entry_point
>
> File
> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
> line 2713, in 
>
> parse_requirements(__requires__), Environment()
>
> File
> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
> line 584, in resolve
>
> raise DistributionNotFound(req)
>
> pkg_resources.DistributionNotFound: Whoosh>=2.6
>
> # rpm -qa|grep -i whoosh
>
> python-whoosh-2.5.7-4.el7.noarch
>
> # rpm -qa|grep -i reviewboard
>
> ReviewBoard-2.5.4-1.el7.noarch
>
> RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires exactly
> this version.. Shall I just fix ReviewBoard
> /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt
>  to
> pass the rb-site upgrade?
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-04-30 Thread Vlad S.
Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:

# rb-site upgrade /var/www/rb.site.internal 

Traceback (most recent call last): 

File "/usr/bin/rb-site", line 5, in  

from pkg_resources import load_entry_point 

File 
"/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
 
line 2713, in  

parse_requirements(__requires__), Environment() 

File 
"/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
 
line 584, in resolve 

raise DistributionNotFound(req) 

pkg_resources.DistributionNotFound: Whoosh>=2.6 

# rpm -qa|grep -i whoosh 

python-whoosh-2.5.7-4.el7.noarch 

# rpm -qa|grep -i reviewboard 

ReviewBoard-2.5.4-1.el7.noarch

RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires exactly 
this version.. Shall I just fix ReviewBoard 
/usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt 
to 
pass the rb-site upgrade?

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade Fails (upgrading from 1.6.16 to 2.0.11

2014-11-13 Thread Christian Hammond
Hi Cory,

My apologies for the delay.

What likely happened is that you ended up with a mix of MyISAM and InnoDB
tables. The new MySQL server is likely defaulting to InnoDB, whereas your
dump is likely MyISAM. You'll need to fix up the dump to replace all MyISAM
instances with InnoDB.

You'd then need to re-import the dump. It should work this time.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On Thu, Nov 6, 2014 at 8:14 AM, Cory Demerau  wrote:

> I'm migrating a 1.6.16 RB site to a new server that's running RB 2.0.11. I
> created a dump of the mysql database with --max_allowed_packet=512M to
> minimize the chance of incomplete data. I modified the dump so that all
> tables use InnoDB instead of MyISAM, and restored the reviewboard database
> on the new server using the dump. I have Django_Evolution version 0.7.4,
> and when I try to do an rb-site upgrade, I get the following output:
>
> --  --
> Creating tables ...
> There are unapplied evolutions for auth.
> There are unapplied evolutions for contenttypes.
> There are unapplied evolutions for accounts.
> There are unapplied evolutions for attachments.
> There are unapplied evolutions for changedescs.
> There are unapplied evolutions for diffviewer.
> There are unapplied evolutions for hostingsvcs.
> There are unapplied evolutions for reviews.
> There are unapplied evolutions for scmtools.
> There are unapplied evolutions for site.
> Project signature has changed - an evolution is required
> Installing custom SQL ...
> Installing indexes ...
> Installed 0 object(s) from 0 fixture(s)
> CommandError: Error applying evolution: (1005, "Can't create table
> 'reviewboard.#sql-3f22_1e8' (errno: 150)")
>
>
> I have also tried (before running rb-site upgrade, but after restoring the
> database) rb-site manage /path/to/site syncdb. This gives the following
> output:
>
> Creating tables ...
> Creating table extensions_registeredextension
> Creating table diffviewer_filediffdata
> Upgrading Review Board from 1.6.16 to 2.0.11
> There are unapplied evolutions for auth.
> The following content types are stale and need to be deleted:
>
> auth | message
>
> Any objects related to these content types by a foreign key will also
> be deleted. Are you sure you want to delete these content types?
> If you're unsure, answer 'no'.
>
> Type 'yes' to continue, or 'no' to cancel:
>
> If I type 'yes':
>
> There are unapplied evolutions for contenttypes.
> There are unapplied evolutions for accounts.
> There are unapplied evolutions for attachments.
> There are unapplied evolutions for changedescs.
> There are unapplied evolutions for diffviewer.
> There are unapplied evolutions for hostingsvcs.
> There are unapplied evolutions for reviews.
> There are unapplied evolutions for scmtools.
> There are unapplied evolutions for site.
> Adding baseline version for new models
> Project signature has changed - an evolution is required
> Installing custom SQL ...
> Installing indexes ...
> Installed 0 object(s) from 0 fixture(s)
>
>
> After completing this, there is still no change in the output from rb-site
> upgrade. In the meantime, the Reviewboard site allows me to access some
> pages, but most return a 500 error.
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


rb-site upgrade Fails (upgrading from 1.6.16 to 2.0.11

2014-11-06 Thread Cory Demerau
I'm migrating a 1.6.16 RB site to a new server that's running RB 2.0.11. I 
created a dump of the mysql database with --max_allowed_packet=512M to 
minimize the chance of incomplete data. I modified the dump so that all 
tables use InnoDB instead of MyISAM, and restored the reviewboard database 
on the new server using the dump. I have Django_Evolution version 0.7.4, 
and when I try to do an rb-site upgrade, I get the following output:

--  --
Creating tables ...
There are unapplied evolutions for auth.
There are unapplied evolutions for contenttypes.
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
There are unapplied evolutions for site.
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
CommandError: Error applying evolution: (1005, "Can't create table 
'reviewboard.#sql-3f22_1e8' (errno: 150)")


I have also tried (before running rb-site upgrade, but after restoring the 
database) rb-site manage /path/to/site syncdb. This gives the following 
output:

Creating tables ...
Creating table extensions_registeredextension
Creating table diffviewer_filediffdata
Upgrading Review Board from 1.6.16 to 2.0.11
There are unapplied evolutions for auth.
The following content types are stale and need to be deleted:

auth | message

Any objects related to these content types by a foreign key will also
be deleted. Are you sure you want to delete these content types?
If you're unsure, answer 'no'.

Type 'yes' to continue, or 'no' to cancel:

If I type 'yes':

There are unapplied evolutions for contenttypes.
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
There are unapplied evolutions for site.
Adding baseline version for new models
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)


After completing this, there is still no change in the output from rb-site 
upgrade. In the meantime, the Reviewboard site allows me to access some 
pages, but most return a 500 error.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails on database migration

2013-06-25 Thread Erik Lattimore
Thanks, that solved the issue. Looks like mysql 5.5 defaults to InnoDB but 
our original tables were in the older format. I altered them to InnoDB and 
everything works now. Thanks,
--Erik

On Tuesday, June 25, 2013 4:26:12 PM UTC-4, Christian Hammond wrote:
>
> That error has to do with having a mix of InnoDB and MyISAM tables. You 
> need to make sure all tables are the same format. If MySQL is creating new 
> tables with one, then you should convert the rest.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
>
> On Tue, Jun 25, 2013 at 12:44 PM, Erik Lattimore 
> 
> > wrote:
>
>> I'm getting the exact same error. I'm trying to test an upgrade before 
>> actually performing one on the live server and am getting the same Django 
>> stack trace.
>>
>> We are running RB 1.5.2 in production on Ubuntu 12.04. I've been using 
>> easy_install to install ReviewBoard and made sure to force the Django 
>> dependency(1.3.3) since the 1.5.2 package pulls in too new of a version. I 
>> used mysqldump to dump the db from the live server and installed a site by 
>> running rb-site install ... and then seeding the database with the 
>> production data through mysql reviewboard < dump.sql. I then use 
>> easy_install to upgrade to 1.7.1, which completes but the rb-site upgrade 
>> command fails. However, one thing that I did notice is that I have no issue 
>> upgrading an empty install by doing the same steps as before, but not 
>> seeding the backup database and only upgrading an empty site.
>>
>>
>>
>>
>> On Tuesday, January 8, 2013 4:34:42 PM UTC-5, virtualAdmin wrote:
>>>
>>> We've been making regular backups of our RB 1.5.5 database, and I 
>>> decided it was time to verify that we can restore the DB to a new install 
>>> in case our server fails.  The backups are made with mysqlhotcopy, so I 
>>> understand they can be restored by simply stopping the mysql service, 
>>> copying the backup files into the appropriate folder 
>>> (/var/lib/mysql/reviewboard), and starting mysql.
>>>
>>> I installed RB 1.7 on an Ubuntu 12.04 LTS VM.  I got the software all 
>>> installed and removed the fresh 1.7 database, replacing it with our 
>>> backed-up 1.5.5 DB, making sure to set proper privileges on the db files 
>>> and in mysql itself.
>>>
>>> I ran:
>>>
>>> rb-site upgrade -d /var/www/mysite
>>>
>>> Which failed, giving this output:
>>>
>>> --  --
>>> Creating tables ...
>>> Creating table attachments_fileattachment
>>> Creating table diffviewer_filediffdata
>>> Creating table hostingsvcs_**hostingserviceaccount
>>> Creating table reviews_fileattachmentcomment
>>> Creating table site_localsite_users
>>> Traceback (most recent call last):
>>>   File "/usr/local/bin/rb-site", line 9, in 
>>> load_entry_point('ReviewBoard=**=1.7.1', 'console_scripts', 
>>> 'rb-site')()
>>>   File "/usr/local/lib/python2.7/**dist-packages/ReviewBoard-1.7.**
>>> 1-py2.7.egg/reviewboard/**cmdline/rbsite.py", line 1937, in main
>>> command.run()
>>>   File "/usr/local/lib/python2.7/**dist-packages/ReviewBoard-1.7.**
>>> 1-py2.7.egg/reviewboard/**cmdline/rbsite.py", line 1778, in run
>>> site.sync_database()
>>>   File "/usr/local/lib/python2.7/**dist-packages/ReviewBoard-1.7.**
>>> 1-py2.7.egg/reviewboard/**cmdline/rbsite.py", line 366, in sync_database
>>> self.run_manage_command("**syncdb", params)
>>>   File "/usr/local/lib/python2.7/**dist-packages/ReviewBoard-1.7.**
>>> 1-py2.7.egg/reviewboard/**cmdline/rbsite.py", line 556, in 
>>> run_manage_command
>>> execute_manager(reviewboard.**settings, [__file__, cmd] + params)
>>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>>> py2.7.egg/django/core/**management/__init__.py", line 459, in 
>>> execute_manager
>>> utility.execute()
>>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>>> py2.7.egg/django/core/**management/__init__.py", line 382, in execute
>>> self.fetch_command(subcommand)**.run_from_argv(self.argv)
>>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>>> py2.7.egg/django/core/**management/base.py", line 196, in run_from_argv
>>> self.execute(*args, **options.__dict__)
>>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>>> py2.7.egg/django/core/**management/base.py", line 232, in execute
>>> output = self.handle(*args, **options)
>>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>>> py2.7.egg/django/core/**management/base.py", line 371, in handle
>>> return self.handle_noargs(**options)
>>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>>> py2.7.egg/django/core/**management/commands/syncdb.py"**, line 102, in 
>>> handle_noargs
>>> cursor.execute(statement)
>>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>>> py2.7.egg/django/db/backends/**mysql/base.py", line 114, in execute
>>>

Re: rb-site upgrade fails on database migration

2013-06-25 Thread Christian Hammond
That error has to do with having a mix of InnoDB and MyISAM tables. You
need to make sure all tables are the same format. If MySQL is creating new
tables with one, then you should convert the rest.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Tue, Jun 25, 2013 at 12:44 PM, Erik Lattimore wrote:

> I'm getting the exact same error. I'm trying to test an upgrade before
> actually performing one on the live server and am getting the same Django
> stack trace.
>
> We are running RB 1.5.2 in production on Ubuntu 12.04. I've been using
> easy_install to install ReviewBoard and made sure to force the Django
> dependency(1.3.3) since the 1.5.2 package pulls in too new of a version. I
> used mysqldump to dump the db from the live server and installed a site by
> running rb-site install ... and then seeding the database with the
> production data through mysql reviewboard < dump.sql. I then use
> easy_install to upgrade to 1.7.1, which completes but the rb-site upgrade
> command fails. However, one thing that I did notice is that I have no issue
> upgrading an empty install by doing the same steps as before, but not
> seeding the backup database and only upgrading an empty site.
>
>
>
>
> On Tuesday, January 8, 2013 4:34:42 PM UTC-5, virtualAdmin wrote:
>>
>> We've been making regular backups of our RB 1.5.5 database, and I decided
>> it was time to verify that we can restore the DB to a new install in case
>> our server fails.  The backups are made with mysqlhotcopy, so I understand
>> they can be restored by simply stopping the mysql service, copying the
>> backup files into the appropriate folder (/var/lib/mysql/reviewboard), and
>> starting mysql.
>>
>> I installed RB 1.7 on an Ubuntu 12.04 LTS VM.  I got the software all
>> installed and removed the fresh 1.7 database, replacing it with our
>> backed-up 1.5.5 DB, making sure to set proper privileges on the db files
>> and in mysql itself.
>>
>> I ran:
>>
>> rb-site upgrade -d /var/www/mysite
>>
>> Which failed, giving this output:
>>
>> --  --
>> Creating tables ...
>> Creating table attachments_fileattachment
>> Creating table diffviewer_filediffdata
>> Creating table hostingsvcs_**hostingserviceaccount
>> Creating table reviews_fileattachmentcomment
>> Creating table site_localsite_users
>> Traceback (most recent call last):
>>   File "/usr/local/bin/rb-site", line 9, in 
>> load_entry_point('ReviewBoard=**=1.7.1', 'console_scripts',
>> 'rb-site')()
>>   File "/usr/local/lib/python2.7/**dist-packages/ReviewBoard-1.7.**
>> 1-py2.7.egg/reviewboard/**cmdline/rbsite.py", line 1937, in main
>> command.run()
>>   File "/usr/local/lib/python2.7/**dist-packages/ReviewBoard-1.7.**
>> 1-py2.7.egg/reviewboard/**cmdline/rbsite.py", line 1778, in run
>> site.sync_database()
>>   File "/usr/local/lib/python2.7/**dist-packages/ReviewBoard-1.7.**
>> 1-py2.7.egg/reviewboard/**cmdline/rbsite.py", line 366, in sync_database
>> self.run_manage_command("**syncdb", params)
>>   File "/usr/local/lib/python2.7/**dist-packages/ReviewBoard-1.7.**
>> 1-py2.7.egg/reviewboard/**cmdline/rbsite.py", line 556, in
>> run_manage_command
>> execute_manager(reviewboard.**settings, [__file__, cmd] + params)
>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>> py2.7.egg/django/core/**management/__init__.py", line 459, in
>> execute_manager
>> utility.execute()
>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>> py2.7.egg/django/core/**management/__init__.py", line 382, in execute
>> self.fetch_command(subcommand)**.run_from_argv(self.argv)
>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>> py2.7.egg/django/core/**management/base.py", line 196, in run_from_argv
>> self.execute(*args, **options.__dict__)
>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>> py2.7.egg/django/core/**management/base.py", line 232, in execute
>> output = self.handle(*args, **options)
>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>> py2.7.egg/django/core/**management/base.py", line 371, in handle
>> return self.handle_noargs(**options)
>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>> py2.7.egg/django/core/**management/commands/syncdb.py"**, line 102, in
>> handle_noargs
>> cursor.execute(statement)
>>   File "/usr/local/lib/python2.7/**dist-packages/Django-1.4.3-**
>> py2.7.egg/django/db/backends/**mysql/base.py", line 114, in execute
>> return self.cursor.execute(query, args)
>>   File "/usr/lib/python2.7/dist-**packages/MySQLdb/cursors.py", line
>> 174, in execute
>> self.errorhandler(self, exc, value)
>>   File "/usr/lib/python2.7/dist-**packages/MySQLdb/connections.**py",
>> line 36, in defaulterrorhandler
>> raise errorclass, errorvalue
>> django.db.utils.DatabaseError: (1005, "Can't create table
>> 'reviewboard.#s

Re: rb-site upgrade fails on database migration

2013-06-25 Thread Erik Lattimore
I'm getting the exact same error. I'm trying to test an upgrade before 
actually performing one on the live server and am getting the same Django 
stack trace.

We are running RB 1.5.2 in production on Ubuntu 12.04. I've been using 
easy_install to install ReviewBoard and made sure to force the Django 
dependency(1.3.3) since the 1.5.2 package pulls in too new of a version. I 
used mysqldump to dump the db from the live server and installed a site by 
running rb-site install ... and then seeding the database with the 
production data through mysql reviewboard < dump.sql. I then use 
easy_install to upgrade to 1.7.1, which completes but the rb-site upgrade 
command fails. However, one thing that I did notice is that I have no issue 
upgrading an empty install by doing the same steps as before, but not 
seeding the backup database and only upgrading an empty site.



On Tuesday, January 8, 2013 4:34:42 PM UTC-5, virtualAdmin wrote:
>
> We've been making regular backups of our RB 1.5.5 database, and I decided 
> it was time to verify that we can restore the DB to a new install in case 
> our server fails.  The backups are made with mysqlhotcopy, so I understand 
> they can be restored by simply stopping the mysql service, copying the 
> backup files into the appropriate folder (/var/lib/mysql/reviewboard), and 
> starting mysql.
>
> I installed RB 1.7 on an Ubuntu 12.04 LTS VM.  I got the software all 
> installed and removed the fresh 1.7 database, replacing it with our 
> backed-up 1.5.5 DB, making sure to set proper privileges on the db files 
> and in mysql itself.
>
> I ran:
>
> rb-site upgrade -d /var/www/mysite
>
> Which failed, giving this output:
>
> --  --
> Creating tables ...
> Creating table attachments_fileattachment
> Creating table diffviewer_filediffdata
> Creating table hostingsvcs_hostingserviceaccount
> Creating table reviews_fileattachmentcomment
> Creating table site_localsite_users
> Traceback (most recent call last):
>   File "/usr/local/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==1.7.1', 'console_scripts', 'rb-site')()
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 1937, in main
> command.run()
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 1778, in run
> site.sync_database()
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 366, in sync_database
> self.run_manage_command("syncdb", params)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 556, in run_manage_command
> execute_manager(reviewboard.settings, [__file__, cmd] + params)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/__init__.py",
>  
> line 459, in execute_manager
> utility.execute()
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/__init__.py",
>  
> line 382, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/base.py",
>  
> line 196, in run_from_argv
> self.execute(*args, **options.__dict__)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/base.py",
>  
> line 232, in execute
> output = self.handle(*args, **options)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/base.py",
>  
> line 371, in handle
> return self.handle_noargs(**options)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/commands/syncdb.py",
>  
> line 102, in handle_noargs
> cursor.execute(statement)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/db/backends/mysql/base.py",
>  
> line 114, in execute
> return self.cursor.execute(query, args)
>   File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in 
> execute
> self.errorhandler(self, exc, value)
>   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, 
> in defaulterrorhandler
> raise errorclass, errorvalue
> django.db.utils.DatabaseError: (1005, "Can't create table 
> 'reviewboard.#sql-5a2b_5b' (errno: 150)")
>
> Any ideas?
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups

Reviewboard rb-site upgrade fails and sites show directory listing.

2013-01-18 Thread kayabirch
Hi.

After upgrading reviewboard 1.5 to 1.7, and tried to upgrade the sites i 
got this error.  And when you visit the sites it shows a directory listing.

Can anyone please help me ? 

Rebuilding directory structure
Updating database. This may take a while.
Creating tables ...
There are unapplied evolutions for auth.
There are unapplied evolutions for sessions.
There are unapplied evolutions for accounts.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Error: Model 'reviews.FileAttachmentComment' already has a field named 
'extra_data'

thanks :) 

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




rb-site upgrade fails on database migration

2013-01-08 Thread virtualAdmin
We've been making regular backups of our RB 1.5.5 database, and I decided 
it was time to verify that we can restore the DB to a new install in case 
our server fails.  The backups are made with mysqlhotcopy, so I understand 
they can be restored by simply stopping the mysql service, copying the 
backup files into the appropriate folder (/var/lib/mysql/reviewboard), and 
starting mysql.

I installed RB 1.7 on an Ubuntu 12.04 LTS VM.  I got the software all 
installed and removed the fresh 1.7 database, replacing it with our 
backed-up 1.5.5 DB, making sure to set proper privileges on the db files 
and in mysql itself.

I ran:

rb-site upgrade -d /var/www/mysite

Which failed, giving this output:

--  --
Creating tables ...
Creating table attachments_fileattachment
Creating table diffviewer_filediffdata
Creating table hostingsvcs_hostingserviceaccount
Creating table reviews_fileattachmentcomment
Creating table site_localsite_users
Traceback (most recent call last):
  File "/usr/local/bin/rb-site", line 9, in 
load_entry_point('ReviewBoard==1.7.1', 'console_scripts', 'rb-site')()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1937, in main
command.run()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1778, in run
site.sync_database()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 366, in sync_database
self.run_manage_command("syncdb", params)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.1-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 556, in run_manage_command
execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/__init__.py",
 
line 459, in execute_manager
utility.execute()
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/__init__.py",
 
line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/base.py",
 
line 196, in run_from_argv
self.execute(*args, **options.__dict__)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/base.py",
 
line 232, in execute
output = self.handle(*args, **options)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/base.py",
 
line 371, in handle
return self.handle_noargs(**options)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/core/management/commands/syncdb.py",
 
line 102, in handle_noargs
cursor.execute(statement)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.3-py2.7.egg/django/db/backends/mysql/base.py",
 
line 114, in execute
return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in 
execute
self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, 
in defaulterrorhandler
raise errorclass, errorvalue
django.db.utils.DatabaseError: (1005, "Can't create table 
'reviewboard.#sql-5a2b_5b' (errno: 150)")

Any ideas?

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