Rappsilber-Laboratory / build-xiview

GNU General Public License v3.0
2 stars 0 forks source link

Cannot see spectra in the uploaded XiView session #112

Open alessiodiianni opened 1 week ago

alessiodiianni commented 1 week ago

Hi, I am loading mzIdentML and mgf peakfiles with my account on XiView but for some strange reason I am not able to see the spectra. When my colleague Andrea Graziadei is doing it with the same files, with his account, on his laptop (both Edge and Chrome browsers), he sees them without problem. Is there maybe sth wrong with my account or something that I have installed on my laptop? Because the data are confidential, if you are fine with that, I will send it to via email. Best,

Alessio

colin-combe commented 1 week ago

the server might be getting overly busy and not responding. What do you see in the 'network' debugging tab (CTRL-J then click network) when it is not working?

alessiodiianni commented 1 week ago

Hi Colin, yes I think that would be quite a good reason. Now, all the sessions I've loaded are currently visualizing MS spectra. Thanks for helping

alessiodiianni commented 1 week ago

Again, the spectra are not visible...could you please check it out now so that I know if it's a server issue or it's a problem with my account? Best

alessiodiianni commented 1 week ago

Here is what I see when I click the network debugging tab:

xiview xiview1
colin-combe commented 1 week ago

Hi,

When my colleague Andrea Graziadei is doing it with the same files, with his account, on his laptop (both Edge and Chrome browsers), he sees them without problem. Is there maybe sth wrong with my account or something that I have installed on my laptop?

Is this still the case, that it works on other computers when it is broken on yours? Andrea had an intermittent problem that maybe is to do with server.

~But for you it never works, is that correct?~ [already told me it sometimes works]

There is something funny in the network tab you saw. First the 'CORS error'; that shouldn't happen. Second the 'preflight' request, that's usually not there.

Have you tried with a different browser on your computer?

colin-combe commented 1 week ago

(do you have a thing called Private Network Access installed?)

grandrea commented 1 week ago

Hi colin, this morning i could see the spectra although it is very hard to test this exactly simultaneously.

colin-combe commented 1 week ago

@grandrea - when it is not working for you, do you also see a CORS error in the browser's network tab?

@alessiodiianni - when it is not working for you, does changing browser help? (I guess you tried this already, but just checking).

when it fails, if you click the request that failed in the network tab, and then click 'Headers' then is "access-control-allow-origin: *" in the Response Headers. It might also be useful to see a screenshot of that Headers tab.

colin-combe commented 1 week ago

this morning i could see the spectra

@grandrea - from your slack message, its is session specific, not intermittent?

colin-combe commented 1 week ago

AndreaG 2:08 PM ok, we made some progress actually. In a session that works, i have referrer as the session url. But Alessio has only xiview.org as the referrer.

colin-combe commented 1 week ago

this is quite strange

alessiodiianni commented 6 days ago

When I try to load the mzIdentML file and few raw data to speed up the process, it gives me this error:

log id: pk2ur3bbt0eau5q85hgj3p6fmq_1726642914.log (include this in the github issue) error type: Error message: XMLSyntaxError id: undefined

Maybe if you want i can try to send you the files so that you can check if maybe there's sth wrong

Il giorno mar 17 set 2024 alle ore 18:03 Colin @.***> ha scritto:

this is quite strange

— Reply to this email directly, view it on GitHub https://github.com/Rappsilber-Laboratory/build-xiview/issues/112#issuecomment-2356343668, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LHTWX7ND3J2WNV3BKOBVLZXBHERAVCNFSM6AAAAABODAC5TWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWGM2DGNRWHA . You are receiving this because you were mentioned.Message ID: @.***>

alessiodiianni commented 6 days ago

PS: this is what I get when uploading the data from my personal laptop, with the same XiView account

Il giorno mer 18 set 2024 alle ore 09:04 Alessio Di Ianni < @.***> ha scritto:

When I try to load the mzIdentML file and few raw data to speed up the process, it gives me this error:

log id: pk2ur3bbt0eau5q85hgj3p6fmq_1726642914.log (include this in the github issue) error type: Error message: XMLSyntaxError id: undefined

Maybe if you want i can try to send you the files so that you can check if maybe there's sth wrong

Il giorno mar 17 set 2024 alle ore 18:03 Colin @.***> ha scritto:

this is quite strange

— Reply to this email directly, view it on GitHub https://github.com/Rappsilber-Laboratory/build-xiview/issues/112#issuecomment-2356343668, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6LHTWX7ND3J2WNV3BKOBVLZXBHERAVCNFSM6AAAAABODAC5TWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWGM2DGNRWHA . You are receiving this because you were mentioned.Message ID: @.***>

colin-combe commented 6 days ago

message: XMLSyntaxError

OK, that sounds like an error in XML. If you email the file I'll check what the problem is. My email is colin.combe@ed.ac.uk.

I played around with this problem a bit more -

In a session that works, i have referrer as the session url. But Alessio has only xiview.org as the referrer.

I changed that so that it is always the session url (not just xiview.org) but it made no difference.

For the ones that don't work there is always this 'preflight' request. I can make that go away by saying to accept plain text (not json) as the returned data, but that breaks things in a different way. (Note to self: i should look at that again to see if is was actually returning stuff.)

I think we need to be sure about whether this is intermittent for specific sessions (i.e. specific data uploads) or always happening for certain sessions. Andrea shared a URL with me which never seems to work.

@grandrea - for clarification, are you sure that if you upload the same data as for that broken session using your account then it works?