napretep / hjp-bilink

hjp bilink is an anki addon, a toolbox dedicated to make the structureless cards more structable
https://vu2emlw0ia.feishu.cn/wiki/wikcnZcvoqg7x7R2eeQM4IxsNXd
GNU Lesser General Public License v3.0
18 stars 6 forks source link

视图中按ctrl拖拽建立链接时报错 #6

Open sevvvvv opened 11 months ago

sevvvvv commented 11 months ago

错误代码如下,请问大大可能是什么原因呢 错误 运行出错。请在启动Anki时按住「Shift」键以临时禁用插件加载。 如仅在插件启用时出错,请使用「工具」>「插件」功能禁用部分插件后重启Anki,请重复上述步骤找出引起错误的插件并反馈给插件作者。 调试信息: Anki 2.1.64 (581f82c5) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0 Platform: Windows-10-10.0.22000 Flags: frz=True ao=True sv=2 Add-ons, last update check: 2023-09-23 19:28:06

Caught exception: Traceback (most recent call last): File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\wzr44\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'

Caught exception: Traceback (most recent call last): File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\bilink\dialogs\linkdata_grapher.py", line 546, in mouseMoveEvent p1_1=common_tools.funcs.Geometry.IntersectPointByLineAndRect(QLineF(p1,p2),rect) File "C:\Users\x\AppData\Roaming\Anki2\addons21\hjp_bilink2\lib\common_tools\funcs.py", line 2628, in IntersectPointByLineAndRect if line.intersect(edge, intersectPoint) == QLineF.BoundedIntersection: AttributeError: 'QLineF' object has no attribute 'intersect'