It's just an hack, but release 20120522 provides a quickstart change
that avoids the crash.
Quickstarting again the project on a virtual environment created with
that release should cause the crash anymore when doing setup.py
develop.
For people that use 2.1.5 with ToscaWidgets2 they can work around the
issue by placing at the head of their project setup.py:
try:
import logging
import multiprocessing
except:
pass
On Tue, May 22, 2012 at 9:14 PM, Alessandro Molina
<[email protected]> wrote:
> That is sadly a know issue in Python2.7
> multiprocessing and logging don't coexist well.
>
> It should not cause any effect as it happens at interpreter shutdown
> after everything has been done.
> In the case of TurboGears2 it is caused by the setup script of
> tw2.forms which imports multiprocessing and logging.
>
> You can simply ignore it or quickstart with: "paster quickstart -n -s
> -j --enable-tw1 quickstore"
>
> I'll look for a workaround with ToscaWidgets guys as soon as possible,
> in the mean time it can just be ignored.
>
> On Tue, May 22, 2012 at 7:56 PM, Mengu <[email protected]> wrote:
>> hi,
>>
>> i have created a fresh virtual environment and did a clean install via
>> http://unstable.tg.gy
>>
>> i created a test project with "paster quickstart -n -s -j appname" and
>> then i ran a "python setup.py develop". this is the output:
>> http://pastebin.com/XaeVUqFP
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "TurboGears" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/turbogears?hl=en.
>>
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.