Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"It runs like _x, where _x is something unsavory" -- Prof. Romas Aleliunas, CS 435


computers / comp.os.linux.misc / Re: xdg-open script question

SubjectAuthor
* xdg-open script questionKirk_Rockstein
+- Re: xdg-open script questionDan Espen
`* Re: xdg-open script questionRalf Fassel
 `- Re: xdg-open script questionKirk_Rockstein

1
xdg-open script question

<jf4vkjF2bidU1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7398&group=comp.os.linux.misc#7398

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Kirk_Roc...@nowhere.invalid (Kirk_Rockstein)
Newsgroups: comp.os.linux.misc
Subject: xdg-open script question
Date: 24 May 2022 21:05:23 GMT
Lines: 9
Message-ID: <jf4vkjF2bidU1@mid.individual.net>
X-Trace: individual.net Q9XpyUcgUinjjXXMgbOphw9BpXY6d8RVZz7A+0xnggY6+HB21T
Cancel-Lock: sha1:z1bvp1ipcx5JuCHEpb3ZRyT+3pU=
User-Agent: slrn/pre1.0.4-6/co (Aptosid Fluxbox)
 by: Kirk_Rockstein - Tue, 24 May 2022 21:05 UTC

kirk@shuttle:~$ /usr/bin/git-annex webapp
/usr/bin/git-annex: Relink `/usr/lib/i386-linux-gnu/libmagic.so.1' with `/lib/i386-linux-gnu/libpthread.so.0' for IFUNC symbol `vfork'
Launching web browser on file:///home/kirk/annex/.git/annex/webapp.html
/usr/bin/xdg-open: line 811: : command not found

Where do I start to trouble shoot this, at line 811 of the xdg-open script?

Re: xdg-open script question

<t6jhsp$gqk$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7399&group=comp.os.linux.misc#7399

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dan1es...@gmail.com (Dan Espen)
Newsgroups: comp.os.linux.misc
Subject: Re: xdg-open script question
Date: Tue, 24 May 2022 17:15:05 -0400
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <t6jhsp$gqk$1@dont-email.me>
References: <jf4vkjF2bidU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="7b0cf78e2770f9503a50d02bb7c27ba9";
logging-data="17236"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cUaBK2VeRTa2jKxbq2O7vF9sgQ8hVZzg="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:XGPyiRW5R44+uBHNdaKXgzxzJRc=
 by: Dan Espen - Tue, 24 May 2022 21:15 UTC

Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid> writes:

> kirk@shuttle:~$ /usr/bin/git-annex webapp
> /usr/bin/git-annex: Relink `/usr/lib/i386-linux-gnu/libmagic.so.1' with `/lib/i386-linux-gnu/libpthread.so.0' for IFUNC symbol `vfork'
> Launching web browser on file:///home/kirk/annex/.git/annex/webapp.html
> /usr/bin/xdg-open: line 811: : command not found
>
> Where do I start to trouble shoot this, at line 811 of the xdg-open script?

That's where I would start.
Line 811 appears to be running the command "which".

--
Dan Espen

Re: xdg-open script question

<ygasfoxncbu.fsf@akutech.de>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7400&group=comp.os.linux.misc#7400

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ralf...@gmx.de (Ralf Fassel)
Newsgroups: comp.os.linux.misc
Subject: Re: xdg-open script question
Date: Wed, 25 May 2022 12:20:05 +0200
Lines: 25
Message-ID: <ygasfoxncbu.fsf@akutech.de>
References: <jf4vkjF2bidU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net 9Q84qP39DJuaqAHftRjMjQuLNtdMJiJi1+MW0EEABIwSErT74=
Cancel-Lock: sha1:lFjxkMewa9D/0AssRYBv/Cti2aA= sha1:bcrJqFXNBY3rWV5NHgtneYRaqn8=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
 by: Ralf Fassel - Wed, 25 May 2022 10:20 UTC

* Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid>
| kirk@shuttle:~$ /usr/bin/git-annex webapp
| /usr/bin/git-annex: Relink `/usr/lib/i386-linux-gnu/libmagic.so.1' with `/lib/i386-linux-gnu/libpthread.so.0' for IFUNC symbol `vfork'
| Launching web browser on file:///home/kirk/annex/.git/annex/webapp.html
| /usr/bin/xdg-open: line 811: : command not found
>
| Where do I start to trouble shoot this, at line 811 of the xdg-open script?

I would run

sh -x /usr/bin/xdg-open file:///home/kirk/annex/.git/annex/webapp.html

from the command line and see whether it gives the same error.

If it does, the outpout (which is plenty and probably should be
redirected to a file) should give a hint what the problem is.

I suspect that the problem is a lookup on a command which is not found,
and thus the shell tries to execute "":

$ ""
sh: : command not found

HTH
R'

Re: xdg-open script question

<jf6o81Fcs4aU1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=7401&group=comp.os.linux.misc#7401

 copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Kirk_Roc...@nowhere.invalid (Kirk_Rockstein)
Newsgroups: comp.os.linux.misc
Subject: Re: xdg-open script question
Date: 25 May 2022 13:11:29 GMT
Lines: 34
Message-ID: <jf6o81Fcs4aU1@mid.individual.net>
References: <jf4vkjF2bidU1@mid.individual.net> <ygasfoxncbu.fsf@akutech.de>
X-Trace: individual.net Tvk98qkpjpjbzlMwU+mqcAZ3+blb6n/TekEJ0bHt8DPdtnyViC
Cancel-Lock: sha1:ZIITnQpxJjmkHegUVRTzDzDKi3I=
User-Agent: slrn/pre1.0.4-6/co (Aptosid Fluxbox)
 by: Kirk_Rockstein - Wed, 25 May 2022 13:11 UTC

On 2022-05-25, Ralf Fassel <ralfixx@gmx.de> wrote:
> * Kirk_Rockstein <Kirk_Rockstein@nowhere.invalid>
>| kirk@shuttle:~$ /usr/bin/git-annex webapp
>| /usr/bin/git-annex: Relink `/usr/lib/i386-linux-gnu/libmagic.so.1' with `/lib/i386-linux-gnu/libpthread.so.0' for IFUNC symbol `vfork'
>| Launching web browser on file:///home/kirk/annex/.git/annex/webapp.html
>| /usr/bin/xdg-open: line 811: : command not found
>>
>| Where do I start to trouble shoot this, at line 811 of the xdg-open script?
>
> I would run
>
> sh -x /usr/bin/xdg-open file:///home/kirk/annex/.git/annex/webapp.html
>
> from the command line and see whether it gives the same error.
>
> If it does, the outpout (which is plenty and probably should be
> redirected to a file) should give a hint what the problem is.
>
> I suspect that the problem is a lookup on a command which is not found,
> and thus the shell tries to execute "":
>
> $ ""
> sh: : command not found
>
> HTH
> R'

Ralf, ..that directed me to the problem.
It was the wrong application associated with the mime type in the
/usr/local/share/applications/mimeinfo.cache file.
Thanks Dan and Ralf.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor