View Issue Details

IDProjectCategoryView StatusLast Update
0000486FakturamaOpenOffice / NOApublic2018-02-10 20:02
ReporterBorneBjoern Assigned Torheydenr  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionunable to reproduce 
Product Version1.6.4 
Target Version2.0.0Fixed in Version2.0.0 
Summary0000486: [FAK-487 (alt)] LibreOffice startet nicht
Description

Seit geraumer Zeit oeffnet sich bei mir das LibreOffice nicht mehr, wenn ich auf den "Druck" button klicke.

Da ich mehrere Versionen von Fakturama und LibreOffice installiert habe, habe ich natuerlich auch mehrere Kombinationen der einzelnen Versionen versucht, bisher jedoch ohne Erfolg, daher wende ich mich hoffnungsvoll an euch.

Meine Programme, so natuerlich auch Fakturama und LibreOffice, liegen alle unter /opt mit jeweils einem eigenen Verzeichnis und jeder Version als Unterverzeichnis.

Fuer Fakturama sieht es also so aus:


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
$> ls -l /opt/Fakturama/
total 8928
drwxrwsr-x 8 bornebjoern packages 4096 Feb 3 2015 1.6.5
drwxrwsr-x 7 bornebjoern packages 4096 Jun 23 18:45 1.6.6
drwxrwsr-x 7 bornebjoern packages 4096 Jul 10 14:27 1.6.7
drwxr-sr-x 8 bornebjoern packages 4096 Okt 28 18:53 1.6.8
-rw-rw-r-- 1 bornebjoern packages 2079380 Feb 3 2015 Handbuch_V1.5_2011-12-27.pdf
-rw-rw-r-- 1 bornebjoern packages 2949971 Feb 3 2015 Handbuch_V1.6.6_2014-07-08.pdf
-rw-rw-r-- 1 bornebjoern packages 2147168 Feb 3 2015 Handbuch_V1.6_2013-08-28.pdf
-rw-rw-r-- 1 bornebjoern packages 1941096 Feb 3 2015 Handbuch_V1.6_2014-01-26.pdf
lrwxrwxrwx 1 bornebjoern packages 6 Jul 21 19:57 current -> 1.6.8/

</div></div>

Gestartet werden alle Programme immer ueber den 'current' Link.

/opt/Fakturama/current/Fakturama

/opt/LibreOffice/current/program/soffice

Bisher hat dieses Vorgehen auch aus Fakturama heraus wunderbar funktioniert.

In den Einstellungen ist der Pfad fuer das Office mit '/opt/LibreOffice/current' definiert.

Auch wenn es immer die folgende Fehlermeldung auf der Konsole zu lesen gab:


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
Warning: -nologo is deprecated.  Use --nologo instead.
Warning: -nodefault is deprecated. Use --nodefault instead.
Warning: -norestore is deprecated. Use --norestore instead.
Warning: -nolockcheck is deprecated. Use --nolockcheck instead.
Warning: -accept=socket,host=localhost,port=8100;urp; is deprecated. Use --accept=socket,host=localhost,port=8100;urp; instead.

</div></div>

So startete das LibreOffice immer und alles war gut.

Nun gut eventuell liegt ja doch daran, also habe ich etwas gebastelt:


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
.bashrc = ( 33 ): bornebjoern on lpt-w530 [ /opt/LibreOffice/current/program ] $> ls -l soffice*
lrwxrwxrwx 1 bornebjoern users 11 Okt 28 19:09 soffice -> soffice.bin
-rwxr-xr-x 1 bornebjoern users 760 Okt 28 20:04 soffice-debug.sh
-rwxr-xr-x 1 bornebjoern users 515 Okt 28 18:50 soffice-debug.sh~
lrwxrwxrwx 1 bornebjoern users 16 Okt 28 18:40 soffice.bin -> soffice-debug.sh
-rwxr-xr-x 1 bornebjoern users 6305 Aug 7 22:49 soffice.bin.orig
-rwxr-xr-x 1 bornebjoern users 5608 Aug 7 22:49 soffice.orig

</div></div>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
#!/bin/bash

soffice-debug.sh

paramteters=<span class="code-quote">"$"</span>
binary=<span class="code-quote">"$0"</span>
#LOGfile=<span class="code-quote">"/tmp/$$_Libre.log"</span>
LOGfile=<span class="code-quote">"/tmp/Libre.log"</span>
echo <span class="code-quote">"called comand: ${binary} ${paramteters}"</span> >> ${LOGfile}
IFSold=${IFS}
IFS=<span class="code-quote">" "</span>
<span class="code-keyword">for</span> option in ${paramteters}
<span class="code-keyword">do</span>
<span class="code-keyword">if</span> [[ <span class="code-quote">"${option}"</span> =~ ^-.
]]
then
builtin echo <span class="code-quote">"subsititute parameter: \"</span>${option}\<span class="code-quote">" with \"</span>-${option}\"" >> ${LOGfile}

                            <span class="code-keyword">if</span> [ -z <span class="code-quote">"${options}"</span> ]
                            then            
                                            options=<span class="code-quote">"-${option}"</span>
                            <span class="code-keyword">else</span>            
                                            options=<span class="code-quote">"${options} -${option}"</span>
                            fi
            <span class="code-keyword">else</span>            
                            filename=<span class="code-quote">"${option}"</span>
            fi

done
IFS=${IFSold}
echo <span class="code-quote">"substituted command: ${binary} ${options} ${filename}"</span> >> ${LOGfile}
exec /opt/LibreOffice/current/program/soffice.bin.orig ${options} ${filename} 2>>${LOGfile}
#exec /opt/LibreOffice/current/program/soffice.bin.orig ${paramteters} 2>>${LOGfile}
#EOF

</div></div>

So und jetzt wird auch das Logfile geschrieben, wenn ich versuche aus Fakturama heraus zu drucken:


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
called comand: /opt/LibreOffice/current/program/soffice -nologo -nodefault -norestore -nocrashreport -nolockcheck -accept=socket,host=localhost,port$
subsititute parameter: "-nologo" with "--nologo"
subsititute parameter: "-nodefault" with "--nodefault"
subsititute parameter: "-norestore" with "--norestore"
subsititute parameter: "-nocrashreport" with "--nocrashreport"
subsititute parameter: "-nolockcheck" with "--nolockcheck"
subsititute parameter: "-accept=socket,host=localhost,port=8100;urp;" with "--accept=socket,host=localhost,port=8100;urp;"
substituted command: /opt/LibreOffice/current/program/soffice --nologo --nodefault --norestore --nocrashreport --nolockcheck --accept=socket,host=lo$
called comand: /opt/LibreOffice/current/program/soffice -nologo -nodefault -norestore -nocrashreport -nolockcheck -accept=socket,host=localhost,port$

</div></div>

Sieht gut aus, keine Fehlermeldung mehr, der Prozess ist auch per pgrep LibreOffice zu finden, nur leider passiert noch immer nichts.


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
pgrep -lf Libre
5864 /opt/LibreOffice/current/program/soffice.bin.orig --nologo --nodefault --norestore --nocrashreport --nolockcheck --accept=socket,host=localhost,port=8100;urp;

</div></div>

Zur Gegenprobe versuche ich ueber die Kommandozeile eine beliebige ods Datei zu oeffnen:

/opt/LibreOffice/current/program/soffice ~/Documents/zwo_hoch_3/interna/Projektrechner.ods

Log eintrag:


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
called comand: /opt/LibreOffice/current/program/soffice /home/bornebjoern/Documents/zwo_hoch_3/interna/Projektrechner.ods
substituted command: /opt/LibreOffice/current/program/soffice /home/bornebjoern/Documents/zwo_hoch_3/interna/Projektrechner.ods

</div></div>

Und Programm startet, alles perfekt.

Der 2. Test mit Option:

/opt/LibreOffice/current/program/soffice -nologo ~/Documents/zwo_hoch_3/interna/Projektrechner.ods

Der dazugehoerige Log Eintrag:


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
called comand: /opt/LibreOffice/current/program/soffice -nologo /home/bornebjoern/Documents/zwo_hoch_3/interna/Projektrechner.ods
subsititute parameter: "-nologo" with "--nologo"
substituted command: /opt/LibreOffice/current/program/soffice --nologo /home/bornebjoern/Documents/zwo_hoch_3/interna/Projektrechner.ods

</div></div>

auch hier, startet LibreOffice und alles ist gut.

Daher vermute ich mal, dass die Kommunikation per Socket nicht zu 100% funktioniert.

Ich habe zwar nicht an meinen iptables herumgespielt, aber zur Sicherheit:


<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
.bashrc ( 1 ): ROOT on lpt-w530 [ ~ ] #> iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination

</div></div>

Auch habe ich zu Testzwecken fuer jede Fakturama Versionein eigenes, neues Arbeitsverzeichnis angelegt, um auszuschlieszen, dass es da zu irgendwelchen Nebeneffekten kommt. Leider auch hier kein Erfolg

Ebensowenig kann es an meinen Vorlagen der Einzelnen Dokumente liegen, da ich auch versucht habe, das Standard-Document 'Document' auszudrucken, was bei der Installation von Fakturama dabei ist.

An dieser Stelle bitte ich Sie um Analyse, Tips und weitere Loesungsansaetze.

Wenn Sie weitere Informationen benoetigen, lassen Sie es mich bitte wissen.

Vielen Dank im Voraus

TagsNo tags attached.

Activities

BorneBjoern

2015-10-28 21:01

reporter   ~0000527

Last edited: 2017-12-30 00:08

gerade hatte ich noch eine Idee:


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
.bashrc ( 7 ): ROOT on lpt-w530 [ ~ ] #> netstat -pantu | head -2;netstat -pantu | grep 8100
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 1 192.168.2.112:37905 192.168.238.150:8100 SYN_SENT 15082/Fakturama
tcp6 0 1 192.168.2.112:37910 192.168.238.150:8100 SYN_SENT 15082/Fakturama
tcp6 0 1 192.168.2.112:37906 192.168.238.150:8100 SYN_SENT 15082/Fakturama
tcp6 0 1 192.168.2.112:37907 192.168.238.150:8100 SYN_SENT 15082/Fakturama
tcp6 0 1 192.168.2.112:37915 192.168.238.150:8100 SYN_SENT 15082/Fakturama
tcp6 0 1 192.168.2.112:37914 192.168.238.150:8100 SYN_SENT 15082/Fakturama

</div></div>

Das hat mich stutzig gemacht. Daher ein ipconfig hinterher:


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
.bashrc ( 14 ): ROOT on lpt-w530 [ ~ ] #> ifconfig
eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet6 fe80::224:7eff:fee0:32 prefixlen 64 scopeid 0x20<link>
ether 00:24:7e:e0:00:32 txqueuelen 1000 (Ethernet)
RX packets 4319 bytes 3823456 (3.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3298 bytes 634644 (619.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xfc000000-fc020000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 21325 bytes 1278972 (1.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 21325 bytes 1278972 (1.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.112 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::226:c6ff:fe3a:b8e0 prefixlen 64 scopeid 0x20<link>
ether 00:26:c6:3a:b8:e0 txqueuelen 1000 (Ethernet)
RX packets 1316637 bytes 342227166 (326.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 943035 bytes 146487959 (139.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

</div></div>

Aber es ist kein DROP oder ERROR zu sehen. Also wieder nichts.

rheydenr

2015-10-29 10:36

administrator   ~0000528

Last edited: 2017-12-30 00:08

Gibt es irgendwelche EInträge in ~/.fakturama/.log ?

BorneBjoern

2015-10-29 10:57

reporter   ~0000529

Last edited: 2017-12-30 00:08

Nein, dieses Verzeichnis hat bis gerade eben nicht existiert.

Aber auch nachdem ich es angelegt habe, bleibt dieses leer.


<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
.bashrc = ( 1 ): bornebjoern on lpt-w530 [ ~ ] $> ls -l .fakturama/
total 0
.bashrc = ( 2 ): bornebjoern on lpt-w530 [ ~ ] $> ls -la .fakturama/
total 8
drwxr-xr-x 2 bornebjoern users 6 Okt 29 10:53 .
drwxr-xr-x 23 bornebjoern users 4096 Okt 29 10:53 ..

</div></div>

rheydenr

2015-11-13 13:17

administrator   ~0000530

Last edited: 2017-12-30 00:08

Das muß aber existieren (ggf. unter einem anderen User?) Sobald Fakturama gestartet wird, wird auch dieses Verzeichnis angelegt, da hierin diverse Einstellungen gespeichert werden, die für das Programm unverzichtbar sind.

Issue History

Date Modified Username Field Change
2017-12-30 00:08 rheydenr New Issue
2017-12-30 00:08 rheydenr Assigned To => rheydenr
2017-12-30 00:08 rheydenr Note Added: 0000527
2017-12-30 00:08 rheydenr Note Added: 0000528
2017-12-30 00:08 rheydenr Note Added: 0000529
2017-12-30 00:08 rheydenr Note Added: 0000530
2017-12-30 00:08 rheydenr Description Updated
2017-12-30 13:51 rheydenr Fixed in Version 0.0 => 1.6.9
2018-02-10 19:40 rheydenr Fixed in Version 1.6.9 => 2.0.0
2018-02-10 20:02 rheydenr Target Version 4.0.0 => 2.0.0