screenshot-to-code icon indicating copy to clipboard operation
screenshot-to-code copied to clipboard

can't generate code error

Open WethersPulseMedia opened this issue 1 year ago • 6 comments

finally got everything installed and my openai and anthropic keys added but get an error when I upload a 30 sec video. localhost shows everything is fine as well... image image

WethersPulseMedia avatar Aug 05 '24 22:08 WethersPulseMedia

this is the error log image

WethersPulseMedia avatar Aug 05 '24 22:08 WethersPulseMedia

also just noting i can clone pictures. just not video...

WethersPulseMedia avatar Aug 05 '24 22:08 WethersPulseMedia

Could you try with a shorter video?

abi avatar Aug 06 '24 01:08 abi

i tried 10 seconds and same thing. tried to compress file too

WethersPulseMedia avatar Aug 06 '24 04:08 WethersPulseMedia

it says permission denied any idea? image

WethersPulseMedia avatar Aug 06 '24 04:08 WethersPulseMedia

Yes, I think this is related to https://github.com/abi/screenshot-to-code/issues/311 It's a bug we need to fix. If you're a coder, you can try putting the processed files in a directory other than what TempFile puts it in and that should solve the problem.

I don't have an immediate fix for this issue.

abi avatar Aug 06 '24 14:08 abi