developer icon indicating copy to clipboard operation
developer copied to clipboard

SyntaxError: invalid decimal literal

Open hawkmax opened this issue 1 year ago • 4 comments

I keep running into this error. Any Idea what this means ?

Traceback (most recent call last): File "C:\Users\User\Desktop\developer\main_no_modal.py", line 244, in main(prompt, directory, file) File "C:\Users\User\Desktop\developer\main_no_modal.py", line 141, in main list_actual = ast.literal_eval(filepaths_string) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\ast.py", line 64, in literal_eval node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\ast.py", line 50, in parse return compile(source, filename, mode, flags, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 18 - /database/migrations/2021_01_01_create_users_table.php ^ SyntaxError: invalid decimal literal

hawkmax avatar May 26 '23 11:05 hawkmax

I have tried running this with Modal as well.

hawkmax avatar May 26 '23 11:05 hawkmax

Getting the same results.

stagsz avatar May 27 '23 20:05 stagsz

sorry about that - this is the api returning non json. its a prompt issue. we will improve this

swyxio avatar May 30 '23 01:05 swyxio

How to reproduce this issue? May be I can help.

Smit-Parmar avatar May 30 '23 09:05 Smit-Parmar