Catching other error message for wrong architecture.

Current wxPython packages only work in 32-bit mode. If we detect that there is
an error message complaining about the architecture, we restart scyther-gui.py using
python in 32-bit mode.
This commit is contained in:
Cas Cremers 2012-11-23 09:25:19 +01:00
parent 1648d14d98
commit d1537b1848

View File

@ -36,7 +36,7 @@ The [wxPython] packages can be found at http://www.wxpython.org/
Ubuntu users: the wxPython packages are called 'python-wxgtk' followed by the
version number."""
elif '32-bit mode' in str(err):
elif ('32-bit mode' in str(err)) or ('no matching architecture' in str(err)):
import os
key = "VERSIONER_PYTHON_PREFER_32_BIT"