File: unicodeError.rst

package info (click to toggle)
psychopy 2023.2.4%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 124,456 kB
  • sloc: python: 126,213; javascript: 11,982; makefile: 152; sh: 120; xml: 9
file content (11 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
.. _unicodeError:

I'm getting the error message AttributeError: 'unicode object has no attribute 'XXXX'
-------------------------------------------------------------------------------------

-	This type of error is usually caused by a naming conflict. Whilst we have made every attempt to make sure that these conflicts produce a warning message it is possible that they may still occur.
-	The most common source of naming conflicts in an external file which has been imported to be used in a loop i.e. .xlsx, .csv. 
-	Check to make sure that all of the variable names are unique. There can be no repeated variable names anywhere in your experiment.