kdesu crashes - what to do

Einfach Dinge, die nichts mit XAMPP, Apache Friends, Apache, MySQL, PHP und alle dem zu tun haben. Allerlei halt. ;)

kdesu crashes - what to do

Postby unleash » 12. April 2014 21:28

Code: Select all

linux-70ce:/home/martin # kdesu kwrite /etc/apache2/default-server.conf
kdesu(5173)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
KCrash: Application 'kdesu' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde4/socket-linux-70ce.site/kdeinit4__0
Warning: connect() failed: : Datei oder Verzeichnis nicht gefunden
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
drkonqi(5174)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
linux-70ce:/home/martin #


well i will try to get it workin
unleash
 
Posts: 147
Joined: 03. December 2011 10:16
Operating System: OpenSuse Linux 12.1

Re: kdesu crashes - what to do

Postby unleash » 12. April 2014 21:36

btw - i afterward installed osmfilter - see here

http://wiki.openstreetmap.org/wiki/Osmfilter


Code: Select all
Download and build in one run:   wget -O - http://m.m.i24.cc/osmfilter.c |cc -x c - -O3 -o osmfilter

As usual: There is no warranty, to the extent permitted by law.


linux-70ce:/home/martin #  wget -O - http://m.m.i24.cc/osmfilter.c |cc -x c - -O3 -o osmfilter
--2014-04-12 22:34:49--  http://m.m.i24.cc/osmfilter.c
Auflösen des Hostnamen »m.m.i24.cc (m.m.i24.cc)«... 80.67.17.148, 2a00:1158:0:300:432f::1
Verbindungsaufbau zu m.m.i24.cc (m.m.i24.cc)|80.67.17.148|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 213497 (208K) [text/plain]
In »»STDOUT«« speichern.

100%[==========================================================================================================================================>] 213.497     1,14MB/s   in 0,2s   

2014-04-12 22:34:49 (1,14 MB/s) - auf die Standardausgabe geschrieben [213497/213497]

<stdin>: In function ‘oo__close’:
<stdin>:5166:5: warning: call to function ‘read_close’ without a real prototype [-Wunprototyped-calls]
<stdin>:1079:13: note: ‘read_close’ was declared here
linux-70ce:/home/martin #




what do you say....
unleash
 
Posts: 147
Joined: 03. December 2011 10:16
Operating System: OpenSuse Linux 12.1

Re: kdesu crashes - what to do

Postby unleash » 13. April 2014 09:15

many many thanks - great to hear from you



in my first attempt, i called osmosis and passed the argument
"ls" which is not valid. cf the Osmsis documentation for what arguments Osmosis accepts.
In the second attempt, i tried to enter a directory called "osmosis-0.39" which i never ever created.


i could have done differently is creating an extra directory for osmosis, like

wget http://bretth.dev.openstreetmap.org/osm ... latest.tgz
mkdir osmosis
cd osmosis
tar xzf ../osmosis-latest.tgz

That way, Osmosis wouldn't have ended up directly in your $HOME, and you would then use

/home/martin/osmosis/bin/osmosis ...arguments...

to call it.

i did it - see here


Code: Select all
linux-70ce:/home/martin # wget http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
--2014-04-13 09:54:23--  http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
Auflösen des Hostnamen »bretth.dev.openstreetmap.org (bretth.dev.openstreetmap.org)«... 128.40.168.103
Verbindungsaufbau zu bretth.dev.openstreetmap.org (bretth.dev.openstreetmap.org)|128.40.168.103|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 9079737 (8,7M) [application/x-gzip]
In »»osmosis-latest.tgz.1«« speichern.

100%[==========================================================================================================================================>] 9.079.737   1,41MB/s   in 6,3s   

2014-04-13 09:54:29 (1,38 MB/s) - »»osmosis-latest.tgz.1«« gespeichert [9079737/9079737]

linux-70ce:/home/martin # mkdir osmosis
linux-70ce:/home/martin # cd osmosis




btw regarding the two other toools osmconvert osmfilter - i have had a loook at the corresponding websites.
should i have to install it like it is written on here :

Code: Select all
    Download and build in one run:   wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert
   


and for osmfilter . like so:


Code: Select all
Download and build in one run:   wget -O - http://m.m.i24.cc/osmfilter.c |cc -x c - -O3 -o osmfilter


what do you say. look forward to hear from you
unleash
 
Posts: 147
Joined: 03. December 2011 10:16
Operating System: OpenSuse Linux 12.1


Return to Allerlei

Who is online

Users browsing this forum: No registered users and 8 guests