ttm / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

Closing DOS box leads to application error popup #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Cosmetic but irritating issue: run any of examples (ex. cefsimple.py) in MS-DOS 
command-line prompt (cmd.exe), switch from CEF window to DOS box, close it. A 
nasty application error "The instruction at ... referenced memory at ... The 
memory could not be read" popup arises.

Original issue reported on code.google.com by eugeny.blokhin@gmail.com on 17 Jun 2013 at 6:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
How is it behaving when running the cefclient.exe sample browser from
the command line prompt?

Original comment by czarek.t...@gmail.com on 17 Jun 2013 at 6:35

GoogleCodeExporter commented 9 years ago
No error popup is shown.

Naively speaking: may be this is because cefclient.exe is a substantive exe, 
while python scripts rely on cmd.exe during execution and throw an uncaught 
exception when it terminates?

Original comment by eugeny.blokhin@gmail.com on 18 Jun 2013 at 12:48

GoogleCodeExporter commented 9 years ago
Have you tried running some other Python GUI app, for example a wxPython 
app from command-line prompt and whether the error also appears?

Original comment by czarek.t...@gmail.com on 18 Jun 2013 at 10:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have tried a simple GTK widget 
(http://ralph-glass.homepage.t-online.de/clock/clock.py) and a set of PySide 
examples (https://github.com/PySide/Examples). They all open a DOS box in 
Windows, along with application window. Being closed, this DOS box produces no 
errors.

Cannot you reproduce my error on your environment?

Original comment by eugeny.blokhin@gmail.com on 20 Jun 2013 at 9:24

GoogleCodeExporter commented 9 years ago
Right now I hang out more on Ubuntu (I really loved their font smoothing,
it's relaxing for my eyes), but when I switch to Windows I will try to
debug this thing. I remember this error happening to me too in the past,
but it's not much priority, as this only affects when developing your
application, right? Your user won't launch the appplication from the
command line?

Original comment by czarek.t...@gmail.com on 20 Jun 2013 at 9:37

GoogleCodeExporter commented 9 years ago
In principle, you're right. However, the feeling of bug out there on Windows is 
nasty :)

Original comment by eugeny.blokhin@gmail.com on 20 Jun 2013 at 10:10