Skip to content

[Bug]: Cannot open file in PsychoPy Coder #6935

@CyrusYu812

Description

@CyrusYu812

PsychoPy Version

Python 3.13.0

What OS are your PsychoPy running on?

macOS Intel

Bug Description

When I was trying to open file in Psychopy Coder, a window popped up and showed me the traceback:

It said that "Psychopy encountered an unhandled internal error! please send the report under "details" to developers with a description of what you were doing with the software when the error occured"

The Details are:
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/coder.py”, line 2376, in fileOpen
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/coder.py”, line 2326, in setCurrentDoc
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/fileBrowser.py”, line 668, in gotoDir
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/fileBrowser.py”, line 633, in updateFileBrowser
AttributeError: ‘AuiFloatingFrame’ object has no attribute ‘filename’

The code can run smoothly on other PCs with MacOS system, but crashed on this one.

Expected Behaviour

If everything is going well, I should successfully open the experiment file in the PsychoPy Coder window and then run the experiment.

Steps to Reproduce

  1. Open the PsychoPy and the PsychoPy Coder
  2. Click on the "file" icon to open the file
  3. The window that shows error would pop up, as described in the Bug Description setion.
    ...

Additional context

No response

Metadata

Metadata

Assignees

Labels

🐞 bugIssue describes a bug (crash or error) or undefined behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions