PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [gelöst] MAT lässt sich unter Ubuntu 14.04 nur von der Konsole starten.



sirtobie
04.09.2014, 22:37
Hallo morly.

MAT lässt sich unter Ubuntu 14.04 nur von der Konsole starten.
Betrifft aber nur die Version 2.2. Die Version 2.0 lässt sich auch per Doppelklick vom Desktop starten.
Habe ich bei der 32bit und der 64bit-version festgestellt.

morly
05.09.2014, 09:59
Hallo, welches File doppelklickst du?
Wichtig: die start.sh, da dabei noch Libs (Verzeichnis BoxSupporter) eingebunden werden

- - - Aktualisiert - - -

wenn du doch start.sh startest geh in die Konsole und mach:

ls -l
cat start.sh

sirtobie
05.09.2014, 11:37
Habe ich gemacht. Es geht aber trotzdem nur von der Konsole.
Ich benutze jetzt die Windowsversion mit Wine, da geht alles
außer serielles Loggen.




markus@markus-Satellite-A100:~/Downloads/Admin_Tool_v2.2_Linux$ ls -linsgesamt 5188
-rw-rw-r-- 1 markus markus 6103 Sep 5 11:39 AAA_cookies.ini
-rwxrwxr-x 1 markus markus 5260487 Aug 1 11:45 Admin_Tool_v2.2_i386
drwxr-xr-x 2 markus markus 4096 Aug 1 11:32 BackupRules
drwxr-xr-x 2 markus markus 4096 Aug 1 11:46 BoxSupporter
-rw-rw-r-- 1 markus markus 550 Sep 5 11:39 C:\nppdf32Log\debuglog.txt
-rwxrwxrwx 1 markus markus 129 Sep 5 11:22 MAT.sh
-rwxrwxrwx 1 markus markus 129 Sep 4 22:15 startAT.sh
-rwxrwxrwx 1 markus markus 77 Jul 23 13:56 startAT.sh~
-rw-rw-r-- 1 markus markus 784 Sep 4 22:19 stb.default.ini
-rw-rw-r-- 1 markus markus 92 Sep 5 11:38 stb.ini
-rw-rw-r-- 1 markus markus 786 Sep 5 11:38 stb.XPEEDLX1.ini
drwxr-xr-x 4 markus markus 4096 Aug 17 21:09 Tools
markus@markus-Satellite-A100:~/Downloads/Admin_Tool_v2.2_Linux$






markus@markus-Satellite-A100:~/Downloads/Admin_Tool_v2.2_Linux$ cat startAT.shcd /
cd home/markus/Downloads/Admin_Tool_v2.2_Linux
export LD_LIBRARY_PATH=BoxSupporter/:$LD_LIBRARY_PATH
./Admin_Tool_v2.2_i386
markus@markus-Satellite-A100:~/Downloads/Admin_Tool_v2.2_Linux$

morly
05.09.2014, 18:34
Ich benutze jetzt die Windowsversion mit Wine, da geht alles
außer serielles Loggen.


OUCH - das tut weh :D
Ich schmeiss ubuntu in die vmware und sehs mir an - ausser ein anderer Ubuntu-User findet vorher was ;)

ReWard
05.09.2014, 23:31
Ich starte bei debian das immer mit einem selbst gemachten script, was ich mir auf den desktop lege. Da kann ich mir auch meine libzip verlinken. Kann man dann auch die startAT.sh mit einbinden oder selbst die Boxsupporter verlinken. -> siehe mal hier (http://www.hdmedia-universe.com/board/showthread.php?6819-Fehler-bei-Ubuntustart/page3), so ab Seite 3, past zwar nicht mehr ganz.....

- - - Aktualisiert - - -

Könnte so aussehen :


#!/bin/sh
#

cd /Pfad/Admin_Tool_v2.2
export LD_LIBRARY_PATH=/Pfad/Admin_Tool_v2.2/libzip/:$LD_LIBRARY_PATH
#export LD_LIBRARY_PATH=/Pfadl/Admin_Tool_v2.2/BoxSupporter/:$LD_LIBRARY_PATH
#./Admin_Tool_v2.2_x64
./startAT.sh

Entweder das auskommentierte oder die startAT.sh.

sirtobie
06.09.2014, 00:01
@ReWard

Das war mein erster Gedanke. Aber auch das lässt sich nur von der Konsole starten.

ReWard
06.09.2014, 00:06
Dann zeigt die Konsole einen Fehler, oder Dein Start Script auf dem Desktop stimmt nicht.

Übrigens, mein Danke @morly war dafür :


OUCH - das tut weh http://hdmedia-universe.com/board/images/smilies/biggrin.png

sirtobie
06.09.2014, 00:14
So sieht mein Script aus.


markus@markus-Satellite-A100:~$ cat MAT.shcd /
cd home/markus/Downloads/Admin_Tool_v2.2_Linux
export LD_LIBRARY_PATH=BoxSupporter/:$LD_LIBRARY_PATH
./Admin_Tool_v2.2_i386
markus@markus-Satellite-A100:~$






...und so die Ausgabe beim Start von der Konsole.


markus@markus-Satellite-A100:~$ ./MAT.shQml debugging is enabled. Only use this in a safe environment!
Got bus address: "unix:abstract=/tmp/dbus-DCGBBwsqjO,guid=40faee93229cc39cfd21b5b45404e7e1"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-DCGBBwsqjO,guid=40faee93229cc39cfd21b5b45404e7e1"
Registered DEC: true
QObject::connect: Cannot connect (null)::telnetHostUnavailable() to ConnectionManager::slot_telnetHostUnavailable()
QObject::connect: Cannot connect (null)::telnetLoginIncorrect() to ConnectionManager::slot_telnetLoginIncorrect()
QObject::connect: Cannot connect (null)::connectionTimeout() to ConnectionManager::slot_boxTimeout()
QObject::connect: Cannot connect (null)::telnetConnected(QString) to ConnectionManager::slot_telnetConnectedReceived(QS tring)
QObject::connect: Cannot connect (null)::telnetDataReady(QString, QString) to ConnectionManager::slot_telnetDataReceived(QString , QString)
QObject::connect: Cannot connect (null)::ftpTransferDone(QString, QString, QString, QString, int) to ConnectionManager::slot_ftpTransferDoneReceived(QS tring, QString, QString, QString, int)
qrc:/qml/WelcomeTab/welcometab.qml:60: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab.qml:300: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab.qml:291: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab.qml:152: ReferenceError: Can't find variable: boxtype
qrc:/qml/WelcomeTab/welcometab.qml:36: ReferenceError: Can't find variable: historyRect
qrc:/qml/WelcomeTab/welcometab.qml:60: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab.qml:300: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab.qml:291: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab.qml:152: ReferenceError: Can't find variable: boxtype
qrc:/qml/WelcomeTab/welcometab.qml:36: ReferenceError: Can't find variable: historyRect
qrc:/qml/WelcomeTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/WelcomeTab/widgets/images/icons/backButton22.png
qrc:/qml/WelcomeTab/welcometab_history.qml:44: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_history.qml:107: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_history.qml:98: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_history.qml:93: ReferenceError: Can't find variable: historyScreen
qrc:/qml/WelcomeTab/welcometab_history.qml:44: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_history.qml:107: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_history.qml:98: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_history.qml:93: ReferenceError: Can't find variable: historyScreen
qrc:/qml/WelcomeTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/WelcomeTab/widgets/images/icons/backButton22.png
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:45: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:126: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:117: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:112: ReferenceError: Can't find variable: historyScreen
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:93: ReferenceError: Can't find variable: historyScreen
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:45: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:126: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:117: ReferenceError: Can't find variable: root
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:112: ReferenceError: Can't find variable: historyScreen
qrc:/qml/WelcomeTab/welcometab_boxsupporter.qml:93: ReferenceError: Can't find variable: historyScreen
qrc:/qml/FlashTab/flashtool.qml:97: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/flashtool.qml:318: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/flashtool.qml:309: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/FlashTab/widgets/images/icons/backButton22.png
qrc:/qml/FlashTab/flashtool_summary.qml:45: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/flashtool_summary.qml:100: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/flashtool_summary.qml:91: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/flashtool_summary.qml:45: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/flashtool_summary.qml:100: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/flashtool_summary.qml:91: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/FlashTab/widgets/images/icons/backButton22.png
qrc:/qml/FlashTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/FlashTab/widgets/images/icons/backButton22.png
qrc:/qml/FlashTab/flashtool.qml:97: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/flashtool.qml:318: ReferenceError: Can't find variable: root
qrc:/qml/FlashTab/flashtool.qml:309: ReferenceError: Can't find variable: root
Object::connect: No such slot FlashToolTab::showContextMenuPlugins(QPoint)
Object::connect: No such slot FlashToolTab::showContextMenuRules(QPoint)
Object::connect: No such slot FlashToolTab::slot_rulesItemChanged(QModelIndex, QModelIndex)
Object::connect: No such slot DiskEditorFdisk::slot_reCreatePartTable()
qrc:/qml/PartTab/parttool.qml:97: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool.qml:346: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool.qml:337: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/widgets/IconAndLink.qml:21:5: QML Image: Cannot open: qrc:/qml/PartTab/widgets/images/icons/backButton22.png
qrc:/qml/PartTab/parttool_summary.qml:47: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool_summary.qml:169: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool_summary.qml:160: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool_summary.qml:47: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool_summary.qml:169: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool_summary.qml:160: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool.qml:97: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool.qml:346: ReferenceError: Can't find variable: root
qrc:/qml/PartTab/parttool.qml:337: ReferenceError: Can't find variable: root
Object::connect: No such slot PartToolQML::showContextMenuPlugins(QPoint)
Object::connect: No such slot PartToolQML::slot_pluginItemChanged(QModelIndex, QModelIndex)
Object::connect: No such slot PartToolQML::showContextMenuRules(QPoint)
Object::connect: No such slot PartToolQML::slot_rulesItemChanged(QModelIndex, QModelIndex)
Object::connect: No such slot PartToolQML::slot_deviceEntryChanged(QStandardItem *)
Object::connect: No such slot PartToolTab::showContextMenuFtp(QPoint)
Object::connect: No such slot PartToolTab::slot_ftpListingDone(FtpEntry*)
Object::connect: No such slot PartToolTab::slot_ftpSelectionChanged(QModelIndex, QModelIndex)
Object::connect: No such slot PartToolTab::slot_editFtpFile()
Object::connect: No such slot ContentManipulatorCreator::slot_fileRuleDestChange d()
Object::connect: No such slot ContentManipulatorTab::slot_ruleOverwriteFile(bool )
Object::disconnect: No such slot ToolSettingsTab::slot_toolPathChanged()
Object::connect: No such slot ToolSettingsTab::slot_toolPathChanged()
Object::disconnect: No such slot ToolSettingsTab::slot_toolPathChanged()
Object::connect: No such slot ToolSettingsTab::slot_toolPathChanged()
Object::connect: No such signal ContentManipulatorTab::ruleInstallChanged(QString, QString)
Registered event listener change listener: true
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-4ubuntu1~0.14.04.2)
OpenJDK Server VM (build 24.65-b04, mixed mode)

ReWard
06.09.2014, 00:59
Du hast die 32 Bit Version?

Kann sein, das die Box Supporter nicht stimmt, lade mal die letzte 64 Bit runter.

Wenn Du 32 Bit hast, kopiere die mal rein, und versuche das mal damit. Da war mal ein Fehler drin.

Edit : angehängt :)

Edit 2 :


cd home/markus/Downloads/Admin_Tool_v2.2_Linux

Ist das ei Druckfehler ? Nach cd kommt ein / vor home.

santa
06.09.2014, 08:04
In der obersten Zeile macht er ein cd /, deswegen nicht nötig, aber sicherlich schöner als 2 mal cd.

Ein #!/bin/sh fehlt mir höchstens in der sh.

Btw, was passiert denn wenn du drauf klickst, hast du auf den weg schon mal andere Scripte ausprobiert, also lass so mal irgendein anderes Programm mal starten.

morly
06.09.2014, 09:14
das Shellscript funktioniert ja, sonst gings auch nich via Konsole...
demnach muss es an Ubuntu bzw. Nautilus liegen, die haben da ab v13 böse gedreht.

Mach mal in der Konsole ein:

gsettings set org.gnome.nautilus.preferences executable-text-activation ask
und probiers nochmal

könntest, wenn das nicht geht, noch folgendes testen:

Nautilus starten und dort unter "Bearbeiten » Verhalten » Ausführbare Textdateien" den Wert ändern auf "Ausführbare Textdateien ausführen, wenn sie geöffnet werden".

sirtobie
06.09.2014, 10:07
Hallo.

Erst mal an Alle vielen Dank für die Lösungsvorschläge.

@morly
Dein letzter Post war die Lösung
Einfach super., jetzt funzt alles.

morly
06.09.2014, 11:53
hab Titel auf "gelöst" verändert - damit ich fürs nächste Release weiss was noch zu tun bleibt