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

dx.api.project_archive failed to call due to non-closed files #940

Open
JasonLing95 opened this issue Feb 17, 2023 · 1 comment
Open

dx.api.project_archive failed to call due to non-closed files #940

JasonLing95 opened this issue Feb 17, 2023 · 1 comment

Comments

@JasonLing95
Copy link
Contributor

Running dx.api.project_archive(project-id, input_params={"folder":"/"}) raised an error due to files in non-closed state

Traceback (most recent call last):
    return DXHTTPRequest('/%s/archive' % object_id, input_params, always_retry=always_retry, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/dxpy/__init__.py", line 686, in DXHTTPRequest
    raise error_class(content, response.status, time_started, req_id)
dxpy.exceptions.InvalidState: Cannot archive folder "/" as some files are in a non-closed state (file-Fx36qFQ4kKF0FP8j3j37B6kV,file-Fx36q9Q4kKFG5Byx3gPV2qfv,file-FvkGJ1Q4kKFJX0XbB9qVJy3K,file-FvkGJ104kKF 0PZ0jJJKP1B5X,file-FvkGGb04kKF5xzVV8KjJFQfJ,file-FvfYPJQ4jQf0yGzpJJfKgvQV,file-Fvf1Y184kKFKGjz2B8qk1G1Y,file-Fvf1Xx84kKF91Bx98P31j7Xq,file-FvfX1Y844V0VPVppGPyz3Y9p,file-FvfVYB04zbYX8fv48K9Y3FX8,file-FvfV VXj48xjZb21ZB8Bxx05Q,file-FvfVQG04g78gpYVZB8VFZpbY,file-FvfVQGQ4g78bKXZBB924x3Ff,file-FvfVQJ04g78gpYVZB8VFZpbb,file-FvfVK704PyQf0yKkGQ6Jf6kj,file-FvfVK6Q4PyQZZjF773F2yy8Y,file-FvfVGJ84XbvJ43XV9GfZFVQ5,fi le-FvfVGJ84XbvBb76fGQZ5gKgv,file-FvfV9qQ4VQX5xzVV8KjJ4Gqf,file-FvfV6yQ4Pb4XZ2J19Jz673yB,file-FvfV6yQ4Pb4jyykgJGZY2FBq,file-FvfV6yQ4Pb4X8fv48K9Y3F7g,file-FvfV6yQ4Pb4pb76fGQZ5gKf5,file-FvfV6yQ4Pb4Y48ZxGPXx bk5X,file-FvfV6yQ4Pb4gpYVZB8VFZpKV,file-FvfV6yQ4Pb4gpYVZB8VFZpKP,file-FvfV6yQ4Pb4ZB41BJGqBYqY7,file-FvfV6vQ4Pb4g2fvjGQJp0Y28,file-FvfV6vQ4Pb4ZB41BJGqBYqY5,file-FvfV67Q4Pb4jyykgJGZY2FBG,file-FvfV67Q4Pb4b7 29X8PYBF7GP,file-FvfV67Q4Pb4zfX2xJGGpPbJV,file-FvfV6vQ4Pb4qBYbx9G7zZGVj,file-FvfV6vQ4Pb4XZ2J19Jz673y7,file-FvfV3pj4jf24ZjF773F2yy4q,file-FvfV3p84jf272fvjGQJp0Y0k,file-FvfV3gQ46y6X13929J33bGvg,file-FvfV3j 046y6jYX8QBB70KV6j,file-FvfV3fQ4x845729X8PYBF7Ff,file-FvfV3f04x841gvKzB8fz1JQz,file-FvfV3Z0405G4B41BJGqBYqVy,file-FvfV3ZQ405GFFXXFGQvbFQ0X,file-Fqjz7Bj433GpKP8Y8pBf6BvG,applet-Fqjz7G0433GpKP8Y8pBf6BvK,fi le-FjkzKPQ4yBGgBgJ6KvyZ563P,file-FjkzKVQ4yBGkQQg53bX957G7,file-Fq3J9BQ433Ggk8p1KZX1K617,applet-Fpk6vv0433GkPzBf7kq6X1pv,file-Fq1BQ20433Gy6Py76Gbqxx7q,applet-Fq1yZf84zYgF4bkF8XfBfPxX,applet-Fq1BQ30433Gv6g zY6f722K36,workflow-FvfQxyj4kKF8bXf8K3pQpG9Y,applet-Fp65J60433Gf36b86FGYF280,file-Fp6B2v8433GbX90y5kX389VB,applet-Fpx4970433GX46x18Jbk831g,applet-Fpx49F8433GY69qV8PGxFG0F,file-F403K904F30y2vpVFqxB9kz7,ap plet-Fp69k884qBzVfbvP812F92gG,file-Fjypfq04yBGjBF83FX09j5Xp,file-Fp65GkQ433Gby5jq1PZx3k0p,file-Fpx4958433Gp364j8KKPy25g,file-Fpx49B0433GzBJbkP4P8Fkq5,file-Fp4Z6Kj4qBzjFz9KB8yx7x19,file-FpG4zQj433Gyy9b5KG PJ82x5,applet-Fk5z0V84yBGZ5P7q3gFgFB64,file-Fpz2VzQ433GqY28X2X8Yb1YJ,file-F3zxG0Q4fXX9YFjP1v5jK9jf,applet-Fq3B62Q433Gy9KXV97bkfQQv,file-Fpz2X0Q433GVK5xxPvzqvVPB,applet-FpG4zY8433GbJ9Xj5vBvzBFp,file-Fq3B6 1Q433GV41j04k3jQKzV,workflow-FvfQxp84kKF3Pg32KkPBz40G,file-Fvf1Xq84kKF7pYVZB8VFXvK6,file-Fvf1Xk84kKFBZX7k8KGg2qgk,file-Fvbz1PQ4kKF91Bx98P31j4Bz,file-FvPGQ804pYfbbBF07pzJ1V2z,file-FvPGQ804pYfkyp71Kqvkz4Pf ,file-FvPFYF04kKFGjfFkBGyP5J8B,file-FvPFVf04kKF81KqkKjJ9X14V,file-FvPFVY04kKF0jq4v4qQjK0v9), code 422. Request Time=1676625043.9646814, Request ID=1676625044010-119772

dxpy version 0.339.0

@JasonLing95
Copy link
Contributor Author

dx.api.project failed when there're workflow and applet within the project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant