Text format and error screen in zTree unleashed

317 views
Skip to first unread message

jliver...@gmail.com

unread,
May 19, 2020, 1:05:34 AM5/19/20
to z-Tree unleashed
Hi all, 

I am fairly new to zTree unleashed. I'm currently trying to set it up at the UTS Behavioural lab. I have run a few tests with it and it seems to work almost perfectly. I had a few minor issues that I am seeking your help in resolving:

1. When I run the zTree file the text is left-aligned when it should be centrally aligned.
2. When I run the zTree file the text colour is black instead of the colour it should be, e.g. some of the text should be red but it appears black.

Another thing I was curious about is the error screen that the participants will inevitably see when they click the zleaf links. In order for the participant to get past this screen they have to click advanced and then jump through a few other hoops which might seem to them a little suspicious (you go through this in your tutorial video), they may feel as though they are about to be hacked. Is there any way around this issue? Can you please provide some advice on this as it may affect participation in our online experiments. 

Kind regards, 

Jonathan

Max R. P. Grossmann

unread,
May 19, 2020, 2:38:49 AM5/19/20
to jliver...@gmail.com, z-Tree unleashed

Hi Jonathan,

  1. Your first issue is a well-known bug with RTFs. It is easy to fix, however:

    Ensure you are running the current version of z-Tree unleashed. Execute the following in the Terminal Emulator:

    cd ztree-unleashed
    git pull

    Go onto a Windows (10) system and copy the following file onto the Virtual Machine (e.g. using FileZilla):

    C:\Windows\SysWOW64\riched20.dll
    MUST BE COPIED INTO THIS DIRECTORY:
    /home/lab/ztree-unleashed/extras/enable_rtf/

    Again, open the Terminal Emulator. Execute the following:

    cd ~/ztree-unleashed/scripts
    ./enable_rtf.sh

    That should fix the RTF bug. Unfortunately, we cannot include the riched20.dll with our software package because its intellectual property is owned by Microsoft and not by us.
  2. It's not inevitable, you merely have to acquire a valid X.509 certificate, e.g. by asking your IT department or using something like Let's Encrypt. But before you do that, you must make sure to make the links globally reachable -- i.e. if they still contain "127.0.0.1", this is a bigger issue that you need to worry about. There are in principle three options: (1) use a "Thin" intermediary server; (2) use a dedicated setup; (3) make the VM itself globally reachable. Which option you should choose depends on your exact setup and what your IT department can offer.

Best,

Max

--
You received this message because you are subscribed to the Google Groups "z-Tree unleashed" group.
To unsubscribe from this group and stop receiving emails from it, send an email to z-tree-unleash...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/z-tree-unleashed/ea2f6ad4-9337-4809-bdb8-07f01a24fbe4%40googlegroups.com.
-- 
Max R. P. Grossmann, M.Sc.
Labormanager
Kölner Laboratorium für Wirtschaftsforschung (CLER)
https://cler.uni-koeln.de

Tel.: +49 221 470-5883
E-Mail: m.gro...@uni-koeln.de (GPG: 0x1636BA9B)

jliver...@gmail.com

unread,
Jun 19, 2020, 2:42:06 AM6/19/20
to z-Tree unleashed
Hi Max, 

Thanks for providing the information and sorry for pestering you about this stuff so much. I followed the steps you suggest below to fix the formatting problem with the zleafs and now almost nothing is showing on the screens. 

Here is what the zleaf is currently showing:



Here is what it should be showing:




Do you have any idea how to fix this? I followed all of your steps but it still didn't work.

Kind regards, 

Jonathan

To unsubscribe from this group and stop receiving emails from it, send an email to z-tree-u...@googlegroups.com.

Max R. P. Grossmann

unread,
Jun 19, 2020, 5:04:37 PM6/19/20
to jliver...@gmail.com, z-Tree unleashed

Hi Jonathan,

It appears that RTF is not functional. Could you send us the output of

cd ~/ztree-unleashed/scripts
./enable_rtf.sh

Thanks,

Max


On 19/06/2020 08:42, jliver...@gmail.com wrote:
Hi Max, 

Thanks for providing the information and sorry for pestering you about this stuff so much. I followed the steps you suggest below to fix the formatting problem with the zleafs and now almost nothing is showing on the screens. 

Here is what the zleaf is currently showing:



Here is what it should be showing:




To unsubscribe from this group and stop receiving emails from it, send an email to z-tree-unleash...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/z-tree-unleashed/3aa4463a-15f2-4312-8c00-09469deb09cfo%40googlegroups.com.

jliver...@gmail.com

unread,
Jun 19, 2020, 6:34:34 PM6/19/20
to z-Tree unleashed
Hi Max, 

I ran the code again in the terminal emulator and underneath it just says: Done.

I tried the zleafs again and they still don't work. Not sure what the problem is. 

I was also wondering about something else. Is it possible to change the number in the links "127.0.0.1" to the correct IP number automatically? Is there a way to set this up so we don't have to manually change it each time?

Kind regards, 

Jonathan

Max R. P. Grossmann

unread,
Jun 21, 2020, 8:29:21 AM6/21/20
to jliver...@gmail.com, z-Tree unleashed

Hi Jonathan,

I just emailed you another possible solution.

Regarding the IP address: Yes, that is the "host name" that can be adjusted in the "Settings" app on the desktop.

Best,

Max

To unsubscribe from this group and stop receiving emails from it, send an email to z-tree-unleash...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/z-tree-unleashed/4d7dd3c5-6807-4208-9f8f-9804e532d0aao%40googlegroups.com.

Diya Abraham

unread,
Nov 9, 2020, 10:27:14 AM11/9/20
to z-Tree unleashed
Hi,

I have the exact same issue with the rtf. I enabled rtf but now nothing appears on the screen when I open the zleafs. If you found a way to fix this, please let me know. Thanks.

Best,
Diya

Max R. P. Grossmann

unread,
Nov 9, 2020, 10:34:54 AM11/9/20
to Diya Abraham, z-Tree unleashed
Hi Diya,

could you send us a screenshot?

Thanks,

Max

On 20/11/09 07:27am, Diya Abraham wrote:
> Hi,
>
> I have the exact same issue with the rtf. I enabled rtf but now nothing
> appears on the screen when I open the zleafs. If you found a way to fix
> this, please let me know. Thanks.
>
> Best,
> Diya
>
> On Saturday, 20 June 2020 at 00:34:34 UTC+2 jliver...@gmail.com wrote:
>
> > Hi Max,
> >
> > I ran the code again in the terminal emulator and underneath it just says:
> > *Done.*
> >>> 1. Your first issue is a well-known bug with RTFs. It is easy to
> >>> fix, however:
> >>>
> >>> Ensure you are running the current version of z-Tree unleashed.
> >>> Execute the following in the Terminal Emulator:
> >>>
> >>> cd ztree-unleashed
> >>> git pull
> >>>
> >>> Go onto a Windows (10) system and copy the following file onto the
> >>> Virtual Machine (e.g. using FileZilla):
> >>>
> >>> C:\Windows\SysWOW64\riched20.dll
> >>> MUST BE COPIED INTO THIS DIRECTORY:
> >>> /home/lab/ztree-unleashed/extras/enable_rtf/
> >>>
> >>> Again, open the Terminal Emulator. Execute the following:
> >>>
> >>> cd ~/ztree-unleashed/scripts
> >>> ./enable_rtf.sh
> >>>
> >>> That should fix the RTF bug. Unfortunately, we cannot include the
> >>> riched20.dll with our software package because its intellectual property is
> >>> owned by Microsoft and not by us.
> >>> 2. It's not inevitable, you merely have to acquire a valid X.509
> >>> certificate, e.g. by asking your IT department or using something like Let's
> >>> Encrypt <https://letsencrypt.org>. But before you do that, you *must*
> >>> <https://groups.google.com/d/msgid/z-tree-unleashed/ea2f6ad4-9337-4809-bdb8-07f01a24fbe4%40googlegroups.com?utm_medium=email&utm_source=footer>
> >>> .
> >>>
> >>> --
> >>> Max R. P. Grossmann, M.Sc.
> >>> Labormanager
> >>> Kölner Laboratorium für Wirtschaftsforschung (CLER)https://cler.uni-koeln.de
> >>>
> >>> Tel.: +49 221 470-5883 <+49%20221%204705883>
> >>> E-Mail: m.gro...@uni-koeln.de (GPG: 0x1636BA9B)
> >>>
> >>> --
> >> You received this message because you are subscribed to the Google Groups
> >> "z-Tree unleashed" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an
> >> email to z-tree-u...@googlegroups.com.
> >>
> >> To view this discussion on the web visit
> >> https://groups.google.com/d/msgid/z-tree-unleashed/3aa4463a-15f2-4312-8c00-09469deb09cfo%40googlegroups.com
> >> <https://groups.google.com/d/msgid/z-tree-unleashed/3aa4463a-15f2-4312-8c00-09469deb09cfo%40googlegroups.com?utm_medium=email&utm_source=footer>
> >> .
> >>
> >> --
> >> Max R. P. Grossmann, M.Sc.
> >> Labormanager
> >> Kölner Laboratorium für Wirtschaftsforschung (CLER)https://cler.uni-koeln.de
> >>
> >> Tel.: +49 221 470-5883 <+49%20221%204705883>
> >> E-Mail: m.gro...@uni-koeln.de (GPG: 0x1636BA9B)
> >>
> >>
>
> --
> You received this message because you are subscribed to the Google Groups "z-Tree unleashed" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to z-tree-unleash...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/z-tree-unleashed/44db18d3-6e49-4060-88e9-56558916e5can%40googlegroups.com.

Miloš Fišar

unread,
Nov 9, 2020, 1:09:21 PM11/9/20
to z-Tree unleashed
Hi Max,

I tried what Diya did and end up with the same outcome and issues with Enable RTF.

So my steps were:
1) copy riched20.dll to /home/lab/ztree-unleashed/extras/enable_rtf
2) execute the config "Enable RTF" from VM
3) restart VM
4) start the session

The issue that is appearing is, that after this procedure there is nothing in zLeaf.

I run a very simple code to test it. And also items without rtf do not appear on the screen. I also noticed that once the Enable RTF has been run, squares appeared at the end of the items in ztree.
Do you know whether there is some elegant fix for this?

Thanks,
Miloš



Miloš Fišar

unread,
Nov 9, 2020, 1:13:18 PM11/9/20
to z-Tree unleashed

Miloš Fišar

unread,
Nov 9, 2020, 2:09:03 PM11/9/20
to z-Tree unleashed
Max, my apologies. I figured it out. We copied the wrong riched20.dll and took it from folder C:\WINDOWS\system32 and not C:\Windows\SysWOW64 as wMilošindowssearch showed it. With the correct dll file the rtf works fine.

Miloš

Max R. P. Grossmann

unread,
Nov 9, 2020, 2:59:04 PM11/9/20
to Miloš Fišar, z-Tree unleashed
Hi Miloš,

oof, that's good to hear :-)

Best,

Max
> >>> > >> Tel.: +49 221 470-5883 <+49%20221%204705883> <+49%20221%204705883>
> >>> > >> E-Mail: m.gro...@uni-koeln.de (GPG: 0x1636BA9B)
> >>> > >>
> >>> > >>
> >>> >
> >>> > --
> >>> > You received this message because you are subscribed to the Google
> >>> Groups "z-Tree unleashed" group.
> >>> > To unsubscribe from this group and stop receiving emails from it, send
> >>> an email to z-tree-unleash...@googlegroups.com.
> >>> > To view this discussion on the web visit
> >>> https://groups.google.com/d/msgid/z-tree-unleashed/44db18d3-6e49-4060-88e9-56558916e5can%40googlegroups.com.
> >>>
> >>>
> >>>
>
> --
> You received this message because you are subscribed to the Google Groups "z-Tree unleashed" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to z-tree-unleash...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/z-tree-unleashed/1cf4fb15-b4cc-43c2-9632-26ccfa9f5433n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages