Posts [ 8 ]

Topic: Problem to open mzXML file in windows 7

Hello,

I have been experiencing some problems trying to open mzXML files with mMass in Windows 7. I have been able to open the same files in XP and Mac OS X using the same versión of mMass but not in Windows 7. I have tried with different versions but the files cannot be opened, a window appears with the message: "Unable to open the document. Selected document is damaged or contains no data".

In the mmass.exe.log file I obtain the following

Exception in thread Thread-2:Traceback (most recent call last): File "threading.pyo", line 552, in __bootstrap_inner File "threading.pyo", line 505, in run File "gui\main_frame.pyo", line 3745, in getDocumentScanList File "mspy\parser_mzxml.pyo", line 128, in scanlist File "xml\sax\expatreader.pyo", line 107, in parse File "xml\sax\xmlreader.pyo", line 119, in parse File "xml\sax\expatreader.pyo", line 111, in prepareParserUnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 20: ordinal not in range(128)

Re: Problem to open mzXML file in windows 7

Re: Problem to open mzXML file in windows 7

Sorry for the late reply.

I have opened the file in a text editor (notepad) and cannot find any "non-ascii character" like "á", "é" and so on. As said, I can open them in another computer with XP or Mac OS X, but not Vista or 7.

Re: Problem to open mzXML file in windows 7

Re: Problem to open mzXML file in windows 7

I have a similar problem with mMass 5.4.0 and 5.4.1, in windows 7 and XP:

I have two files which extensions and sizes are: .mzML and 905 KB and .mzXML 1810 KB respectively.

I could open the second file, but not the first, with 2.4.0.0 mMass version. Now I cannot open this file nor the first one with these two newest versions.

In both cases, the following message appears:"Unable to open the document. Selected document is damaged or contains no data" and mmass.exe.log shows:

Exception in thread Thread-3:Traceback (most recent call last): File "threading.pyo", line 552, in __bootstrap_inner File "threading.pyo", line 505, in run File "gui\main_frame.pyo", line 3886, in getDocumentScanList File "mspy\parser_mzxml.pyo", line 128, in scanlist File "xml\sax\expatreader.pyo", line 107, in parse File "xml\sax\xmlreader.pyo", line 119, in parse File "xml\sax\expatreader.pyo", line 111, in prepareParserUnicodeEncodeError: 'ascii' codec can't encode character u'\xcd' in position 19: ordinal not in range(128)

Re: Problem to open mzXML file in windows 7

Hi,it's an interesting bug. In both cases I have no problem opening the files you've send me on Mac or Windows, so I cannot reproduce the bug. However, there is one same thing in both cases. You are both from Spain (correct me if I'm wrong). Also, if I paste the error message into google, I'll get some links to spain python forum.

Re: Problem to open mzXML file in windows 7

Hello Martin,

Correct, I am from Spain. If I paste the error message into google, I also will get links to Argentina Phyton users Group and a Norwegian web. I have read something about it, but I don't understand very well what I have to do in order to solve the error.