Re: site upgrade from 3.0.20 to 4.0.2 fails with AttributeError: 'module' object has no attribute 'SubfieldBase'

2021-06-27 Thread harish.va...@gmail.com
Hi Christian,

Thanks for the inputs.
Yes, the version was the issue and upgrading it helped solve the issue.

Have a different issue starting the httpd server and will post it as a 
separate thread so that its easier to track.

Thanks.
On Sunday, 27 June 2021 at 13:22:11 UTC+5:30 Christian Hammond wrote:

> Can you run:
>
> pip show django-multiselectfield 
>
> And tel me what version it shows?
>
> If it’s not 0.1.12, try upgrading it.
>
> We’ll include a fix for this week’s release to ensure the right version is 
> always installed.
>
> Christian
>
>
> On Sat, Jun 26, 2021 at 00:03 harish.va...@gmail.com <
> harish.va...@gmail.com> wrote:
>
>> Hi,
>>
>> We were able to successfully have rb-site 4..0.2 installed.
>> # which rb-site
>> /usr/bin/rb-site
>>
>> # rb-site --version
>> Review Board/rb-site 4.0.2
>> Python 2.7.5 (default, Nov 20 2015, 02:00:19) 
>> Installed to 
>> /usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard
>>
>> But, when we are trying to upgrade the site using rb-site upgrade, from 
>> the current site version 3.0,20, we are getting the below error.
>>   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in 
>> import_module
>> __import__(name)
>>   File 
>> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/notifications/models.py",
>>  
>> line 8, in 
>> from multiselectfield import MultiSelectField
>>   File "/usr/lib/python2.7/site-packages/multiselectfield/__init__.py", 
>> line 1, in 
>> from multiselectfield.db.fields import MultiSelectField
>>   File "/usr/lib/python2.7/site-packages/multiselectfield/db/fields.py", 
>> line 135, in 
>> MultiSelectField = 
>> add_metaclass(models.SubfieldBase)(MultiSelectField)
>> AttributeError: 'module' object has no attribute 'SubfieldBase'
>>
>>
>> Can anyone please help let know on how to address this.
>>
>> Thanks.
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/e1ec02a7-0eaa-4b21-b759-b088a8a70634n%40googlegroups.com
>>  
>> 
>> .
>>
> -- 
> -- 
> Christian Hammond
> President/CEO of Beanbag
> Makers of Review Board
>

-- 
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/f2e5fd23-d21f-471a-a438-f10b208af5a7n%40googlegroups.com.


Re: site upgrade from 3.0.20 to 4.0.2 fails with AttributeError: 'module' object has no attribute 'SubfieldBase'

2021-06-27 Thread Christian Hammond
Can you run:

pip show django-multiselectfield

And tel me what version it shows?

If it’s not 0.1.12, try upgrading it.

We’ll include a fix for this week’s release to ensure the right version is
always installed.

Christian


On Sat, Jun 26, 2021 at 00:03 harish.va...@gmail.com <
harish.varadara...@gmail.com> wrote:

> Hi,
>
> We were able to successfully have rb-site 4..0.2 installed.
> # which rb-site
> /usr/bin/rb-site
>
> # rb-site --version
> Review Board/rb-site 4.0.2
> Python 2.7.5 (default, Nov 20 2015, 02:00:19)
> Installed to
> /usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard
>
> But, when we are trying to upgrade the site using rb-site upgrade, from
> the current site version 3.0,20, we are getting the below error.
>   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/notifications/models.py",
> line 8, in 
> from multiselectfield import MultiSelectField
>   File "/usr/lib/python2.7/site-packages/multiselectfield/__init__.py",
> line 1, in 
> from multiselectfield.db.fields import MultiSelectField
>   File "/usr/lib/python2.7/site-packages/multiselectfield/db/fields.py",
> line 135, in 
> MultiSelectField = add_metaclass(models.SubfieldBase)(MultiSelectField)
> AttributeError: 'module' object has no attribute 'SubfieldBase'
>
>
> Can anyone please help let know on how to address this.
>
> Thanks.
>
> --
> 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/e1ec02a7-0eaa-4b21-b759-b088a8a70634n%40googlegroups.com
> 
> .
>
-- 
-- 
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

-- 
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/CAE7Vndnr7r5Sev1MekmQgU9Vop9mtVt0j%3DmqHVXPY-i6gC0R%3Dg%40mail.gmail.com.


site upgrade from 3.0.20 to 4.0.2 fails with AttributeError: 'module' object has no attribute 'SubfieldBase'

2021-06-26 Thread harish.va...@gmail.com
Hi,

We were able to successfully have rb-site 4..0.2 installed.
# which rb-site
/usr/bin/rb-site

# rb-site --version
Review Board/rb-site 4.0.2
Python 2.7.5 (default, Nov 20 2015, 02:00:19) 
Installed to 
/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard

But, when we are trying to upgrade the site using rb-site upgrade, from the 
current site version 3.0,20, we are getting the below error.
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in 
import_module
__import__(name)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/notifications/models.py",
 
line 8, in 
from multiselectfield import MultiSelectField
  File "/usr/lib/python2.7/site-packages/multiselectfield/__init__.py", 
line 1, in 
from multiselectfield.db.fields import MultiSelectField
  File "/usr/lib/python2.7/site-packages/multiselectfield/db/fields.py", 
line 135, in 
MultiSelectField = add_metaclass(models.SubfieldBase)(MultiSelectField)
AttributeError: 'module' object has no attribute 'SubfieldBase'


Can anyone please help let know on how to address this.

Thanks.

-- 
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/e1ec02a7-0eaa-4b21-b759-b088a8a70634n%40googlegroups.com.