qctools icon indicating copy to clipboard operation
qctools copied to clipboard

xml file not found error when trying to upload to signalserver

Open bturkus opened this issue 8 years ago • 2 comments

I can only get files uploaded to signalserver when I have automatic selected. when I try the manual upload button, I get a xml file not found error.

bturkus avatar Jan 13 '17 21:01 bturkus

In current implementation when 'auto-upload' is selected it will either use existing stats file or produce temp one silently, but this is not the case for manual uploading. Currently only existing stats files can be uploaded, so you need to produce stats file first.

It was implemented in such a way because I had no answers to the following questions:

  1. What should be right behavior? Should we generate temp stats file and upload without any questions? or should we prompt user with some dialog?
  2. If we should generate temp stats file, should we do it in background or like it is done now for non-temp stats file (in UI thread, so UI will be frozen for the time stats file is being generated)?
  3. If we should generate stats file, should it be temp or persistent one?

.. and so on and so on...

So before proceeding further I'd like to collect some thoughts on the expected behavior.

ElderOrb avatar Jan 14 '17 16:01 ElderOrb

Hi @ElderOrb In my use case, I was waiting until my graphs had finished generating. I think in that case, I initially thought hitting the upload button should ask the user if they want to generate an xml.gz sidecar and then upload.

In the context of a graph that is already generated:

Now that I've seen you mention the temp stats file in step 1, I think that's the best way to proceed (without prompting user). A user can manually make a sidecar xml.gz if they wish, but perhaps they shouldn't HAVE to create that file in order to upload to signalserver.

In the case of graphs still generating: I think background would be optimal, and user prompting may not be necessary if the process is displayed to the user as in this example: screenshot from 2017-04-12 22-48-59

As for temp vs persistent stats file, by this do you mean that temp is created in memory or a temp folder, while persistent is a sidecar or something like that? If I understand correctly, if the graphs continue to load, a user can create a sidecar if they wish, and very quickly at that? So perhaps not creating a file when the user has just selected to upload stats to signalserver would be preferable.

Just my take anyhow.

kieranjol avatar Apr 12 '17 21:04 kieranjol

will close, as we'll likely remove signalserver features

dericed avatar Sep 02 '23 19:09 dericed