Comments (8)
Ugly workaround:
From ae9775c2ae929f5d7546d2dcbe24dd8cae878080 Mon Sep 17 00:00:00 2001
From: timeframe <[email protected]>
Date: Sat, 28 Oct 2023 10:15:06 +0200
Subject: [PATCH] Quick workaround to get the GUI working on Ubuntu 22.04
---
src/common/pm3process.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/common/pm3process.cpp b/src/common/pm3process.cpp
index 76c13b8..9443421 100644
--- a/src/common/pm3process.cpp
+++ b/src/common/pm3process.cpp
@@ -32,6 +32,7 @@ void PM3Process::connectPM3(const QString& path, const QStringList args)
start(path, args, QProcess::Unbuffered | QProcess::ReadWrite);
if(waitForStarted(10000))
{
+ QThread::msleep(5000);
waitForReadyRead(10000);
setRequiringOutput(false);
result = *requiredOutput;
--
2.34.1
from proxmark3gui.
Preliminary analysis of the issue:
Using wayland promts in an additional message from the client. This is not expected from the GUI and breaks the connection. The issue is in the function PM3Process::connectPM3. Setting a breakpoint in the function is a work around, because then reading the output from the command line is delayed and the string os: is available in the result variable.
Proposed fix:
If the error message is in the result variable wait long until the expected string is available in the result variable.
Thank you for providing me these!
from proxmark3gui.
Would you like to make a PR for your workaround? I might implement the full fix you mentioned later.
from proxmark3gui.
Sure I can make a PR for this workaround. It delays the connection time, but it works.
from proxmark3gui.
That helps. Thanks!
from proxmark3gui.
PR is created to the dev
branch. Just tell me if you want a PR to the master.
from proxmark3gui.
I've merged that. Thanks!
from proxmark3gui.
FYI: For anyone who wonders, the issue arises with the https://github.com/Proxmark/proxmark3
repo.
from proxmark3gui.
Related Issues (20)
- 图形化软件没有支持一些新命令 HOT 11
- PM3 Error: QProcess::FailedtoStart HOT 1
- PM3 Error: QProcess::Crashed "Process crashed" HOT 1
- Client connects to PM3 for a second then disconnects HOT 3
- can not connect to pm3 | 应用程序无法正常启动 HOT 5
- LF search uses "u" instead of "-u" HOT 5
- Pm3 HOT 1
- please add Issues Translate Action HOT 1
- 请问,验证默认密码的密码文件再什么位置改? HOT 3
- Help HOT 11
- Failed to connect to the hardware HOT 2
- 关于 GUIsettings.ini 存放位置建议 HOT 1
- 冰人固件+HC-05蓝牙无法连接 HOT 22
- 关于hardnested算nonces.bin HOT 5
- Ubuntu 22.04 and Iceman Fork does not work HOT 3
- 无法连接到PM3硬件 HOT 2
- Not sure if this is the correct place.. HOT 1
- win10下找不到dll文件 HOT 12
- Could not recognize the device (请求 USB 设备描述符失败) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxmark3gui.