taltimes2
taltimes2
SSolara
Created by taltimes2 on 7/18/2023 in #general
I m trying to run Solara as Embedding in
The funny thing is that /solara/readyz works
8 replies
SSolara
Created by taltimes2 on 7/18/2023 in #general
I m trying to run Solara as Embedding in
this happens on fastapi as well 😦
8 replies
SSolara
Created by taltimes2 on 7/18/2023 in #general
I m trying to run Solara as Embedding in
8 replies
SSolara
Created by taltimes2 on 7/18/2023 in #general
I m trying to run Solara as Embedding in
Works locally btw - just not on the server...
8 replies
SSolara
Created by taltimes2 on 7/18/2023 in #general
I m trying to run Solara as Embedding in
so do I need to do something with the routing? Because in the solara in starlette example, when I browse to /solara I get a 404 not found
8 replies
SSolara
Created by taltimes2 on 7/18/2023 in #general
I m trying to run Solara as Embedding in
8 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
  File "/var/task/solara/server/settings.py", line 172, in <module>     with FileLock(str(server_user_id_file) + ".lock"):
39 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
2023-07-18T15:06:59.259+00:00 [ERROR] OSError: [Errno 30] Read-only file system: '/var/task/server_user_id.txt.lock'
39 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
?
39 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
Doesn't this crash for you: with FileLock(str(server_user_id_file) + ".lock"): (line 172 in settings.py)
39 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
I'm not afraid of exceptions - they are informative and the backtrace tells you a lot of the information you need to debug them. except Exception catches even syntax mistakes (!) I would just have used except (OSError, PermissionError) as e and the worst thing that can happen is that you learn about another type of exception in some other system. It's a single line, but it's still Python and a lot of things can go wrong. What if there's no proxy_cache_dir in assets? What if mkdir on some system need different parameters?
39 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
testing now
39 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
sure, but the way to catch them is by NOT specifying them until they happen...
39 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
do I still need to set an environment variable?
39 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
except Exception as e: ? 🥲
39 replies
SSolara
Created by taltimes2 on 7/17/2023 in #general
Aren't all these the responsibility of the browser to fetch stuff from the CDN?
Can you please let us know when you push the fix?
39 replies