Forum OpenACS Q&A: Re: connection socket is detached

Collapse
Posted by Gustaf Neumann on
Maybe, you guys sort this out internally, and tell me, when i can help. The message above indicates that the deprecated ns_rename is used as well....

The problem is that the script executed a "ns_return 500" triggered by "rp_report_error", which cannot work, when the connection is already gone.

Collapse
Posted by Maurizio Martignano on
Dear Gustaf,
eventually we modified the script replacing "ns_unlink" with "file delete".
This is what we have at the moment in the script:
...
ns_writer submitfile $path
# here it seems the connection gets closed
# file delete $some_other_path #is ok
# ns_unlink $some_other_path #produces the error message reported before

Hope this helps,
Maurizio