seems that this problem was qt related, not stackless. Unit tests without qt ui elements but with stackless tasklets running did run as expected.<div><br></div><div>Cheers, Lars</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Dec 7, 2012 at 12:56 PM, lars van Gemerden <span dir="ltr"><<a href="mailto:lars@rational-it.com" target="_blank">lars@rational-it.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It seems that these are two separate but maybe related topics. The problem i described here might be totally unrelated, but if it has the same cause, it would mean that testing with PyQt actually makes more sense since there would be a clear repeatable exception to test against. <div>
<br></div><div>So to determine whether the win8 problem is related, my main question is: (how) could the TypErrors described above be caused by the PySide/Stackless issue (if so, that would probably be an important fact/starting point in itself).</div>
<div><br></div><div>Cheers, Lars</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 7, 2012 at 4:54 AM, Richard Tew <span dir="ltr"><<a href="mailto:richard.m.tew@gmail.com" target="_blank">richard.m.tew@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My experience is that Stackless Python is generally unstable with<br>
PySide. Beyond that, you are on your own if you choose to use PySide<br>
with Stackless and encounter stability problems. Christian has asked<br>
for further information in the other thread, if you are able to<br>
furnish him with any of that, it might help solve the situation.<br>
Otherwise, you, me, Christian and whomever else is using PySide will<br>
likely use it with standard Python and not Stackless.<br>
<br>
A temporary solution might be to use greenlets with a Python-based<br>
stackless.py module that emulates the Stackless Python API. I am not<br>
sure what the state of these is, or whether they introduce custom<br>
non-Stackless Python behaviour at the whim of the author.<br>
<br>
Cheers,<br>
Richard.<br>
<div><div><br>
On Fri, Dec 7, 2012 at 12:15 AM, lars van Gemerden <<a href="mailto:lars@rational-it.com" target="_blank">lars@rational-it.com</a>> wrote:<br>
> I cannot get my code to run on my win8 laptop. I am working with a<br>
> combination of:<br>
><br>
> Stackless Python 2.7.2<br>
> Qt 4.8.4<br>
> PySide 1.1.2<br>
> Eclipse/Pydev and WingIDE<br>
><br>
> This works well on my Win7 PC, but now i have bought a demo laptop with<br>
> windows 8. As far as I know all is installed the same way as on my PC.<br>
><br>
> When i run my program (same code) now, i get a warning:<br>
><br>
> "Qt: Untested Windows version 6.2 detected!"<br>
><br>
> Ok, so that could be the source of my problem, but also i get errors:<br>
><br>
> some times the program just quits after the warning above (i think only<br>
> eclipse)<br>
> sometimes i get an APPCRASH (i think only eclipse)<br>
> sometimes i get the exception: TypeError: Error when calling the metaclass<br>
> bases: mro() returned base with unsuitable layout ('')<br>
> sometimes i get the exception: TypeError: Error when calling the metaclass<br>
> bases: multiple bases have instance lay-out conflict<br>
><br>
> Especially the last two don't seem like a windows problem, but i don't see<br>
> any other difference with my PC win7 install. Could/does stackless have as<br>
> compatibility probelm with Win8? Should i try some compatibility setting on<br>
> some .dll?<br>
><br>
> Cheers, Lars<br>
><br>
><br>
> --<br>
> ====================================<br>
> Lars van Gemerden<br>
> <a href="mailto:lars@rational-it.com" target="_blank">lars@rational-it.com</a><br>
> <a href="tel:%2B31%206%2026%2088%2055%2039" value="+31626885539" target="_blank">+31 6 26 88 55 39</a><br>
> ====================================<br>
><br>
</div></div>> _______________________________________________<br>
> Stackless mailing list<br>
> <a href="mailto:Stackless@stackless.com" target="_blank">Stackless@stackless.com</a><br>
> <a href="http://www.stackless.com/mailman/listinfo/stackless" target="_blank">http://www.stackless.com/mailman/listinfo/stackless</a><br>
<br>
_______________________________________________<br>
Stackless mailing list<br>
<a href="mailto:Stackless@stackless.com" target="_blank">Stackless@stackless.com</a><br>
<a href="http://www.stackless.com/mailman/listinfo/stackless" target="_blank">http://www.stackless.com/mailman/listinfo/stackless</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>====================================<br>Lars van Gemerden<br><a href="mailto:lars@rational-it.com" target="_blank">lars@rational-it.com</a><br><a href="tel:%2B31%206%2026%2088%2055%2039" value="+31626885539" target="_blank">+31 6 26 88 55 39</a><br>
====================================<br>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>====================================<br>Lars van Gemerden<br><a href="mailto:lars@rational-it.com">lars@rational-it.com</a><br>+31 6 26 88 55 39<br>
====================================<br>
</div>