Commit Graph

40 Commits

Author SHA1 Message Date
Cas Cremers
1e46eb3751 Upgrading further parts to wxPython4. 2020-10-27 22:11:24 +01:00
Cas Cremers
38a0fba212 Further Python3 fixes. 2020-10-27 22:10:55 +01:00
Cas Cremers
3a6041ccac Conversion to python3, using 2to3. 2020-10-27 22:09:03 +01:00
Thomas Fleming
92aa826bf3 Fix wxPython SpashScreen error at startup. 2020-02-25 22:50:08 +01:00
Cas Cremers
bf4bd3e07b Forcing Python2 if called directly. 2020-02-25 22:50:08 +01:00
Cas Cremers
4d8c8a7336 Minor fix. 2015-05-02 14:20:42 +01:00
Cas Cremers
c9b1d08f4f Hack for Windows users to compensate for Graphviz "feature".
Recent versions of Graphviz no longer set the PATH variable on Windows.
Hence Scyther can fail to find dot.exe even though Graphviz was appropriately
installed.

This patch is a hack to try and locate dot.exe in the more common locations.
We currently have a hardcoded search through:

  C:\Program Files\Graphviz*
  C:\Program Files (x86)\Graphviz*

This is clearly fragile. Obviously, nobody should be solving Graphviz' problem
in such an ugly way. Change drives or languages and it stops working.

Until Graphviz provides at least an alternative environment variable (GVPATH?)
this hack will help the bulk of our users to get things up and running smoothly.
2013-12-09 14:24:57 +00:00
Cas Cremers
d06247fcfe Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
Cas Cremers
9e13d07b6e BUGFIX: Invoking Scyther scripts from non-standard directories or using symlinks should work consistently now.
Before, we were using both __file__ as well as sys.argv[0] to determine the base directory
for Scyther, and we were not taking symlinks into account.

By using the inspect module, we can consistently pick the current frame and derive
the file from that, then use realpath to strip symlinks.
2013-05-01 14:16:12 +02:00
Cas Cremers
d1537b1848 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.
2012-11-23 09:25:19 +01:00
Cas Cremers
5918bf1a3c Fixed MAC 32-bit problem in a nicer way. 2012-10-24 16:13:05 +02:00
Cas Cremers
3a6d65463f Improving error reporting on wx import errors. 2012-04-26 14:27:00 +02:00
Cas Cremers
5b985af776 Refactoring order of module loading for better error reporting. 2012-04-26 13:41:07 +02:00
Cas Cremers
1cbe9826ac Updated dates. 2012-04-24 13:56:51 +02:00
Cas Cremers
626385821a Minor restructuring and fallback error even even tkInter is not installed. 2012-04-24 12:34:42 +02:00
Cas Cremers
6ed32d0f4c BUGFIX: Fixed overzealous deletion in init scripts and fixed reference to removed SetBinDir. 2012-02-27 11:52:33 +01:00
Cas Cremers
b1f993a6c9 BUGFIX: Use /usr/bin/env to locate the correct Python interpreter. 2010-11-12 14:20:53 +01:00
Cas Cremers
1f75f73cb0 Added realistic check for graphviz/dot. 2010-05-15 23:27:11 +02:00
Cas Cremers
feb400c610 Added GUI error message if wxPython is not present.
If wxPython is not present, there would be a command-line message only.
Some users may not notice that. We now fall back to Tkinter to report
such messages.
2010-05-15 22:56:48 +02:00
Cas Cremers
b02c09f0dd Disabled --check for gui as well.
--check is not working correctly, so we should disable it for now.
2007-11-15 21:49:35 +01:00
Cas Cremers
6e65138dca Added --license switch to the Gui. 2007-10-08 14:52:50 +02:00
Cas Cremers
f901951e4b Added GPL 2 to the Python scripts. 2007-06-11 14:12:33 +02:00
Cas Cremers
a09cf686f9 - Modified explanation too. 2007-05-21 13:34:46 +02:00
ccremers
5d0b15e292 - Reinstated the graphical about screen. 2007-01-27 22:52:22 +00:00
ccremers
70a718807e - Improved error handling: any Scyther errors now raise an exception.
This can be dealt with accordingly. If no error occurs, we can just
  nicely assume the output is a claim list or something similar.
2007-01-27 21:42:16 +00:00
ccremers
61828765b9 - Improved error reporting for missing libs.
- Moved all binaries to Bin/ (untested here as stupid thing does not work.)
2006-11-14 11:03:19 +00:00
ccremers
4cab253e7c - Improved error reporting. 2006-11-13 10:38:47 +00:00
ccremers
c3ce3c37d4 - Many fixes. 2006-08-11 15:23:32 +00:00
ccremers
a517d729ef - Added separate about box. 2006-08-11 10:43:28 +00:00
ccremers
7b79402d43 - Misc fixes. 2006-08-09 11:54:37 +00:00
ccremers
a660a0a1f7 - Better path handling. 2006-08-09 11:39:35 +00:00
ccremers
2cd1178905 - Improved binary locator. 2006-08-09 09:26:15 +00:00
ccremers
529892e640 - More consistency updates 2006-08-08 17:07:15 +00:00
ccremers
e14d165816 - Some reshuffling should restore matters. 2006-08-08 17:04:26 +00:00
ccremers
166f618cb9 - Refactoring stuff into a package. 2006-08-08 15:54:00 +00:00
ccremers
3cd37d25f6 - Improved option parser and friends. 2006-08-07 15:06:10 +00:00
ccremers
6b5f83f762 - Added parameters for automatic starts. (try filename --verify)
- Splash screen can now be disabled.
2006-08-07 12:59:22 +00:00
ccremers
7bae7875a0 - Huge improvement in error output. 2006-08-07 11:02:14 +00:00
ccremers
69581fcacc - Turned preferences file into something that is cross-platform. 2006-08-02 22:44:10 +00:00
ccremers
e1ddf0668b - Added gui. 2006-08-02 12:59:57 +00:00