Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supabase not working in gradio python space #31172

Open
UNNAMMEDUSER opened this issue Dec 16, 2024 · 1 comment
Open

Supabase not working in gradio python space #31172

UNNAMMEDUSER opened this issue Dec 16, 2024 · 1 comment
Labels
bug Something isn't working external-issue to-triage

Comments

@UNNAMMEDUSER
Copy link

UNNAMMEDUSER commented Dec 16, 2024

Supabase not working in gradio python space in Hugging face

Error log:

Exit code: 1. Reason: Traceback (most recent call last):
  File "/home/user/app/app.py", line 9, in <module>
    create_client(supabase_key=key, supabase_url=url)
  File "/usr/local/lib/python3.10/site-packages/supabase/_sync/client.py", line 335, in create_client
    return SyncClient.create(
  File "/usr/local/lib/python3.10/site-packages/supabase/_sync/client.py", line 102, in create
    client = cls(supabase_url, supabase_key, options)
  File "/usr/local/lib/python3.10/site-packages/supabase/_sync/client.py", line 58, in __init__
    raise SupabaseException("Invalid URL")
supabase._sync.client.SupabaseException: Invalid URL
===== Application Startup at 2024-12-16 17:28:42 =====

Traceback (most recent call last):
  File "/home/user/app/app.py", line 9, in <module>
    create_client(supabase_key=key, supabase_url=url)
  File "/usr/local/lib/python3.10/site-packages/supabase/_sync/client.py", line 335, in create_client
    return SyncClient.create(
  File "/usr/local/lib/python3.10/site-packages/supabase/_sync/client.py", line 102, in create
    client = cls(supabase_url, supabase_key, options)
  File "/usr/local/lib/python3.10/site-packages/supabase/_sync/client.py", line 58, in __init__
    raise SupabaseException("Invalid URL")
supabase._sync.client.SupabaseException: Invalid URL
Traceback (most recent call last):
  File "/home/user/app/app.py", line 9, in <module>
    create_client(supabase_key=key, supabase_url=url)
  File "/usr/local/lib/python3.10/site-packages/supabase/_sync/client.py", line 335, in create_client
    return SyncClient.create(
  File "/usr/local/lib/python3.10/site-packages/supabase/_sync/client.py", line 102, in create
    client = cls(supabase_url, supabase_key, options)
  File "/usr/local/lib/python3.10/site-packages/supabase/_sync/client.py", line 58, in __init__
    raise SupabaseException("Invalid URL")
supabase._sync.client.SupabaseException: Invalid URL
@UNNAMMEDUSER UNNAMMEDUSER added the bug Something isn't working label Dec 16, 2024
@loganpearce17
Copy link

loganpearce17 commented Dec 24, 2024

Hi, I'm having the same issue and I would really like it to be resolved! According to the docs, Gradio supports Supabase (https://www.gradio.app/guides/creating-a-dashboard-from-supabase-data), so I used Supabase for my backend and I really need it to work. Thanks in advance!

ETA: actually, I'm getting this error when I try "import supabase": gradio ModuleNotFoundError: No module named 'supabase'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external-issue to-triage
Projects
None yet
Development

No branches or pull requests

2 participants