Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Demonstrator - Reasoning WebAPI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • cogsys
  • Dare2Del
  • Demonstrator - Reasoning WebAPI
  • Issues
  • #29

Closed
Open
Created Nov 25, 2020 by Syed Mamoon Ahmed@syed-mamoon.ahmed

/clear endpoint not working

My request is:

{ "type" : "file", "abs_path": "/A/B/Filename-2.exe", "file_size": 1024, "creation_time": "1604235569", "modification_time": "1604235569", "access_time": "1604235569", "change_time": "1604235569", "media_type": "img", "filename_extension": "png" }

The response is this: <> html>

500 Internal server error

Internal server error

Arguments are not sufficiently instantiated
In:
[20] _6592 is _6598-1
[19] web_api:clear_bg([protocol(http),...|...]) at /home/transmatter/folders/code/uniBam/thesis/demonstrator/web_api.pl:266
[18] http_dispatch:call_action(web_api:clear_bg,[protocol(http),...|...]) at /usr/lib/swi-prolog/library/http/http_dispatch.pl:1030
[16] time:run_alarm_goal('$alarm'(11197176410828),http_dispatch:call_action(...,...,...)) at /usr/lib/swi-prolog/library/time.pl:147
[15] setup_call_catcher_cleanup(time:alarm(300,...,...,...),time:run_alarm_goal(...,...),_850,time:remove_alarm_notrace(...)) at /usr/lib/swi-prolog/boot/init.pl:564
[8] httpd_wrapper:call_handler(web_api:http_dispatch,28,[protocol(http),...|...]) at /usr/lib/swi-prolog/library/http/http_wrapper.pl:329
[7] catch(httpd_wrapper:call_handler(...,28,...),error(instantiation_error,context(...,_1000)),httpd_wrapper:true) at /usr/lib/swi-prolog/boot/init.pl:482
[6] httpd_wrapper:handler_with_output_to(web_api:http_dispatch,28,[protocol(http),...|...],current_output,error(instantiation_error,context(...,_1078))) at /usr/lib/swi-prolog/library/http/http_wrapper.pl:306
[5] httpd_wrapper:handler_with_output_to(web_api:http_dispatch,28,[protocol(http),...|...],<stream>(0x7f071c03dd50),error(instantiation_error,context(...,_1150))) at /usr/lib/swi-prolog/library/http/http_wrapper.pl:318

Note: some frames are missing due to last-call optimization.
Re-run your program in debug mode (:- debug.) to get more detail.

SWI-Prolog httpd at transmatter-laptop
Edited Nov 25, 2020 by Syed Mamoon Ahmed
Assignee
Assign to
Time tracking