Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not create the task on the server when using shared storage #3123

Closed
2 tasks done
bsekachev opened this issue Apr 22, 2021 · 2 comments · Fixed by #3424
Closed
2 tasks done

Could not create the task on the server when using shared storage #3123

bsekachev opened this issue Apr 22, 2021 · 2 comments · Fixed by #3424
Assignees
Labels
bug Something isn't working

Comments

@bsekachev
Copy link
Member

My actions before raising this issue

Expected Behaviour

No any errors when creating a task using image lists and directories

Current Behaviour

When I upload some images together with directories, I get error:

Error: Could not create the task on the server.
Exception: Combined data types are not supported.

Possible Solution

Probably need to convert directory to list of images properly, or to allow different media types in case of images and directories

Steps to Reproduce (for bugs)

I have the following structure on shared storage:

root/
    data1/
        people.jpg
        street_1.jpeg
        street_2.jpg
        street_3.jpg
        street.png
        subdir/
                image_4.jpg
                image_5.jpg
                image_6.jpg
  1. Start creating a task, go to connected file share and select files
  2. Expand root
  3. Expand data1
  4. Click data1 to select all the files and directories inside (IMPORTANT: Do not expand the subdirectory)
    If expand the subdirectory, task can be created.
  5. Click "Submit"

Request body in this case:

{"chunk_size":null,"size":0,"image_quality":70,"start_frame":0,"stop_frame":0,"frame_filter":"","compressed_chunk_type":"imageset","original_chunk_type":"imageset","client_files":[],"server_files":["/data1/","/data1/people.jpg","/data1/street_1.jpeg","/data1/street_2.jpg","/data1/street_3.jpg","/data1/street.png","/data1/subdir/"],"remote_files":[],"use_zip_chunks":false,"use_cache":false,"copy_data":false}

Context

Screenshot from 2021-04-22 22-07-20

Your Environment

  • Git hash commit (git log -1):
commit 38b774046d41d604ed85a521587e4bacce61b69c (HEAD -> develop, origin/develop, origin/HEAD)
Author: Dmitry Kruchinin <[email protected]>
Date:   Thu Apr 22 17:04:05 2021 +0300

    Remark linter. Check lenght of messages only. (#3117)
  • Docker version docker version (e.g. Docker 17.0.05): N/A
  • Are you using Docker Swarm or Kubernetes? N/A
  • Operating System and version (e.g. Linux, Windows, MacOS): N/A
  • Code example or link to GitHub repo or gist to reproduce problem: N/A
@bsekachev bsekachev added the bug Something isn't working label Apr 22, 2021
@varchanaiyer
Copy link

Hi there! Are there any updates on this, I am also getting a server error while creating a new task!

@bsekachev
Copy link
Member Author

Hi @varchanaiyer

Maria now is working on another feature, but fixing the issue is also within the nearest plans.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants