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 when reading mzXML files (due to accent é è ) #52

Closed
yguitton opened this issue Mar 31, 2017 · 5 comments
Closed

Error when reading mzXML files (due to accent é è ) #52

yguitton opened this issue Mar 31, 2017 · 5 comments
Labels

Comments

@yguitton
Copy link
Member

Sometimes during MS files life they are stored under filepaths with accent (e.g in french metabolomics is métabolomique)
and so when converting to mzXML (or other format) sometimes those paths are kept in the file and we get error.

invalid UTF-8 input in readChar() ligne <parentFile fileName="file:///D:/JPA/Laits-2015-06-10-Exactive (Metabolomique R�cap)/./211114031_S5_.raw" for exemple

@lecorguille
Copy link
Member

@sneumann You already help me with an issue with those kind of characters.
Your advice was to use LANG=C Rscript
In this case, it seems to not be enough.
Do you have an other tricks?
Many thanks

@sneumann
Copy link
Contributor

sneumann commented Apr 2, 2017

Can you provide a small test file ? Yours, Steffen

@yguitton
Copy link
Member Author

yguitton commented Apr 5, 2017

HI @sneumann , here enclosed two files the V1 generate the reported error and V2 not. The only difference is that i have manually removed the é in Metabolomique in V2 xml.
Thanks for your help

mzXML_files_forTest.zip

@sneumann
Copy link
Contributor

sneumann commented Apr 5, 2017

Hi, sorry, can't reproduce here. I tried
export LOCALE="C" ; echo 'library(xcms);xcmsRaw("211114031S3V1.mzXML") ; sessionInfo()' | R --vanilla and it just worked. What is your locale as reported by sessionInfo() ?

@lecorguille
Copy link
Member

Seems fix since: d649c25
@yguitton I have just tested your files in the prod instance and it works.

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

No branches or pull requests

3 participants