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

Test Creator gets stuck on a black page after selecting an interface #204

Closed
callumgoddard opened this issue Apr 21, 2017 · 14 comments
Closed

Comments

@callumgoddard
Copy link

Screenshots show when you open the test creator, you can start to make a new test, then select an interface. But after that you are presented with a black interface selection screen. Pressing back takes you back to the first test creator page where you can drag in a pre-made xml file.

screen shot 2017-04-21 at 16 29 06

screen shot 2017-04-21 at 16 29 14

screen shot 2017-04-21 at 16 29 18

@nickjillings
Copy link
Collaborator

Thanks.

I'm going to reject this purely because the code for this won't exist in the next 24-48 hours as I am finally ripping apart the test creator this weekend

@ghost
Copy link

ghost commented Jun 2, 2017

Hi Nick,
I'm getting exactly this issue. I've downloaded the zip from GitHub today and run it on a web space and locally - both return the same. Tried it in Chrome and Safari.
Are you still working on the test creator?
Thanks,
Bill

@nickjillings
Copy link
Collaborator

Yep, it's currently in the development branch. You can either download the development or, if you just need the test creator, you can get an up-to-date version here:

@nickjillings
Copy link
Collaborator

nickjillings commented Jun 2, 2017

The Dev_branch is here: https://github.com/BrechtDeMan/WebAudioEvaluationTool/tree/Dev_main

It's quite stable but it may be better to wait until the vnext is ready to use as right now it's all in a transitional state between two slightly different specifications. So a test made on the Dev branch may not work in the master right now.

@ghost
Copy link

ghost commented Jun 2, 2017

Thanks Nick - much appreciated. Any idea of when the vnext will be ready to use?

@ghost
Copy link

ghost commented Jun 7, 2017

Nick - thanks for the links to the different test_create.html files.

I've used the waet_dev/test_create.html (the other two point to the WAET 1.2.0 version) to start putting together a test. However, this still won't run for me in either the master or the Dev_main versions. Master throws an error on the .xml file (first screenshot), the Dev_main says it's Loading resources but just sits there (second screenshot).

If I point it at pool.xml in the same folder, or one of the examples (tests/examples/AB_example.xml) those pages load and the tests work but have a momentary 'page unresponsive' message which goes away.

screen shot 2017-06-07 at 14 26 41

screen shot 2017-06-07 at 14 26 54

Have I missed something critical in the test setup or is this more likely to do with the update you're working on currently? If so, do you have an idea of when that might be complete?

Thanks,

B

@nickjillings
Copy link
Collaborator

Are you sure then that your XML is complete. It will hang like this if it gets a fatal error, usually being unable to load an audio file.

I will be pushing for it probably this weekend but other deadlines are being pushed so far.

@nickjillings
Copy link
Collaborator

It actually looks like you've saved the XML as a web page, rather than the XML. The first error says there is a tag in your code.

You did hit export XML on the top left of the test creator and saved that to XML?

@ghost
Copy link

ghost commented Jun 12, 2017

The 'export XML' button in Safari loaded a page which I was saving as 'web archive' (I was then manually changing the extension to .xml). Once I save that page as 'page source' it works in v1.2.1 of WAET, so I'm making progress.

Thanks for your time Nick. Much appreciated.

@nickjillings
Copy link
Collaborator

Yeah Safari behaviour is pretty non-standard on some things. Trying to get every renderer to work is quite a task.

Because of the spec. changes however, if you build it in the dev_main version you'll have to use the dev_main branch to run. It isn't actually that different in the core test code since this push is to update the test_creator so it should be perfectly stable for you to use.

But obviously, make sure you test your test before deploying!

@fuyang2032
Copy link

The same problem exactly. When designing an ABX test, even though the designing interface appears when using the creator in Dev_branch, it seems not to be the proper interface for ABX (cannot find a place to design the content of X).

@nickjillings
Copy link
Collaborator

Yep, the new test creator is still only in the Dev_main. Hopefully next week I can spend some time and complete this (admittedly very delayed) push.

The AB(X) is designed to take either the A or B and copy it to present it as X. Which one is picked is given in the result. If you fix the AB to be one or the other every time, you may get bias. So WAET will automatically pick this for you.

If you feel this behaviour is undesired, or you have a suitable alternative, then please raise an issue thread.

@fuyang2032
Copy link

fuyang2032 commented Jun 23, 2017

Thank you so much nick! Got the idea.

And there may be also something wrong during the execution of ABX_example in the Dev_main (X does not appear, neither A nor B can be chosen by click)
image

The ABX_example in vnext is fine as I tried, but the outcome file in the saves branch cannot be recognized by the online analysis tool
image
image

Thanks again for your support and hard work!

@nickjillings
Copy link
Collaborator

nickjillings commented Jun 23, 2017 via email

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

No branches or pull requests

3 participants