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

Fail to import pupil size data (.asc) #459

Closed
kirkzmr opened this issue Feb 6, 2023 · 3 comments · Fixed by #466
Closed

Fail to import pupil size data (.asc) #459

kirkzmr opened this issue Feb 6, 2023 · 3 comments · Fixed by #466

Comments

@kirkzmr
Copy link

kirkzmr commented Feb 6, 2023

Summary

I failed to import the data converted from .edf file using data viewer. The setting in pspm was: data column type = marker; eyetracker distance = -1; distance unit = mm. When running pspm, matlab gave the following error messages:


06-Feb-2023 15:38:31 - Running 'Import'
06-Feb-2023 15:38:32 - Failed 'Import'
Error using datetime
Unable to convert ' Tue May 24 07:35:49 2022' to datetime using the format 'eee MMM d HH:mm:ss yyyy'. If the date/time text contains day, month, or time zone names in a language foreign to the 'zh_CN' locale, those might not be recognized. You can specify a different locale using the 'Locale' parameter.
In file "C:\Program Files\MATLAB\R2022b\toolbox\matlab\datatypes\datetime@datetime\datetime.m" (???), function "datetime.datetime" at line 658.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\Import\eyelink\import_eyelink.m" (???), function "parse_metadata" at line 189.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\Import\eyelink\import_eyelink.m" (???), function "parse_eyelink_file" at line 128.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\Import\eyelink\import_eyelink.m" (???), function "import_eyelink" at line 46.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\pspm_get_eyelink.m" (???), function "pspm_get_eyelink" at line 58.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\pspm_import.m" (???), function "pspm_import" at line 224.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\pspm_cfg\pspm_cfg_run_import.m" (???), function "pspm_cfg_run_import" at line 117.

The following modules did not run:
Failed: Import
If the problem can be fixed without modifying the job, the computation can be resumed by running
cfg_util('cont',1)
from the MATLAB command line.

Technical Info

  • PsPM version: 6.0.0
  • MATLAB version: R2022b
@teddychao
Copy link
Contributor

Hi,
Thanks for posting the issue here.
Could you please upload the sample data which leads to the error described above so that we can replicate and investigate the issue?
Best wishes
Teddy

@kirkzmr
Copy link
Author

kirkzmr commented Feb 8, 2023

Hi Teddy,
Thank you for your reply. I only have the experiment's data and not unable to share with you. Apologize for that. I changed to system language to English and 'datetime' issue has been solved. However, new problem occured. Could we have a zoom meeting if possible. I would much appreciate for your time. My email is [email protected].

Best,
Kirk

Error message:

08-Feb-2023 17:49:46 - Running job #1

08-Feb-2023 17:49:46 - Running 'Import'
08-Feb-2023 17:49:46 - Failed 'Import'
Output argument "index" (and possibly others) not assigned a value in the execution with "bsearch" function.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\Import\eyelink\import_eyelink.m" (???), function "parse_messages" at line 281.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\Import\eyelink\import_eyelink.m" (???), function "import_eyelink" at line 49.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\pspm_get_eyelink.m" (???), function "pspm_get_eyelink" at line 58.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\pspm_import.m" (???), function "pspm_import" at line 224.
In file "C:\Program Files\MATLAB\R2022b\PsPM_v6.0\pspm_cfg\pspm_cfg_run_import.m" (???), function "pspm_cfg_run_import" at line 117.

The following modules did not run:
Failed: Import
If the problem can be fixed without modifying the job, the computation can be resumed by running
cfg_util('cont',1)
from the MATLAB command line.

@teddychao
Copy link
Contributor

Hi @kirkzmr
Thank you for the new updates for the issue.
Another user has proposed a similar issue to this problem and perhaps they are caused by the same bug/mistake in the code. Since we are now able to get the sample file, perhaps the most efficient way is I can investigate it first and let you know the solution so you can test whether your issue can be solved at the same time.
Sounds ok?
Thanks.
Best wishes
Teddy

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

Successfully merging a pull request may close this issue.

2 participants