Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Expyriment doesn't start as window in python 3

35 views
Skip to first unread message

Dror Dotan

unread,
May 11, 2017, 4:40:32 PM5/11/17
to expyriment-users
Hi

I try running Expyriment under Python 3, in window mode:
xpy.control.defaults.window_mode = True

In this combination, the program starts but no window is opened.
In full screen mode it works fine under python 3; also, window mode works fine under python 2.7.

Anyone knows this problem?

I'm using python 3.6.0 on macintosh

Thanks
Dror

Florian Krause

unread,
May 11, 2017, 6:35:08 PM5/11/17
to expyrime...@googlegroups.com
Hi Dror,

that is very strange. For me (same OS, same Python version) it works fine. Which Python distribution are you using? (I use the one from homebrew). Can you maybe give me the results of expyriment.misc.get_system_info()?

Best,
Florian


--
You received this message because you are subscribed to the Google Groups "expyriment-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to expyriment-users+unsubscribe@googlegroups.com.
To post to this group, send email to expyriment-users@googlegroups.com.
Visit this group at https://groups.google.com/group/expyriment-users.
For more options, visit https://groups.google.com/d/optout.



--
Florian Krause (Developer)
www.expyriment.org
xpy_windowmode_python3.png

Dror Dotan

unread,
May 12, 2017, 5:26:17 AM5/12/17
to expyriment-users, flo...@expyriment.org
Hi Florian, Thanks for the quick reply!

I installed python 3.6 via anaconda.

It's not extremely urgent for me - anyway I'm using Python 2.7 most of the time. But in case you want to look deeper into it and this helps, let me know what's needed (you can also email me and I can let you connect to my computer via TeamViewer).

Thanks!
Dror

Output of get_system_info attached:


In [2]: expyriment.misc.get_system_info()

Out[2]: 

{'hardware_audio_card': '',

 'hardware_cpu_architecture': 'x86_64',

 'hardware_cpu_details': '',

 'hardware_cpu_type': 'i386',

 'hardware_disk_space_free': '192828 MB',

 'hardware_disk_space_total': '456688 MB',

 'hardware_internet_connection': 'Yes',

 'hardware_memory_free': '',

 'hardware_memory_total': '',

 'hardware_ports_parallel': [],

 'hardware_ports_parallel_driver': None,

 'hardware_ports_serial': [],

 'hardware_video_card': '',

 'os_architecture': '64bit',

 'os_details': '',

 'os_name': 'Mac OS X',

 'os_platform': 'Darwin',

 'os_release': '15.6.0',

 'os_version': '10.11.6',

 'python_expyriment_build_date': 'Thu Mar 9 13:48:59 2017 +0100',

 'python_expyriment_revision': 'c4963ac',

 'python_expyriment_version': '0.9.0',

 'python_mediadecoder_version': '',

 'python_numpy_version': '1.11.3',

 'python_pil_version': '1.1.7',

 'python_pygame_version': '1.9.3',

 'python_pyopengl_version': '3.1.0',

 'python_pyparallel_version': '',

 'python_pyserial_version': '',

 'python_sounddevice_version': '',

 'python_version': '3.6.0',

 'settings_folder': None}





On Friday, May 12, 2017 at 1:35:08 AM UTC+3, Florian Krause wrote:
Hi Dror,

that is very strange. For me (same OS, same Python version) it works fine. Which Python distribution are you using? (I use the one from homebrew). Can you maybe give me the results of expyriment.misc.get_system_info()?

Best,
Florian

On Thu, May 11, 2017 at 10:40 PM, Dror Dotan <dror....@gmail.com> wrote:
Hi

I try running Expyriment under Python 3, in window mode:
xpy.control.defaults.window_mode = True

In this combination, the program starts but no window is opened.
In full screen mode it works fine under python 3; also, window mode works fine under python 2.7.

Anyone knows this problem?

I'm using python 3.6.0 on macintosh

Thanks
Dror

--
You received this message because you are subscribed to the Google Groups "expyriment-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to expyriment-use...@googlegroups.com.
To post to this group, send email to expyrime...@googlegroups.com.

O. Lindemann

unread,
May 12, 2017, 2:16:37 PM5/12/17
to expyrime...@googlegroups.com
Does is also happen, if you use the develop mode?
    xpy.control.set_develop_mode(1)
    xpy.control.initialize()
    xpy.control.start()

Oliver
-- You received this message because you are subscribed to the Google Groups "expyriment-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to expyriment-use...@googlegroups.com. To post to this group, send email to expyrime...@googlegroups.com. Visit this group at https://groups.google.com/group/expyriment-users. For more options, visit https://groups.google.com/d/optout.

Dror Dotan

unread,
May 12, 2017, 5:28:01 PM5/12/17
to expyriment-users
yes. Same problem in develop mode.


On Friday, May 12, 2017 at 9:16:37 PM UTC+3, Oliver Lindemann wrote:
Does is also happen, if you use the develop mode?
    xpy.control.set_develop_mode(1)
    xpy.control.initialize()
    xpy.control.start()

Oliver



On 12-05-17 00:35, Florian Krause wrote:
Hi Dror,

that is very strange. For me (same OS, same Python version) it works fine. Which Python distribution are you using? (I use the one from homebrew). Can you maybe give me the results of expyriment.misc.get_system_info()?

Best,
Florian

On Thu, May 11, 2017 at 10:40 PM, Dror Dotan <dror....@gmail.com> wrote:
Hi

I try running Expyriment under Python 3, in window mode:
xpy.control.defaults.window_mode = True
In this combination, the program starts but no window is opened.
In full screen mode it works fine under python 3; also, window mode works fine under python 2.7.
Anyone knows this problem?
I'm using python 3.6.0 on macintosh
Thanks
Dror
-- You received this message because you are subscribed to the Google Groups "expyriment-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to expyriment-use...@googlegroups.com. To post to this group, send email to expyrime...@googlegroups.com. Visit this group at https://groups.google.com/group/expyriment-users. For more options, visit https://groups.google.com/d/optout.
--
Florian Krause (Developer) www.expyriment.org

O. Lindemann

unread,
May 16, 2017, 1:37:18 PM5/16/17
to expyrime...@googlegroups.com
Very strange. Unfortunately, I don't have MAC and can't reproduce the error. Maybe Florian can?

Oliver

Florian Krause

unread,
May 16, 2017, 4:08:42 PM5/16/17
to expyrime...@googlegroups.com
No I cannot replicate it. For me it works. Does the problem also occur if you install Expyriment as described in the documentation? Maybe this is one more thing to check.


-- You received this message because you are subscribed to the Google Groups "expyriment-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to expyriment-users+unsubscribe@googlegroups.com. To post to this group, send email to expyriment-users@googlegroups.com. Visit this group at https://groups.google.com/group/expyriment-users. For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "expyriment-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to expyriment-users+unsubscribe@googlegroups.com.
To post to this group, send email to expyriment-users@googlegroups.com.



--
www.fladd.de - Homepage of Florian Krause

Dror Dotan

unread,
May 19, 2017, 5:23:55 PM5/19/17
to expyriment-users
Yes, I installed Expyriment as described.

Florian Krause

unread,
May 19, 2017, 6:21:08 PM5/19/17
to expyrime...@googlegroups.com
That is really puzzling to me, especially since it works correctly with Python 2. Then again, yesterday I have seen a MacBook on which the whole Expyriment fullscreen content was shifted slightly to the upper right, instead of being centered... Unfortunately I cannot reproduce either issue on my MacBook. So while I would very much like to help, I have no way to debug this here it seems. If you happen to come across another machine with the same issue, then we might be able to find what they both have in common.

To unsubscribe from this group and stop receiving emails from it, send an email to expyriment-users+unsubscribe@googlegroups.com.
To post to this group, send email to expyriment-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages