-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from vvincent1234/fix/win_font_error
hotfix font error and stream error
- Loading branch information
Showing
2 changed files
with
38 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
browser-use==0.1.18 | ||
browser-use==0.1.19 | ||
langchain-google-genai==2.0.8 | ||
pyperclip==1.9.0 | ||
gradio==5.9.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2654e6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still error occured about font
browser-use-webui-1 | 2025-01-16 02:36:09,784 DEBG 'webui' stderr output:
browser-use-webui-1 | File "/app/src/agent/custom_agent.py", line 307, in create_history_gif
browser-use-webui-1 | task_frame = self._create_task_frame(
browser-use-webui-1 | ^^^^^^^^^^^^^^^^^^^^^^^^
browser-use-webui-1 | File "/usr/local/lib/python3.11/site-packages/browser_use/agent/service.py", line 713, in _create_task_frame
browser-use-webui-1 | larger_font = ImageFont.truetype(
browser-use-webui-1 | ^^^^^^^^^^^^^^^^^^^
browser-use-webui-1 | File "/usr/local/lib/python3.11/site-packages/PIL/ImageFont.py", line 879, in truetype
browser-use-webui-1 | return freetype(font)
browser-use-webui-1 | ^^^^^^^^^^^^^^
browser-use-webui-1 | File "/usr/local/lib/python3.11/site-packages/PIL/ImageFont.py", line 876, in freetype
browser-use-webui-1 | return FreeTypeFont(font, size, index, encoding, layout_engine)
browser-use-webui-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
browser-use-webui-1 | File "/usr/local/lib/python3.11/site-packages/PIL/ImageFont.py", line 288, in init
browser-use-webui-1 | load_from_bytes(cast(IO[bytes], font))
browser-use-webui-1 | File "/usr/local/lib/python3.11/site-packages/PIL/ImageFont.py", line 268, in load_from_bytes
browser-use-webui-1 | self.font = core.getfont(
browser-use-webui-1 | ^^^^^^^^^^^^^
browser-use-webui-1 | OSError: cannot open resource