You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in cocos\audio\SDL\timer.py,
Line 145: raise SDL.error.SDL_Exception(SDL.error.SDL_GetError())
It uses the SDL module.
But the SDL module is not imported in the file.
For me, simply adding import cocos.audio.SDL as SDL at the beginning of the file solves the problem.
The text was updated successfully, but these errors were encountered:
in
cocos\audio\SDL\timer.py
,Line 145:
raise SDL.error.SDL_Exception(SDL.error.SDL_GetError())
It uses the SDL module.
But the SDL module is not imported in the file.
For me, simply adding
import cocos.audio.SDL as SDL
at the beginning of the file solves the problem.The text was updated successfully, but these errors were encountered: