FastHTML Deployments Failing

Trying out FastHTML template deployment. I was successfully able to deploy FastHTML experimental template couple of days ago.
Today, I am getting following error.
Even the Offical FastHTML template has same error.

[ERROR] ValueError: not enough values to unpack (expected 3, got 0)
Traceback (most recent call last):
File “/var/lang/lib/python3.12/importlib/init.py”, line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1387, in _gcd_import
File “”, line 1360, in _find_and_load
File “”, line 1331, in _find_and_load_unlocked
File “”, line 935, in _load_unlocked
File “”, line 995, in exec_module
File “”, line 488, in _call_with_frames_removed
File “/var/task/vc__handler__python.py”, line 13, in
__vc_spec.loader.exec_module(__vc_module)
File “”, line 995, in exec_module
File “”, line 488, in _call_with_frames_removed
File “/var/task/main.py”, line 1, in
from fasthtml.common import *
File “/var/task/fasthtml/init.py”, line 2, in
from .core import *
File “/var/task/fasthtml/core.py”, line 14, in
from .xtend import *
File “/var/task/fasthtml/xtend.py”, line 22, in
picolink = (Link(rel=“stylesheet”, href=picocss),
File “/var/task/fasthtml/components.py”, line 53, in ft_hx
return ft_html(tag, *c, **kwargs)
File “/var/task/fasthtml/components.py”, line 45, in ft_html
tag,c,kw = ft(tag, *c, **kwargs)Child exited with error exit status 1INIT_REPORT Init Duration: 744.03 ms Phase: invoke Status: error Error Type: Runtime.Unknown

Hi, and welcome @meera1!

Thanks for reporting, I could reproduce. I’ve shared it internally with the team and will report back!

If you manage to find any workarounds or a fix yourself, we’d love to hear it. :smiley:

Found out what was wrong.
FastHTML version needs updating.

python-fasthtml==0.4.4

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.