Millisecond Online Community

why i can't use <htmlpage> for the instructions?

rated by 0 users
This post has 6 Replies | 1 Follower

Top 500 Contributor
Posts 4
greta Posted: 12-30-2009 2:21 AM

hi,all. now i am writing an inquisit script. i use <htmlpage> for instructions. Everytime when i run the script, the programme is interupted when the instructions show up. But if i skip the instructions, the programme works. i don't find any bugs there. Anybody know why? By the way, my htmlpage is 12kb. Is it too large? Thank you!

Top 10 Contributor
Posts 2,021

Hi Greta,

file size certainly isn't the issue here, 12 kb is pretty small after all. AFAIK, there were some bugs causing Inquisit to freeze on <htmlpage> instructions in earlier versions, so it would be good to know which version of Inquisit you're running. You can find the exact version number and build date via Help -> About Inquisit in the editor. You might also want to put your script along with all supporting files (html, pictures, etc.) in a zip file and attach it to this thread (click on the options tab when posting a reply and find controls for file uploading there). This would enable others to check whether they can replicate the problem on their PCs.

Best wishes from a fellow Inquisit user,

~Dave

"To understand recursion, you must first understand recursion."  - Unknown Zen Master

Top 500 Contributor
Posts 4

Thank you, Dave. I've attached the related files. You'll find that my instructions are in Chinese. When it's in English, it runs well; but when Chinese it's not ok. I am wondering whether it's  the matter of  linguistic code. Thank you again~

Happy New Year!

Top 500 Contributor
Posts 4

By the way, i'm using the 2.0 Version. I haven't got a license for 3.0, so i hope the script runs well in 2.0. Thanks~

Top 500 Contributor
Posts 4

here's another htmlpage file. I find that there are no Chinese characters in previous files attached just now when they're opened by notepad.exe. But in this single file there are Chinese characters. I still don't know why.....Sad

Top 10 Contributor
Posts 2,021

I've downloaded and run the files you provided on my system a few times. Oddly enough, I didn't experience any problems: Chinese characters displayed fine and there was no freezing on instruction pages. I've tested the files with both Inquisit 2.0.61004.7 as well as Inquisit 3.0.4.0. With that said, here are a few things to try out:

(1) Make sure you've installed the latest available release of Inquisit 2. Its version number is 2.0.61004.7 (see 'Help' -> 'About Inquisit...') and the setup file is available from this page: http://www.millisecond.com/download/archives.aspx. If you're running an earlier build, definitely update your installation and try again.

(2) AFAIK, Inquisit uses the Internet Explorer engine to display HTML instruction pages. You might want to check if you've got all available Internet Explorer updates installed on your system (check via Windows Update). You might also want to try and upgrade your system to the latest version of Internet Explorer (version 8) in case you're running an earlier version.

(3) After all, there might be some locale related issue involved. It would be good to know which version of Windows you're running (XP, Vista, 7) as well as thhe system's locale / language (English, Chinese, German, etc.). For example, the system I've tested these scripts on is running German Windows XP SP3 with all updates applied and Internet Explorer 8.

Let us know what you find and we'll take it from there...

Best wishes from a fellow Inquisit user,

~Dave

P.S.: Happy New Year, everyone!

"To understand recursion, you must first understand recursion."  - Unknown Zen Master

Top 50 Contributor
Posts 15

I am working with Greta and I've found the same problem.

I've installed inquisit 2.0.61004.7 on my laptop with Windows XP SP3 (Simplified Chinese). I also installed Internet Explorer 8. Greta's htmlpage named rS1.htm works well in IE8. When I ran monkey and tested it with inquisit, it worked sometimes but failed when I tried to run the whole experiment program, and failed again when I ran monkey and tried to tested it once more.

The error message was "the memory could not be written", or "could not be read".

I guessed the problem is which charset the htmlpage uses. The following code in htmlpage may be important:

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

I've replaced "windows-1252" into gb2312, gb18030, or HZ, the problem remained, even I deleted this whole line of code.

After I translated all the Chinese into English in htmlpages, the experiment works well. Then, I added one Chinese character into the htmlpage each time without any code indicating which charset should be used when running the htmlpage. The Program works fine at first but failed when there's more than five Chinese characters.

I guessed there's something uncompatible with my operation system and the program.

No problem, now, we are going to turn the htmlpages into pictures to display instructions. We should try another method.

Happy New Year!!

 

Page 1 of 1 (7 items) | RSS
Powered by Community Server (Non-Commercial Edition), by Telligent Systems