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

[Error] parsing commandline arguments is broken now #1089

Closed
uncomfyhalomacro opened this issue Dec 5, 2023 · 3 comments
Closed

[Error] parsing commandline arguments is broken now #1089

uncomfyhalomacro opened this issue Dec 5, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@uncomfyhalomacro
Copy link

uncomfyhalomacro commented Dec 5, 2023

Describe the bug
I cannot run command line arguments outside the container from exported binaries anymore.

To Reproduce

  1. Export some binary.
  2. Use the exported binary from host.
  3. Run some commandline args.

A good example would be julia:

Before distrobox version 1.6.0.1, you can just run julia -e 'print("Hello world")'.

On that version, I get:

julia -e 'print("Hello world")'
ERROR: syntax: incomplete: invalid string syntax
Stacktrace:
 [1] top-level scope
   @ none:1

Expected behavior
It should be the same as before the version and parses the arguments correctly.

@uncomfyhalomacro uncomfyhalomacro added the bug Something isn't working label Dec 5, 2023
@pavinjosdev
Copy link
Contributor

There were changes to distrobox-export from 1.5.0.2 to 1.6.0.1.
Could you try deleting and re-exporting the binary to see if it fixes issue.
BTW, this issue does not happen with PR #1069 applied as it changes the way exports are handled.

@uncomfyhalomacro
Copy link
Author

i still got the same issue after removing and then reexporting the binary

@uncomfyhalomacro
Copy link
Author

It seems recreating a new container fixes this? odd. i guess i should recreate containers every major update

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

No branches or pull requests

2 participants