dapptools icon indicating copy to clipboard operation
dapptools copied to clipboard

seth bundle-source: Argument list too long

Open d-xo opened this issue 4 years ago • 5 comments

Run seth bundle-source 0x374ABb8cE19A73f2c4EFAd642bda76c797f19233 (on linux only?) and you will see:

/nix/store/cicalla8af9c2aj1f5i52zj3r6imscph-seth-0.11.0/libexec/seth/seth-bundle-source: line 37: /nix/store/cicalla8af9c2aj1f5i52zj3r6imscph-seth-0.11.0/libexec/seth/seth: Argument list too long

Seems likely that this is the root cause.

d-xo avatar Sep 30 '21 18:09 d-xo

so how to solve it?

bixia avatar Oct 17 '21 09:10 bixia

/nix/store/3fl61v0ssh5cdxqbvzvbqqx9a08j1wmg-seth-0.10.1/libexec/seth/seth-bundle-source: line 32: /nix/store/3fl61v0ssh5cdxqbvzvbqqx9a08j1wmg-seth-0.10.1/libexec/seth/seth: Argument list too long

i encounter the same problem the way to reproduce it is : [alice@test samczsun]$ seth bundle-source 0x374ABb8cE19A73f2c4EFAd642bda76c797f19233 > impl.json

bixia avatar Oct 17 '21 09:10 bixia

i tried those ways but it doesnt' work

  • ulimit -S -s unlimited (according to the link: https://unix.stackexchange.com/questions/128559/solving-mv-argument-list-too-long)

bixia avatar Oct 17 '21 09:10 bixia

Linux test 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

bixia avatar Oct 17 '21 09:10 bixia

I think we need to rewrite bundle source to write the source to a temp file on disk instead of using env vars

d-xo avatar Oct 17 '21 10:10 d-xo