moolticute icon indicating copy to clipboard operation
moolticute copied to clipboard

Cannot open multicute in Ubuntu XFCE4

Open new-gen23 opened this issue 4 years ago • 5 comments

Expected behavior

Multicute icon should start in taskbar. Window should open on rightclick.

Actual behavior

multicute crashes with error:

INFO: (2020-04-03T09:58:06.002) :0 - ------------------------------------
INFO: (2020-04-03T09:58:06.002) :0 - Moolticute Gui version:  v0.43.3
INFO: (2020-04-03T09:58:06.002) :0 - (c) The Mooltipass Team
INFO: (2020-04-03T09:58:06.002) :0 - https://github.com/mooltipass/moolticute
INFO: (2020-04-03T09:58:06.002) :0 - ------------------------------------
DEBUG: (2020-04-03T09:58:06.002) :0 - System locale:  QLocale(German, Latin, Germany)
INFO: (2020-04-03T09:58:06.002) :0 - Trying to set language:  ":/lang/mc_de.qm"
DEBUG: (2020-04-03T09:58:06.002) :0 - Translator installed
WARNING: (2020-04-03T09:59:03.528) :0 - QPainter::begin: Paint device returned engine == 0, type: 2
WARNING: (2020-04-03T09:59:03.528) :0 - QPainter::save: Painter not active
WARNING: (2020-04-03T09:59:03.528) :0 - QPainter::setPen: Painter not active
WARNING: (2020-04-03T09:59:03.528) :0 - QPainter::setFont: Painter not active
WARNING: (2020-04-03T09:59:03.528) :0 - QPainter::restore: Unbalanced save/restore
ICE default IO error handler doing an exit(), pid = 22999, errno = 32

Step by step guide to reproduce the problem

  1. apt-get install multicute or clone from git and compile
  2. run multicuted + connect device
  3. run mutlicute

Moolticute Version

v0.43.3

Operating System

Linux jarvis 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Mooltipass Device

Mention if you are using either:

  • The Mooltipass Mini 1.0

new-gen23 avatar Apr 03 '20 08:04 new-gen23

I'm afraid we can't reproduce your issue... could you try with the latest beta from betas.themooltipass.com ?

limpkin avatar Apr 07 '20 18:04 limpkin

Sorry I did not respond to your suggestion. I switched to another computer to bypass the problem. Sadly, after half a year of updates the problems persist with version v0.43.3.

I checked on betas.themooltipass.com, but I can see only OSX and Windows installations.

So, I pulled the current source code version and compiled it with QT-Creator. (remark: qt-sdk packet does not exist in Ubuntu 20.04.1 LTS. Maybe update the installation manual? It lists Ubuntu 16.04).

Compiling worked, although I am not sure about the critical on execution:

&"Warnung: GDB: Failed to set controlling terminal: Unpassender IOCTL (I/O-Control) f\303\274r das Ger\303\244t\n"
INFO: (2020-12-13T15:44:18.374) ../moolticute/src/AppDaemon.cpp:50 - ------------------------------------
INFO: (2020-12-13T15:44:18.374) ../moolticute/src/AppDaemon.cpp:51 - Moolticute Daemon version:  git
INFO: (2020-12-13T15:44:18.374) ../moolticute/src/AppDaemon.cpp:52 - (c) The Mooltipass Team
INFO: (2020-12-13T15:44:18.374) ../moolticute/src/AppDaemon.cpp:53 - https://github.com/mooltipass/moolticute
INFO: (2020-12-13T15:44:18.374) ../moolticute/src/AppDaemon.cpp:54 - ------------------------------------
DEBUG: (2020-12-13T15:44:18.375) ../moolticute/src/WSServer.cpp:38 - Moolticute daemon websocket server listening on port  30035
INFO: (2020-12-13T15:44:18.875) ../moolticute/src/MPManager.cpp:38 - Starting MPManager
DEBUG: (2020-12-13T15:44:18.876) ../moolticute/src/MPManager.cpp:226 - List usb devices...
DEBUG: (2020-12-13T15:44:18.942) ../moolticute/src/MPDevice_linux.cpp:242 - Found mooltipass:  "/dev/hidraw5"
DEBUG: (2020-12-13T15:44:18.944) ../moolticute/src/MPDevice.cpp:77 - Mooltipass Mini is connected
INFO: (2020-12-13T15:44:18.944) ../moolticute/src/AsyncJobs.cpp:93 - "Waiting job"
DEBUG: (2020-12-13T15:44:19.000) ../moolticute/src/WSServer.cpp:134 - Mooltipass connected
INFO: (2020-12-13T15:44:19.901) ../moolticute/src/AsyncJobs.cpp:93 - "Exiting MMM"
CRITICAL: (2020-12-13T15:44:19.904) ../moolticute/src/MPDevice.cpp:3495 - Failed to exit MMM
DEBUG: (2020-12-13T15:44:20.253) ../moolticute/src/MPDevice.cpp:3606 - received MPCmd::MOOLTIPASS_STATUS:  1
INFO: (2020-12-13T15:44:20.263) ../moolticute/src/AsyncJobs.cpp:93 - "Loading device parameters"
DEBUG: (2020-12-13T15:44:20.266) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:25 - received MP version FLASH size:  8 Mb
DEBUG: (2020-12-13T15:44:20.266) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:27 - received MP version hw:  "v1.2_mini"
DEBUG: (2020-12-13T15:44:20.269) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:53 - received language:  149
DEBUG: (2020-12-13T15:44:20.271) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:64 - received lock timeout enable:  0
DEBUG: (2020-12-13T15:44:20.273) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:75 - received lock timeout:  60
DEBUG: (2020-12-13T15:44:20.275) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:86 - received screensaver:  0
DEBUG: (2020-12-13T15:44:20.277) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:97 - received userRequestCancel:  1
DEBUG: (2020-12-13T15:44:20.279) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:108 - received userInteractionTimeout:  15
DEBUG: (2020-12-13T15:44:20.281) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:119 - received flashScreen:  1
DEBUG: (2020-12-13T15:44:20.283) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:130 - received offlineMode:  0
DEBUG: (2020-12-13T15:44:20.285) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:141 - received tutorialEnabled:  0
DEBUG: (2020-12-13T15:44:20.287) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:152 - received screenBrightness:  128
DEBUG: (2020-12-13T15:44:20.289) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:163 - received set_knockEnabled:  0
DEBUG: (2020-12-13T15:44:20.291) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:174 - received knock threshold:  8
DEBUG: (2020-12-13T15:44:20.293) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:188 - received randomStartingPin:  0
DEBUG: (2020-12-13T15:44:20.295) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:200 - received hashDisplay:  0
DEBUG: (2020-12-13T15:44:20.297) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:211 - received lockUnlockMode:  1
DEBUG: (2020-12-13T15:44:20.299) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:223 - received key after login send enabled:  1
DEBUG: (2020-12-13T15:44:20.301) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:234 - received key after login send  43
DEBUG: (2020-12-13T15:44:20.303) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:245 - received key after pass send enabled:  0
DEBUG: (2020-12-13T15:44:20.305) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:256 - received key after pass send  40
DEBUG: (2020-12-13T15:44:20.307) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:267 - received delay after key entry enabled:  0
DEBUG: (2020-12-13T15:44:20.309) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:278 - received delay after key entry  5
INFO: (2020-12-13T15:44:20.309) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:288 - Finished loading device options
INFO: (2020-12-13T15:44:20.309) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:292 - Mini firmware above v1.2, requesting serial number
INFO: (2020-12-13T15:44:20.309) ../moolticute/src/AsyncJobs.cpp:93 - "Send date to device"
DEBUG: (2020-12-13T15:44:20.309) ../moolticute/src/MPDevice.cpp:3517 - Sending current date:  "156d"
INFO: (2020-12-13T15:44:20.311) ../moolticute/src/MPDevice.cpp:3528 - Date set success
INFO: (2020-12-13T15:44:20.311) ../moolticute/src/AsyncJobs.cpp:93 - "Loading device serial number"
DEBUG: (2020-12-13T15:44:20.313) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:303 - Mooltipass Mini serial number: 5228
INFO: (2020-12-13T15:44:20.313) ../moolticute/src/Mooltipass/MPSettingsMini.cpp:313 - Finished loading Mini serial number```

The Deamon starts in the background but I can't see any UI.

new-gen23 avatar Dec 13 '20 14:12 new-gen23

Sidenote: I managed to start the tool by running "moolticute/build/moolticute". However, the UI start with a window size 16000pixels (width) x 18000 pixels (height). The window remains empty/gray. No Input dialogs or buttons. Nothing. Also, I cannot resize the window. I used left-alt + right click to move the window so I was able to guess the size in pixels.

Just a remark: I wrote my own QT application and all its windows work fine and are resizeable.

new-gen23 avatar Dec 13 '20 18:12 new-gen23

Ok, I modified MainWindow.ui MainWindow: sizePolicy [Fixed,Fixed,0,0] minimumSize: 964 x 990 maximumSize: 946 x 990

However, the changes are completely ignored an the window is still far too big and broken.

new-gen23 avatar Dec 13 '20 19:12 new-gen23

@new-gen23 is this still happening?

limpkin avatar Mar 12 '23 12:03 limpkin