Replies: 4 comments 7 replies
-
Kindly reclone the repository, it will be fixed |
Beta Was this translation helpful? Give feedback.
3 replies
-
Kindly paste this, and let me know if it works:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks, will soon update pro with this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was able to successfully run a prior version of this software. After downloading the latest and installing/updating all the dependencies I am running into the following issue:
Starting frontend server at http://localhost:3000/
Bottle v0.12.25 server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8000/
Hit Ctrl-C to quit.
127.0.0.1 - - [13/Jun/2024 14:40:24] "GET /api/ui/config HTTP/1.1" 200 293718
127.0.0.1 - - [13/Jun/2024 14:40:25] "GET /api/ui/config HTTP/1.1" 200 293718
Traceback (most recent call last):
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\bottle.py", line 876, in _handle
return route.call(**args)
^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\bottle.py", line 1759, in wrapper
rv = callback(*a, **ka)
^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\task_routes.py", line 333, in submit_async_task
result = create_async_task(validate_task_request(request.json))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\task_routes.py", line 130, in validate_task_request
controls = Server.get_controls(scraper_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\server.py", line 99, in
get_controls
self.update_cache(scraper_name)
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\server.py", line 114, in update_cache
"controls": self.create_controls(input_js),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\server.py", line 96, in create_controls
return ControlsAdapter.createControls(input_js)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\controls_adapter.py", line 16, in createControls
return get_botasaurus_controls().createControls(input_js, timeout=300)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\proxy.py", line 218, in call
else self._exe.callProp(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\proxy.py", line 158, in callProp
resp = self.pcall(ffid, "call", method, args, timeout=timeout, forceRefs=forceRefs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\proxy.py", line 146, in pcall
raise JavaScriptError(attr, res["error"])
javascript_fixes.errors.JavaScriptError: ('createControls', 'TypeError: section.select(...).text(...).numberGreaterThanOrEqualToOne is not a function\n at eval (eval at createControls (C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\js\node_modules\botasaurus-controls\dist\index.js:1:21779), :32:18)\n at Controls.section (C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\js\node_modules\botasaurus-controls\dist\index.js:1:16723)\n at getInput (eval at createControls (C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\js\node_modules\botasaurus-controls\dist\index.js:1:21779), :22:10)\n at eval (eval at createControls (C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\js\node_modules\botasaurus-controls\dist\index.js:1:21779), :86:9)\n at Object.createControls (C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\js\node_modules\botasaurus-controls\dist\index.js:1:21837)\n at Bridge.call (C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\js\bridge.js:136:42)\n at Bridge.onMessage (C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\js\bridge.js:231:25)\n at Socket. (C:\Users\name\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript_fixes\js\bridge.js:288:18)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)')
127.0.0.1 - - [13/Jun/2024 14:40:28] "POST /api/tasks/create-task-async HTTP/1.1" 500 768
Beta Was this translation helpful? Give feedback.
All reactions