brython.min.js:1 Traceback (most recent call last):
File "#script_a26631d1b5fe46cdbd52e07652afda4c", line 2, in <module>
from heavy_resume_brython.animations import attach_carousal
ImportError: heavy_resume_brython.animations. Did you mean: 'undefined'?
----- different attempt ------
brython.min.js:1 Traceback (most recent call last):
File "#script_12ed66cd94ea418cbabedd4e32c191da", line 13, in <module>
result = attach_fading_text_marquee(sig_com, **kwargs)
File "VFS.reactpy_bridge.py", line 18, in wrapper
return result
File "VFS.heavy_resume_brython.animations.py", line 43, in attach_fading_text_marquee
aio.run(fading_text_marquee(js_id,texts,duration_ms,fade_duration_ms))
File "#script_60466087b3eb41d199be03f752bf55fc", line 13, in <module>
result = attach_carousal(sig_com, **kwargs)
File "VFS.reactpy_bridge.py", line 18, in wrapper
return result
File "VFS.heavy_resume_brython.animations.py", line 295, in start_autoscroll
return
File "#script_c6b964e1b4504a13b4f94b11c0dbbdf4", line 2, in <module>
from heavy_stack_brython.scrolling import scroll_to_top
ImportError: heavy_stack_brython.scrolling. Did you mean: 'undefined'?
For reasons that are not clear to me, I cannot reliably reproduce it, suggesting it is a race condition. This was first brought to my attention when I couldn't log in on my phone all of a sudden. I tried the help link, which has a Brython based carousal in it, and recognized that it wasn't loading either.
On my computer, things ran fine, but then I noticed after disabling cache that I was getting an import error like the one above.
I rebuilt the image and it seemed to resolve the issue, except later I'm seeing the same problem with the same image.
I can quasi reproduce the issue by going into chrome. It (mostly?) seems to happen on the phone setting, or a real phone, for whatever reason.
Maybe try these steps:
- Navigate to https://heavyresume.com/login - if the google login button doesn't load, then the issue already happened
- If not, then press the "?" button and go to "The Interactive Resume"
- If the carasoul at the top doesn't load, then you have reproduced the issue. You should see the errors in the console.
The way the site uses Brython is that scripts are sent using an executor over a websocket. These scripts may include imports. It's essentially a <script> tag that imports a function then executes it.
Using Chrome 140.0.7339.128 and updating to 140.0.7339.186 did not resolve the issue
I believe this is 3.13.2
For reasons that are not clear to me, I cannot reliably reproduce it, suggesting it is a race condition. This was first brought to my attention when I couldn't log in on my phone all of a sudden. I tried the help link, which has a Brython based carousal in it, and recognized that it wasn't loading either.
On my computer, things ran fine, but then I noticed after disabling cache that I was getting an import error like the one above.
I rebuilt the image and it seemed to resolve the issue, except later I'm seeing the same problem with the same image.
I can quasi reproduce the issue by going into chrome. It (mostly?) seems to happen on the phone setting, or a real phone, for whatever reason.
Maybe try these steps:
The way the site uses Brython is that scripts are sent using an executor over a websocket. These scripts may include imports. It's essentially a
<script>tag that imports a function then executes it.Using Chrome 140.0.7339.128 and updating to 140.0.7339.186 did not resolve the issue
I believe this is 3.13.2