Commit 042d416c authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix minor issues with gui

parent 7b7274e7
......@@ -64,7 +64,7 @@ from PySide.QtGui import(QApplication, QStatusBar, QLabel, QWidget,
from PySide.QtUiTools import QUiLoader
g_tmPool = {}
False
class MsgQ_Poller(QThread):
'''
......@@ -196,12 +196,13 @@ def gui():
elif options.shared_lib:
# Load and run the startup transition of the shared library (Ada only?)
try:
dll = CDLL('./{}.so'.format(datamodel.FVname))
dll = CDLL('lib{}.so'.format(datamodel.FVname))
dll_init = getattr(dll, 'lib{}init'.format(datamodel.FVname))
dll_init()
except OSError:
log.error('Shared library ./{}.so not found'
except OSError as err:
log.error('Issue with shared library lib{}.so:'
.format(datamodel.FVname))
log.error(str(err))
return -1
# Define a Qt application (mandatory)
......
......@@ -2,7 +2,7 @@
# Resource object code
#
# Created: Sun Nov 16 12:02:01 2014
# Created: Sun Nov 16 14:02:35 2014
# by: The Resource Compiler for PySide (Qt v4.8.6)
#
# WARNING! All changes made in this file will be lost!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment