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

安装py文件时报错 #7

Open
Ting-cmd opened this issue Nov 24, 2024 · 8 comments
Open

安装py文件时报错 #7

Ting-cmd opened this issue Nov 24, 2024 · 8 comments

Comments

@Ting-cmd
Copy link

报错信息如下:
java.lang.ClassCastException: class org.python.core.PySingleton cannot be cast to class burp.IBurpExtender (org.python.core.PySingleton is in unnamed module of loader burp.Zxf0 @7982a7c3; burp.IBurpExtender is in unnamed module of loader 'app')
at burp.Zih.Zw(Unknown Source)
at burp.Zq3o.Z_(Unknown Source)
at burp.Zwwr.Zm(Unknown Source)
at burp.Zyto.lambda$panelLoaded$0(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

@sule01u
Copy link
Owner

sule01u commented Nov 24, 2024 via email

@Ting-cmd
Copy link
Author

可以贴一下安装界面,是否选为java而不是python Suleo Wang

________________________________ 发件人: Ting-cmd @.> 发送时间: Sunday, November 24, 2024 5:24:53 PM 收件人: sule01u/AutorizePro @.> 抄送: Subscribed @.> 主题: [sule01u/AutorizePro] 安装py文件时报错 (Issue #7) 报错信息如下: java.lang.ClassCastException: class org.python.core.PySingleton cannot be cast to class burp.IBurpExtender (org.python.core.PySingleton is in unnamed module of loader burp.Zxf0 @7982a7c3; burp.IBurpExtender is in unnamed module of loader 'app') at burp.Zih.Zw(Unknown Source) at burp.Zq3o.Z_(Unknown Source) at burp.Zwwr.Zm(Unknown Source) at burp.Zyto.lambda$panelLoaded$0(Unknown Source) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) ― Reply to this email directly, view it on GitHub<#7>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBX4QKVJGQ5QA3XEGKEB6L2CGLOLAVCNFSM6AAAAABSMAWVPOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY4DONBRG43TCMI. You are receiving this because you are subscribed to this thread.Message ID: @.>

可以贴一下安装界面,是否选为java而不是python Suleo Wang

________________________________ 发件人: Ting-cmd @.> 发送时间: Sunday, November 24, 2024 5:24:53 PM 收件人: sule01u/AutorizePro @.> 抄送: Subscribed @.> 主题: [sule01u/AutorizePro] 安装py文件时报错 (Issue #7) 报错信息如下: java.lang.ClassCastException: class org.python.core.PySingleton cannot be cast to class burp.IBurpExtender (org.python.core.PySingleton is in unnamed module of loader burp.Zxf0 @7982a7c3; burp.IBurpExtender is in unnamed module of loader 'app') at burp.Zih.Zw(Unknown Source) at burp.Zq3o.Z_(Unknown Source) at burp.Zwwr.Zm(Unknown Source) at burp.Zyto.lambda$panelLoaded$0(Unknown Source) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) ― Reply to this email directly, view it on GitHub<#7>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBX4QKVJGQ5QA3XEGKEB6L2CGLOLAVCNFSM6AAAAABSMAWVPOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY4DONBRG43TCMI. You are receiving this because you are subscribed to this thread.Message ID: @.>

安装界面选择的事python,也已经配置了jyphon

@sule01u
Copy link
Owner

sule01u commented Nov 24, 2024

是否下载了整个项目?而不仅仅是AutorizePro.py文件,然后再确认是否正确了指向了项目中的AutorizePro.py的完整路径

@TaoKe-One
Copy link

经测试,你的绝对路径不可以有中文才可以完美安装

@sule01u
Copy link
Owner

sule01u commented Nov 26, 2024 via email

@Ting-cmd
Copy link
Author

你的问题解决了吗同学?可以留给后续遇到相同问题的同学一个参考 Suleo Wang

________________________________ 发件人: Jerrymander @.> 发送时间: Monday, November 25, 2024 5:09:59 PM 收件人: sule01u/AutorizePro @.> 抄送: sule01u @.>; Comment @.> 主题: Re: [sule01u/AutorizePro] 安装py文件时报错 (Issue #7) 经测试,你的绝对路径不可以有中文才可以完美安装 ― Reply to this email directly, view it on GitHub<#7 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBX4QKNUP4JGCFPU3TIKMT2CLSOPAVCNFSM6AAAAABSMAWVPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJXGM2DOOBTHA. You are receiving this because you commented.Message ID: @.***>

仍未得到解决

@Ting-cmd
Copy link
Author

经测试,你的绝对路径不可以有中文才可以完美安装

我的绝对路径中并未包含中文

@sule01u
Copy link
Owner

sule01u commented Dec 5, 2024

this project tests the env is: jython-standalone 2.7.3, burp suite 2024.9 (自带java21)
你可以保持一致环境再试试,jython独立版下载:https://central.sonatype.com/artifact/org.python/jython-standalone/versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants