Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行错误 #4

Closed
liuwqq opened this issue Jan 10, 2025 · 5 comments
Closed

运行错误 #4

liuwqq opened this issue Jan 10, 2025 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@liuwqq
Copy link

liuwqq commented Jan 10, 2025

当前系统环境

win10

当前版本

V1.0.3

具体信息

2025-01-10 20:59:15,477 - INFO - 开始退出Cursor...
2025-01-10 20:59:15,488 - INFO - 未发现运行中的 Cursor 进程
2025-01-10 21:06:15,421 - INFO - 开始退出Cursor...
2025-01-10 21:06:15,978 - INFO - 所有 Cursor 进程已正常关闭
2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None)
2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None)
2025-01-10 21:06:17,434 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974
2025-01-10 21:06:18,532 - DEBUG - http://127.0.0.1:35974 "GET /json HTTP/1.1" 200 1278
2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None)
2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None)
2025-01-10 21:06:18,535 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974
2025-01-10 21:06:18,542 - DEBUG - http://127.0.0.1:35974 "GET /json/version HTTP/1.1" 200 423
2025-01-10 21:06:53,460 - ERROR - 程序执行出错:
javascript运行错误:
function(){return document.getElementById("mail").value}
错误信息:
{'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}}
2025-01-10 21:06:53,534 - ERROR - Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 274, in main
email_js = get_temp_email(mail_tab)
File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 124, in get_temp_email
email_js = tab.run_js('return document.getElementById("mail").value')
File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 390, in run_js
return self._run_js(script, *args, as_expr=as_expr, timeout=timeout)
File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 397, in _run_js
return run_js(self, script, as_expr, self.timeouts.script if timeout is None else timeout, args)
File "D:\Program Files\Python39\lib\site-packages\DrissionPage_elements\chromium_element.py", line 1216, in run_js
raise JavaScriptError(f'\njavascript运行错误:\n{script}\n错误信息: \n{exceptionDetails}')
DrissionPage.errors.JavaScriptError:
javascript运行错误:
function(){return document.getElementById("mail").value}
错误信息:
{'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}}

@liuwqq liuwqq added the bug Something isn't working label Jan 10, 2025
@GalacticDevOps
Copy link
Owner

当前系统环境

win10

当前版本

V1.0.3

具体信息

2025-01-10 20:59:15,477 - INFO - 开始退出Cursor... 2025-01-10 20:59:15,488 - INFO - 未发现运行中的 Cursor 进程 2025-01-10 21:06:15,421 - INFO - 开始退出Cursor... 2025-01-10 21:06:15,978 - INFO - 所有 Cursor 进程已正常关闭 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,434 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,532 - DEBUG - http://127.0.0.1:35974 "GET /json HTTP/1.1" 200 1278 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,535 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,542 - DEBUG - http://127.0.0.1:35974 "GET /json/version HTTP/1.1" 200 423 2025-01-10 21:06:53,460 - ERROR - 程序执行出错: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}} 2025-01-10 21:06:53,534 - ERROR - Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 274, in main email_js = get_temp_email(mail_tab) File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 124, in get_temp_email email_js = tab.run_js('return document.getElementById("mail").value') File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 390, in run_js return self._run_js(script, *args, as_expr=as_expr, timeout=timeout) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 397, in _run_js return run_js(self, script, as_expr, self.timeouts.script if timeout is None else timeout, args) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_elements\chromium_element.py", line 1216, in run_js raise JavaScriptError(f'\njavascript运行错误:\n{script}\n错误信息: \n{exceptionDetails}') DrissionPage.errors.JavaScriptError: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}}

This issue has been identified and will be fixed in the next version

@liuwqq
Copy link
Author

liuwqq commented Jan 10, 2025

When will it be released

当前系统环境

win10

当前版本

V1.0.3

具体信息

2025-01-10 20:59:15,477 - INFO - 开始退出Cursor... 2025-01-10 20:59:15,488 - INFO - 未发现运行中的 Cursor 进程 2025-01-10 21:06:15,421 - INFO - 开始退出Cursor... 2025-01-10 21:06:15,978 - INFO - 所有 Cursor 进程已正常关闭 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,434 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,532 - DEBUG - http://127.0.0.1:35974 "GET /json HTTP/1.1" 200 1278 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,535 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,542 - DEBUG - http://127.0.0.1:35974 "GET /json/version HTTP/1.1" 200 423 2025-01-10 21:06:53,460 - ERROR - 程序执行出错: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}} 2025-01-10 21:06:53,534 - ERROR - Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 274, in main email_js = get_temp_email(mail_tab) File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 124, in get_temp_email email_js = tab.run_js('return document.getElementById("mail").value') File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 390, in run_js return self._run_js(script, *args, as_expr=as_expr, timeout=timeout) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 397, in _run_js return run_js(self, script, as_expr, self.timeouts.script if timeout is None else timeout, args) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_elements\chromium_element.py", line 1216, in run_js raise JavaScriptError(f'\njavascript运行错误:\n{script}\n错误信息: \n{exceptionDetails}') DrissionPage.errors.JavaScriptError: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}}

此问题已确定,并将在下一版本中修复

When will it be released

@GalacticDevOps GalacticDevOps self-assigned this Jan 10, 2025
@GalacticDevOps
Copy link
Owner

When will it be released

当前系统环境

win10

当前版本

V1.0.3

具体信息

2025-01-10 20:59:15,477 - INFO - 开始退出Cursor... 2025-01-10 20:59:15,488 - INFO - 未发现运行中的 Cursor 进程 2025-01-10 21:06:15,421 - INFO - 开始退出Cursor... 2025-01-10 21:06:15,978 - INFO - 所有 Cursor 进程已正常关闭 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,434 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,532 - DEBUG - http://127.0.0.1:35974 "GET /json HTTP/1.1" 200 1278 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,535 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,542 - DEBUG - http://127.0.0.1:35974 "GET /json/version HTTP/1.1" 200 423 2025-01-10 21:06:53,460 - ERROR - 程序执行出错: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}} 2025-01-10 21:06:53,534 - ERROR - Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 274, in main email_js = get_temp_email(mail_tab) File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 124, in get_temp_email email_js = tab.run_js('return document.getElementById("mail").value') File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 390, in run_js return self._run_js(script, *args, as_expr=as_expr, timeout=timeout) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 397, in _run_js return run_js(self, script, as_expr, self.timeouts.script if timeout is None else timeout, args) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_elements\chromium_element.py", line 1216, in run_js raise JavaScriptError(f'\njavascript运行错误:\n{script}\n错误信息: \n{exceptionDetails}') DrissionPage.errors.JavaScriptError: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}}

此问题已确定,并将在下一版本中修复

When will it be released

Please be patient &w8

GalacticDevOps added a commit that referenced this issue Jan 10, 2025
@GalacticDevOps
Copy link
Owner

当前系统环境

win10

当前版本

V1.0.3

具体信息

2025-01-10 20:59:15,477 - INFO - 开始退出Cursor... 2025-01-10 20:59:15,488 - INFO - 未发现运行中的 Cursor 进程 2025-01-10 21:06:15,421 - INFO - 开始退出Cursor... 2025-01-10 21:06:15,978 - INFO - 所有 Cursor 进程已正常关闭 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,434 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,532 - DEBUG - http://127.0.0.1:35974 "GET /json HTTP/1.1" 200 1278 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,535 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,542 - DEBUG - http://127.0.0.1:35974 "GET /json/version HTTP/1.1" 200 423 2025-01-10 21:06:53,460 - ERROR - 程序执行出错: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}} 2025-01-10 21:06:53,534 - ERROR - Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 274, in main email_js = get_temp_email(mail_tab) File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 124, in get_temp_email email_js = tab.run_js('return document.getElementById("mail").value') File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 390, in run_js return self._run_js(script, *args, as_expr=as_expr, timeout=timeout) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 397, in _run_js return run_js(self, script, as_expr, self.timeouts.script if timeout is None else timeout, args) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_elements\chromium_element.py", line 1216, in run_js raise JavaScriptError(f'\njavascript运行错误:\n{script}\n错误信息: \n{exceptionDetails}') DrissionPage.errors.JavaScriptError: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}}

A new version is about to be released, please wait for the action flow-build to complete

@liuwqq
Copy link
Author

liuwqq commented Jan 10, 2025

当前系统环境

win10

当前版本

V1.0.3

具体信息

2025-01-10 20:59:15,477 - INFO - 开始退出Cursor... 2025-01-10 20:59:15,488 - INFO - 未发现运行中的 Cursor 进程 2025-01-10 21:06:15,421 - INFO - 开始退出Cursor... 2025-01-10 21:06:15,978 - INFO - 所有 Cursor 进程已正常关闭 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,433 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:17,434 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,532 - DEBUG - http://127.0.0.1:35974 "GET /json HTTP/1.1" 200 1278 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,534 - DEBUG - Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None, status=None) 2025-01-10 21:06:18,535 - DEBUG - Starting new HTTP connection (1): 127.0.0.1:35974 2025-01-10 21:06:18,542 - DEBUG - http://127.0.0.1:35974 "GET /json/version HTTP/1.1" 200 423 2025-01-10 21:06:53,460 - ERROR - 程序执行出错: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}} 2025-01-10 21:06:53,534 - ERROR - Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 274, in main email_js = get_temp_email(mail_tab) File "C:\Users\Administrator\AppData\Local\Programs\ez-cursor-free\resources\workspace\cursor_pro_keep_alive.py", line 124, in get_temp_email email_js = tab.run_js('return document.getElementById("mail").value') File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 390, in run_js return self._run_js(script, *args, as_expr=as_expr, timeout=timeout) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_pages\chromium_base.py", line 397, in _run_js return run_js(self, script, as_expr, self.timeouts.script if timeout is None else timeout, args) File "D:\Program Files\Python39\lib\site-packages\DrissionPage_elements\chromium_element.py", line 1216, in run_js raise JavaScriptError(f'\njavascript运行错误:\n{script}\n错误信息: \n{exceptionDetails}') DrissionPage.errors.JavaScriptError: javascript运行错误: function(){return document.getElementById("mail").value} 错误信息: {'exceptionId': 3, 'text': 'Uncaught', 'lineNumber': 0, 'columnNumber': 50, 'scriptId': '62', 'exception': {'type': 'object', 'subtype': 'error', 'className': 'TypeError', 'description': "TypeError: Cannot read properties of null (reading 'value')\n at HTMLDocument. (:1:51)", 'objectId': '-4820260828767662265.5.3'}}

新版本即将发布,请等待 action flow-build 完成
感谢大佬的 无私奉献

GalacticDevOps added a commit that referenced this issue Jan 10, 2025
GalacticDevOps added a commit that referenced this issue Jan 10, 2025
GalacticDevOps added a commit that referenced this issue Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants