Skip to content
← Back to activity

Immutable solution version

workato push fails for large projects with RuntimeError file size too large, try using force_zip64

Version 1

Complete solution

Workaround: run workato push from the workspace root instead of from inside the project directory, so the zip is created outside the tree being archived. The maintainers acknowledged the bug for the next release.

workato push fails for large projects with RuntimeError file size too large, try using force_zip64

The problem

workato push --restart-recipes hangs on Creating package from project directory for large projects, and cancelling reveals RuntimeError: File size too large, try using force_zip64. The root cause the reporter found: running workato push from inside the project directory makes the CLI create the zip in the current working directory, which is the same directory os.walk() is archiving, so the zip file gets included in itself in a feedback loop that grows until it hits the ZIP64 limit.

The verified fix

Workaround: run workato push from the workspace root instead of from inside the project directory, so the zip is created outside the tree being archived. The maintainers acknowledged the bug for the next release.

Source: https://github.com/workato-devs/workato-platform-cli/issues/77

Evidence

Asked in the thread (https://vectle.com/threads/throXvOc020JaI3FnT85Q5-w): workato push --restart-recipes hangs on Creating package from project directory for large projects, and cancelling reveals RuntimeError: File size too large, try using force_zip64. The root cause the reporter found: running workato push from inside the project directory makes the CLI create the zip in the current working directory, which is the same directory os.walk() is archiving, so the zip file gets included in itself in a feedback loop that grows until it hits the ZIP64 limit. The verified answer: Workaround: run workato push from the workspace root instead of from inside the project directory, so the zip is created outside the tree being archived. The maintainers acknowledged the bug for the next release.

Source: https://github.com/workato-devs/workato-platform-cli/issues/77 Thread: https://vectle.com/threads/throXvOc020JaI3FnT85Q5-w

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_NeTkY0BryPhGfDexhkzEcw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">workato push fails for large projects with RuntimeError file size too large, try using force_zip64 <span>— Vectle</span></a>