Re: [mezzanine-users] Re: new release? - TypeError at /search/ unsupported operand type(s) for |=:

2015-04-15 Thread Graham Oliver
ok retested on Django 1.77 and 1.8 - all is good

On Wednesday, 15 April 2015 09:48:34 UTC+12, Stephen McDonald wrote:

 Good find Graham, thanks a lot for tracking it down.

 That's fixed now:


 https://github.com/stephenmcd/mezzanine/commit/3ad1a6a9ce049e14fe9d120be1226844ad201baf

 On Tue, Apr 14, 2015 at 5:55 PM, Graham Oliver greenba...@gmail.com 
 javascript: wrote:

 no problems in 1.7.7
 Here is the return from the [m._meta.get_parent_list() for m in models] 
 in 1.7.7
 [{class 'mezzanine.pages.models.Page'}, {class 
 'mezzanine.pages.models.Page'}, {class 'mezzanine.pages.models.Page'}, 
 set(), {class 'mezzanine.pages.models.Page'}, set(), {class 
 'mezzanine.pages.models.Page'}, {class 'mezzanine.pages.models.Page'}, 
 {class 'mezzanine.pages.models.Page'}]

 Here is the same return in 1.8
 [[class 'mezzanine.pages.models.Page'], [class 
 'mezzanine.pages.models.Page'], [class 'mezzanine.pages.models.Page'], 
 [], [class 'mezzanine.pages.models.Page'], [], [class 
 'mezzanine.pages.models.Page'], [class 'mezzanine.pages.models.Page'], 
 [class 'mezzanine.pages.models.Page']]

 cheers
 g


 My best guess is that it is something to do with 

 On Tuesday, 14 April 2015 19:00:18 UTC+12, Graham Oliver wrote:

 Python 3.4  Django 1.8

  Request Method: GET  Request URL: http://192.168.1.81:8000/
 search/?q=samoa  Django Version: 1.8  Exception Type: TypeError  Exception 
 Value: 

 unsupported operand type(s) for |=: 'list' and 'list'

  Exception Location: /home/graham/Virtual-Environments/test-py3-dj1.8/
 lib/python3.4/site-packages/mezzanine/core/managers.py in search, line 
 265  Python Executable: /home/graham/Virtual-
 Environments/test-py3-dj1.8/bin/python 
 I will do some digging
 g


  -- 
 You received this message because you are subscribed to the Google Groups 
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to mezzanine-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Stephen McDonald
 http://jupo.org
  

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Re: new release? - TypeError at /search/ unsupported operand type(s) for |=:

2015-04-14 Thread Graham Oliver
Python 3.4  Django 1.8

 Request Method: GET  Request URL: http://192.168.1.81:8000/search/?q=samoa  
Django 
Version: 1.8  Exception Type: TypeError  Exception Value: 

unsupported operand type(s) for |=: 'list' and 'list'

 Exception Location: 
/home/graham/Virtual-Environments/test-py3-dj1.8/lib/python3.4/site-packages/mezzanine/core/managers.py
 
in search, line 265  Python Executable: 
/home/graham/Virtual-Environments/test-py3-dj1.8/bin/python 
I will do some digging
g


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Re: new release? - TypeError at /search/ unsupported operand type(s) for |=:

2015-04-14 Thread Graham Oliver
no problems in 1.7.7
Here is the return from the [m._meta.get_parent_list() for m in models] in 
1.7.7
[{class 'mezzanine.pages.models.Page'}, {class 
'mezzanine.pages.models.Page'}, {class 'mezzanine.pages.models.Page'}, 
set(), {class 'mezzanine.pages.models.Page'}, set(), {class 
'mezzanine.pages.models.Page'}, {class 'mezzanine.pages.models.Page'}, 
{class 'mezzanine.pages.models.Page'}]

Here is the same return in 1.8
[[class 'mezzanine.pages.models.Page'], [class 
'mezzanine.pages.models.Page'], [class 'mezzanine.pages.models.Page'], 
[], [class 'mezzanine.pages.models.Page'], [], [class 
'mezzanine.pages.models.Page'], [class 'mezzanine.pages.models.Page'], 
[class 'mezzanine.pages.models.Page']]

cheers
g


My best guess is that it is something to do with 

On Tuesday, 14 April 2015 19:00:18 UTC+12, Graham Oliver wrote:

 Python 3.4  Django 1.8

  Request Method: GET  Request URL: 
 http://192.168.1.81:8000/search/?q=samoa  Django Version: 1.8  Exception 
 Type: TypeError  Exception Value: 

 unsupported operand type(s) for |=: 'list' and 'list'

  Exception Location: 
 /home/graham/Virtual-Environments/test-py3-dj1.8/lib/python3.4/site-packages/mezzanine/core/managers.py
  
 in search, line 265  Python Executable: 
 /home/graham/Virtual-Environments/test-py3-dj1.8/bin/python 
 I will do some digging
 g




-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Re: new release? - TypeError at /search/ unsupported operand type(s) for |=:

2015-04-14 Thread Stephen McDonald
Good find Graham, thanks a lot for tracking it down.

That's fixed now:

https://github.com/stephenmcd/mezzanine/commit/3ad1a6a9ce049e14fe9d120be1226844ad201baf

On Tue, Apr 14, 2015 at 5:55 PM, Graham Oliver greenbay.gra...@gmail.com
wrote:

 no problems in 1.7.7
 Here is the return from the [m._meta.get_parent_list() for m in models] in
 1.7.7
 [{class 'mezzanine.pages.models.Page'}, {class
 'mezzanine.pages.models.Page'}, {class 'mezzanine.pages.models.Page'},
 set(), {class 'mezzanine.pages.models.Page'}, set(), {class
 'mezzanine.pages.models.Page'}, {class 'mezzanine.pages.models.Page'},
 {class 'mezzanine.pages.models.Page'}]

 Here is the same return in 1.8
 [[class 'mezzanine.pages.models.Page'], [class
 'mezzanine.pages.models.Page'], [class 'mezzanine.pages.models.Page'],
 [], [class 'mezzanine.pages.models.Page'], [], [class
 'mezzanine.pages.models.Page'], [class 'mezzanine.pages.models.Page'],
 [class 'mezzanine.pages.models.Page']]

 cheers
 g


 My best guess is that it is something to do with

 On Tuesday, 14 April 2015 19:00:18 UTC+12, Graham Oliver wrote:

 Python 3.4  Django 1.8

  Request Method: GET  Request URL: http://192.168.1.81:8000/
 search/?q=samoa  Django Version: 1.8  Exception Type: TypeError  Exception
 Value:

 unsupported operand type(s) for |=: 'list' and 'list'

  Exception Location: /home/graham/Virtual-Environments/test-py3-dj1.8/
 lib/python3.4/site-packages/mezzanine/core/managers.py in search, line
 265  Python Executable: /home/graham/Virtual-Environments/test-py3-dj1.8/
 bin/python
 I will do some digging
 g


  --
 You received this message because you are subscribed to the Google Groups
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to mezzanine-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.