[Gambas-user] Issue 554 in gambas: Cannot seem to catch an error from a Exec[] process anymore

gambas at ...2524... gambas at ...2524...
Tue Sep 2 12:20:29 CEST 2014


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 554 by r... at ...1740...: Cannot seem to catch an error from a  
Exec[] process anymore
https://code.google.com/p/gambas/issues/detail?id=554

1) Describe the problem.

If an executed command isn't found the error cannot be catched with 'catch'  
or suppressed with 'try' (so it seems)

2) Give information about your system. Use the 'System information' menu in
the Gambas IDE, and paste the result there.

[System]
Gambas=3.5.4
OperatingSystem=Linux
Kernel=3.13.0-35-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.1 LTS
Desktop=GNOME
Theme=QGtk
Language=en_US.UTF-8
Memory=7953M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4

3) Provide a little project that reproduces the bug or the crash.
Attached

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.

Run project, the gambas ide will report it as 'cannot run child  
process:cannot run executable: No such file or directory'
Unless all the catch code and error event routine, and even try is used in  
the code.

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: If you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!

ANOTHER NOTE: Don't create an issue if you have a compilation problem on
the development version. Send a mail to the mailing-list instead, thanks.


Attachments:
	ExecErrorManagement-0.0.1.tar.gz  4.8 KB

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list