Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • O Open VDS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • Domain Data Management Services
  • Seismic
  • Open VDS
  • Issues
  • #37
Closed
Open
Issue created Apr 23, 2020 by Camille Perin@camille.perinDeveloper

Bug when using WaitForCompletion(request, 1000)

The bug occurs when I try to display some progress information while requesting data. I use :

      while (!accessManager->WaitForCompletion(request, 1000)) {
          if (accessManager->IsCanceled(request)) {
              fmt::print(stdout, "Request canceled\n");
              break;
          }
          fmt::print(stdout, "Progress : {} %\n", accessManager->GetCompletionFactor(request) * 100.);
      }

instead of

      bool finished = accessManager->WaitForCompletion(request);

I get this error :

/data/openSDU/openVDS/open-vds/cmake-build-debug/examples/SliceDump/slicedump --bucket openvds-test-int --region eu-west-3 --object vds/alwynDepth_w_IL_XL_IEEEFloat /tmp/slice.bmp --axis 2,1,0 --position 500 --progress
Using axis mapping [2, 1, 0]
Found data set with sample count [1163, 849, 1101]
Launch request ... OK
slicedump: /data/openSDU/openVDS/open-vds/src/OpenVDS/VDS/VolumeDataRequestProcessor.cpp:161: void OpenVDS::SetErrorForJob(OpenVDS::Job*): Assertion `job->cancelled' failed.

Process finished with exit code 6
Assignee
Assign to
Time tracking