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 in go get install latest version #176

Closed
deokapil opened this issue Sep 16, 2022 · 4 comments
Closed

Error in go get install latest version #176

deokapil opened this issue Sep 16, 2022 · 4 comments

Comments

@deokapil
Copy link

Hi,

I am getting following error while installing the latest version v1.0.2 of omniparser

extensions/omniv21/fileformat/flatfile/fixedlength/.snapshots/TestReadAndMatchRowsBasedEnvelope-non-empty_buf;_no_read;_match;_create_IDR: malformed file path "extensions/omniv21/fileformat/flatfile/fixedlength/.snapshots/TestReadAndMatchRowsBasedEnvelope-non-empty_buf;_no_read;_match;_create_IDR": invalid char ';'

probably accidental typo in file name is checked in

@jf-tech
Copy link
Owner

jf-tech commented Sep 16, 2022

Are you running on Windows?

@jf-tech
Copy link
Owner

jf-tech commented Sep 16, 2022

Okay, not related to your OS. It's from here:

https://cs.opensource.google/go/x/mod/+/master:module/module.go;l=285;drc=02c991387e35f9e4c0a9b7ce137717055f8d716d

Basically module file names have a reduced set of valid characters. And the two recently introduced snapshot filenames contain ; and while it's all good in coding, testing, and CI, it's failing during import.

I'll scrub all the use of ; from all test names.

@jf-tech
Copy link
Owner

jf-tech commented Sep 16, 2022

Also filed a ticket with bradleyjkemp/cupaloy#83

@jf-tech
Copy link
Owner

jf-tech commented Sep 16, 2022

The issue should be fixed now with release of 1.0.3. Give it another try.

@jf-tech jf-tech closed this as completed Sep 16, 2022
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

2 participants