Hi Ryne,

thanks a lot, I guess I was not precise enough. In case of fresh install it 
works for me as well. But what I essentially want to do is to upgrade from 
4.1 to 4.2.2. And here I got so far reproducible the same problem cannot 
add subpages.

What I do is create a fresh projects, copy over all the files including 
settings from the 4.1 project and then I get the described behaviour. I 
guess my mistake is somehow in that procedure.

The code that generates the menus look the same in both cases (two 
different files) :

  {% if model.perms.add %}
        <option value="{{ model.add_url }}">{{ model.meta_verbose_name|capfirst 
}}</option>
  {% endif %}

As it seems that some checks are done maybe due to my upgrade procedure 
something strange happend.

Thanks a lot
Gerhard


Am Freitag, 11. November 2016 01:34:40 UTC+1 schrieb Ryne Everett:
>
> I followed the installation docs (
> http://mezzanine.jupo.org/docs/overview.html#installation), went to the 
> default pages, and was able to add subpages no problem.
>
>
> On 11/10/2016 04:09 AM, Gerhard Spitzlsperger wrote:
>
> Hi Ryne,
>
> thanks for your quick answer. I tried again with a fresh install, for me 
> it does not fix the issue. I have installed as well django-modeltranslation 
> and mezzanine-pagedown.
> It works under 4.1 could you please let me know what you  exactly do.
>
> Thank you very much
> Gerhard
>
>
>
> Am Mittwoch, 14. September 2016 12:26:26 UTC+2 schrieb Gerhard 
> Spitzlsperger: 
>>
>> Dear All,
>>
>> I tried to upgrade mezzanine from 4.1 to 4.2 and the system crashed. As I 
>> did not find somethin different I did a naive pip3 --upgrade. I tried to 
>> sites (one pretty fresh created under 4.1)
>>
>> both sites are deployed using apache2.4 and mod_wsgi
>>
>> after downgrading again to 4.1 everything worked.
>>
>> Thanks a lot for any hint
>> Gerhard
>>
>> Traceback (most recent call last):
>> [:error] [pid 9181] [remote ...:40070]   File 
>> "/home/django/mezzanine/blueberrye/blueberrye/wsgi.py", line 29, in <module>
>> [:error] [pid 9181] [remote ...:40070]     application = 
>> get_wsgi_application()
>> [:error] [pid 9181] [remote ...:40070]   File 
>> "/home/django/mezzanine/lib/python3.4/site-packages/django/core/wsgi.py", 
>> line 13, in get_wsgi_application
>> [:error] [pid 9181] [remote ...:40070]     django.setup(set_prefix=False)
>> [:error] [pid 9181] [remote ...:40070]   File 
>> "/home/django/mezzanine/lib/python3.4/site-packages/django/__init__.py", 
>> line 27, in setup
>> [:error] [pid 9181] [remote ...:40070]     
>> apps.populate(settings.INSTALLED_APPS)
>> [:error] [pid 9181] [remote ...:40070]   File 
>> "/home/django/mezzanine/lib/python3.4/site-packages/django/apps/registry.py",
>>  
>> line 78, in populate
>> [:error] [pid 9181] [remote ...:40070]     raise RuntimeError("populate() 
>> isn't reentrant")
>> [:error] [pid 9181] [remote ...:40070] RuntimeError: populate() isn't 
>> reentrant
>> [[:info] [pid 9181] mod_wsgi (pid=9181): Shutdown requested 
>> 'blueberrye.cc'.
>> [:info] [pid 9181] mod_wsgi (pid=9181): Stopping process 'blueberrye.cc'.
>> [:info] [pid 9181] mod_wsgi (pid=9181): Destroying interpreters.
>> [:info] [pid 9181] mod_wsgi (pid=9181): Destroy interpreter 
>> 'blueberrye.cc|'.
>> [:error] [pid 9181] Exception ignored in: <module 'threading' from 
>> '/usr/lib/python3.4/threading.py'>
>> [:error] [pid 9181] Traceback (most recent call last):
>> [:error] [pid 9181]   File "/usr/lib/python3.4/threading.py", line 1288, 
>> in _shutdown
>> [:error] [pid 9181]     assert tlock is not None
>> [:error] [pid 9181] AssertionError: 
>> [:info] [pid 9181] mod_wsgi (pid=9181): Cleanup interpreter ''.
>> [:info] [pid 9181] mod_wsgi (pid=9181): Terminating Python.
>> [:error] [pid 9181] Exception ignored in: <module 'threading' from 
>> '/usr/lib/python3.4/threading.py'>
>> [:error] [pid 9181] Traceback (most recent call last):
>> [:error] [pid 9181]   File "/usr/lib/python3.4/threading.py", line 1288, 
>> in _shutdown
>> [:error] [pid 9181]     assert tlock is not None
>> AssertionError: 
>>
>>
>> -- 
> 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 [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to