EniasCailliau / GirlfriendGPT

Girlfriend GPT is a Python project to build your own AI girlfriend using ChatGPT4.0
https://gptgirlfriend.online
2.58k stars 435 forks source link

Ship Deploy no longer working D: #61

Closed sashimirolls closed 1 year ago

sashimirolls commented 1 year ago

Done. 📦 Deploying version 9.9 of [luna-sample]... 🚢 It looks like that version [9.9] has already been deployed. Would you like to change the version handle and try again? [Y/n]: y What should the new version be? Valid characters are a-z, 0-9, . and - [1.0.0]: 10 Deploying version 10 of [luna-sample]... 🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢 Unable to deploy package version. Server returned message: There was an error loading the main file (it must be named api.py): Traceback (most recent call last): File "/var/task/steamship/invocable/lambda_handler.py", line 301, in safely_find_invocable_class module = importlib.import_module("api") File "/var/lang/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 843, in exec_module File "", line 219, in _call_with_frames_removed File "/var/task/api.py", line 30, in client = Steamship() File "/var/task/steamship/client/steamship.py", line 59, in init super().init( File "/var/task/steamship/base/client.py", line 84, in init config = config or Configuration( File "/var/task/steamship/base/configuration.py", line 71, in init api_key = login( File "/var/task/steamship/cli/login.py", line 38, in login raise SteamshipError( steamship.base.error.SteamshipError: Could not launch browser to log in to Steamship.

If you are in Replit:

1) Get an API key at https://steamship.com/account/api 2) Set the STEAMSHIP_API_KEY Replit Secret 3) Close and reopen this shell so that secrets refresh

If you are in a different headless environment, visit https://docs.steamship.com/configuration/authentication.html Aborted!

EniasCailliau commented 1 year ago

Hi could you tell me more about the environment you're running in?

joshuaclausen commented 1 year ago

Using Replit in the same way as @sashimirolls

I get the same thing when trying to follow the example in this YouTube video: https://www.youtube.com/watch?v=ShPjYHw_K-U