-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi Yuan,
Thank you for helping us to use mlstez on linux. However, I ran into some issues:
- I installed QT library and pyQT version 5.0, but it did not work when executing the MainWindow.py. So, I had to downgrade to pyQT 4 and its respective libraries and I was able to make it work.
- Once I was able to run it using
python MainWindow.py, I noticed that BioPython was required, so I got that covered. - I am working on a machine where I have to ssh to work on and I did using
ssh -X xxx@xxxso I can get the GUI going, because I guess that is the way that you suggested to use it. However, I got an error because of the multithreading or at least htat is my guess:
QObject::setParent: Cannot set parent, new parent is in a different thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)
However, tried a patch, putting some code to fix the multithread issue in MainWindow.py
import ctypes
import sys
if sys.platform.startswith('linux'):
try:
x11 = ctypes.cdll.LoadLibrary('libX11.so')
x11.XInitThreads()
except:
print "Warning: failed to XInitThreads()"
And I get it to run, it odes the first step lookig for barcodes and primers. However, when it gets to the consensus part, it throws another error:
I have not been able to get past that. Do you have any suggestions?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels
