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
Short prompts work well, but with a longer prompt such as:
"When designing long-span road bridges to dynamic loads such as wind or waves, it might be relevant to establish design limits on the vertical and horizontal accelerations of the bridge, to keep traffic safe under a typical 1-year return period storm. Help me find several references of key bridges where such acceleration limits have been established in the design stage, whether in terms of RMS or 1-hour extreme values. It needs to be road bridges, not pedestrian nor rail."
I get:
File "C:\Users\user\PycharmProjects\gpt-researcher\backend\server\server_utils.py", line 28, in init
with open(self.log_file, 'w') as f:
^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'outputs\task_1739276129_When designing long-span road bridges to dynamic loads such as wind or waves it might be relevant to establish design limits on the vertical and horizontal accelerations of the bridge to keep traffic safe under a t.json'
INFO: connection closed
My guess of the problem is that it seems that it tries to create a .json file with the full prompt in the file name, which my Windows won't allow.
The text was updated successfully, but these errors were encountered:
costabm
changed the title
Long prompts give Exception
Long prompts give FileNotFoundError
Feb 11, 2025
Short prompts work well, but with a longer prompt such as:
"When designing long-span road bridges to dynamic loads such as wind or waves, it might be relevant to establish design limits on the vertical and horizontal accelerations of the bridge, to keep traffic safe under a typical 1-year return period storm. Help me find several references of key bridges where such acceleration limits have been established in the design stage, whether in terms of RMS or 1-hour extreme values. It needs to be road bridges, not pedestrian nor rail."
I get:
File "C:\Users\user\PycharmProjects\gpt-researcher\backend\server\server_utils.py", line 28, in init
with open(self.log_file, 'w') as f:
^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'outputs\task_1739276129_When designing long-span road bridges to dynamic loads such as wind or waves it might be relevant to establish design limits on the vertical and horizontal accelerations of the bridge to keep traffic safe under a t.json'
INFO: connection closed
My guess of the problem is that it seems that it tries to create a .json file with the full prompt in the file name, which my Windows won't allow.
The text was updated successfully, but these errors were encountered: