Index: openacs-4/packages/acs-tcl/tcl/test/http-client-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/test/Attic/http-client-procs.tcl,v diff -u -r1.1.2.4 -r1.1.2.5 --- openacs-4/packages/acs-tcl/tcl/test/http-client-procs.tcl 3 Jun 2019 08:46:17 -0000 1.1.2.4 +++ openacs-4/packages/acs-tcl/tcl/test/http-client-procs.tcl 3 Jun 2019 09:12:16 -0000 1.1.2.5 @@ -103,7 +103,10 @@ # HTTP tool util::http is wrapping, response would # not be automatically translated to the system # encoding. - if {[info exists tmpfile_app_json] && [info exists tmpfile_iso8859_2]} { + if {[info exists tmpfile_app_json] && + [info exists tmpfile_iso8859_2] && + [file exists $tmpfile_app_json] && + [file exists $tmpfile_iso8859_2]} { set rfd [open $tmpfile_app_json r] set app_json_text [read $rfd] close $rfd