2

I cannot get my code to run on my win8 laptop. I am working with a combination of:

  • Stackless Python 2.7.2
  • Qt 4.8.4
  • PySide 1.1.2
  • Eclipse/Pydev and WingIDE

This works well on my Win7 PC, but now i have bought a demo laptop with windows 8. As far as I know all is installed the same way as on my PC.

When i run my program (same code) now, i get a warning:

"Qt: Untested Windows version 6.2 detected!"

Ok, so that could be the source of my problem, but also i get errors:

  • some times the program just quits after the warning above (i think only eclipse)
  • sometimes i get an APPCRASH (i think only eclipse)
  • sometimes i get the exception: TypeError: Error when calling the metaclass bases: mro() returned base with unsuitable layout ('')
  • sometimes i get the exception: TypeError: Error when calling the metaclass bases: multiple bases have instance lay-out conflict

Especially the last two don't seem like a windows problem, but i don't see any other difference with my PC win7 install. Does anyone have any idea what is going on or how to fix this? Did i miss a step in the installation or is it some incompatibility maybe?

Cheers, Lars

Does anyone have some input on this?

Lars
  • 1,869
  • 2
  • 14
  • 26
  • try running the programs in Compatibility mode. By right click and properties, Alternately look for the latest releases of the above Programs that can run on windows 8, Also note the bit version whether its 64 bit or 32 bit – Harshit Dec 04 '12 at 11:45
  • doesn't Windows RT run on ARM processors? i.e. RISC architecture, i.e. there is reducet set of instructions on the processor itself, i.e. programs that work on Win7 don't have to work on Win8RT – Aprillion Dec 04 '12 at 11:49
  • i think i can only set compatibility options for the ide. I tried for WingIDE but that resulted in my code starting and stopping without error, output or warning at all (both winXP v3 and win7). I just saw that i can set compatibility for dll's, but i wouldn't know which one to change. – Lars Dec 04 '12 at 13:58
  • I am not using the RT version, just the PC version. – Lars Dec 04 '12 at 13:59
  • about microsoft; just cynical, wont slide to bitter ;-) – Lars Dec 04 '12 at 16:27

2 Answers2

1

I had the same problem with Pyside 1.1.2 and Qt 4.8.4. The solution for me was to set the compatibility mode of the Python executable to Windows 7 via right click on the executable -> Properties -> Compatiblity -> Run this program in compatibility mode for: Windows 7

Hope that helps.

Matthias
  • 9,817
  • 14
  • 66
  • 125
0

try using Hyper-V however Hyper-V is not installed by default in Windows 8. You need to go "Turn Windows features on or off."

ronaldooo
  • 9
  • 1
  • hyper-v is not available on win8 (non-pro, which i have), why do you think this might be the solution? – Lars Dec 16 '12 at 14:36
  • i upgraded to pro (wanted to anyway) and installed hyper-v. still the same results. Do i need to do something with hyper-v? i dot get the relation between the erros and virtualisation. – Lars Dec 16 '12 at 15:42
  • Can you explain why you think that Hyper-V could be a solution to this problem? – Nick Aug 03 '13 at 16:43