JakubKoralewski / cursor-recorder

Records mouse movement to a file. Use with OBS Studio as an external Python script or using the standalone Python script. Use the After Effects script to import the generated cursor movement data.
https://obsproject.com/forum/resources/obs-cursor-recorder.789/
Mozilla Public License 2.0
16 stars 0 forks source link

File "<fstring>", line 1 (name=) ^SyntaxError: invalid syntax #18

Closed nicolasdupouymanescau closed 6 months ago

nicolasdupouymanescau commented 6 months ago

[cursor_recorder_for_obs.py] File "<fstring>", line 1 [cursor_recorder_for_obs.py] (name=) [cursor_recorder_for_obs.py] ^ [cursor_recorder_for_obs.py] SyntaxError: invalid syntax

log from the latest version (the one that is 22.626 Ko), also I see no UI and no description 😢 image

nicolasdupouymanescau commented 6 months ago

I am talking about the #17 , since the code hasn't been merged into master, I leave this issue close. If it makes sense.

JakubKoralewski commented 6 months ago

It's fine to leave it open, if it happens for you it's a valid issue. What python version have you set in OBS settings? I believe fstrings are available since 3.6

JakubKoralewski commented 6 months ago

The feature I used actually requires 3.8+ :/ https://stackoverflow.com/a/59661963

I'll remove that line, I think it was just for debugging.