Open kellyzxiaowei opened 1 month ago
@kellyzxiaowei I just made fix. Can you try again.
@kellyzxiaowei I just made fix. Can you try again.
(venv) zxw@VdeMacBook-Pro gpt-computer-assistant % computerassistant Profile: None [02:14:06] Upsonic active on_prem.py:130 Error: Remote is down Traceback (most recent call last): File "/Users/zxw/AITOOL/gpt-computer-assistant/venv/lib/python3.11/site-packages/upsonic/remote/on_prem.py", line 1422, in langchain the_tool = tool(the_function) ^^^^^^^^^^^^^^^^^^ File "/Users/zxw/AITOOL/gpt-computer-assistant/venv/lib/python3.11/site-packages/langchain_core/tools.py", line 960, in tool return _make_with_name(args[0].name)(args[0]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/zxw/AITOOL/gpt-computer-assistant/venv/lib/python3.11/site-packages/langchain_core/tools.py", line 925, in _make_tool return StructuredTool.from_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/zxw/AITOOL/gpt-computer-assistant/venv/lib/python3.11/site-packages/langchain_core/tools.py", line 836, in fromfunction description = textwrap.dedent(description_).strip() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/textwrap.py", line 435, in dedent text = _whitespace_only_re.sub('', text) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: expected string or bytes-like object, got 'list'
Traceback (most recent call last):
File "/Users/zxw/AITOOL/gpt-computer-assistant/venv/bin/computerassistant", line 8, in
Can not working.
Hi are you working with intel macos?
Looking at it, it seems to fail when importing Rubicon objective-C for PyAutoGUI. The code it is failing on is architecture specific, and it only works on 32-bit or ARM processors. You can check the architecture in the place shown below.
Apple M1 and M2 work well, and so do intel x86. However, if you have an intel x64, this is likely an error with rubicon not correctly identifying architecture.
Looking at it, it seems to fail when importing Rubicon objective-C for PyAutoGUI. The code it is failing on is architecture specific, and it only works on 32-bit or ARM processors. You can check the architecture in the place shown below.
Apple M1 and M2 work well, and so do intel x86. However, if you have an intel x64, this is likely an error with rubicon not correctly identifying architecture.
Oh thanks for detailed explaination. Do you know any solution for this or writing another gui for intel macos?
I would say the only alternative I know is to replace the use of pyautogui for mac environments with an Objective-C bridge and do things manually. There may be a little bit of a learning curve, but I suggest pyobjc because it is native to MacOS, and can be used to do much of the same things when paired with Quartz.
Okey, we will work on it.
Hi, can you share a screen shot. Actualy i know there is some problems caused by pyqt5 but it can be fixed.