Datenbank grok: warum startet mozilla nicht mit der URL?

Vom einfachen Programm zum fertigen Debian-Paket, Fragen rund um Programmiersprachen, Scripting und Lizenzierung.
Antworten
Benutzeravatar
Andreas O.
Beiträge: 383
Registriert: 10.08.2003 16:49:48

Datenbank grok: warum startet mozilla nicht mit der URL?

Beitrag von Andreas O. » 11.01.2004 14:04:40

Hallo,

ich bin in Sachen Scripting ein absoluter Neuling und bräuchte deshalb Eure Hilfe.
In der Beispiel-Datenbank "www_pages" der Datenbank xmbase-grok (grok) habe ich den Eintrag "netscape" in der Datei "www_pages.gf" abgeändert auf "mozilla", das Programm will aber leider immer noch nicht starten.
Ist da was falsch in der Syntax ? Der Pfad /usr/bin/mozilla stimmt jedenfalls. Hier nun der relevate Ausschnitt aus www_pages.gf :
label Start Mozilla
ljust 0
lfont 0
gray
freeze
invis
skip
default
pattern
minlen 1
maxlen 0
ijust 0
ifont 0
p_act {system("/usr/bin/mozilla -remote 'openURL("._url.")' &")}
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Flag
name home
pos 80 44
size 108 28
mid 68 28
sumwid 1
sumcol 2
column 2
search 0
rdonly 0
nosort 0
defsort 0
timefmt 0
code h
codetxt H
label Home page
ljust 0
lfont 0
gray
freeze
invis
skip
default
pattern
minlen 1
maxlen 0
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Choice
name type
pos 208 44
size 76 28
mid 68 28
sumwid 7
sumcol 1
column 1
search 0
rdonly 0
nosort 0
defsort 0
timefmt 0
code c
codetxt Cool
label Cool
ljust 0
lfont 0
gray
freeze
invis
skip
default m
pattern
minlen 1
maxlen 0
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Choice
name type
pos 288 44
size 80 28
mid 68 28
sumwid 7
sumcol 1
column 1
search 0
rdonly 0
nosort 0
defsort 0
timefmt 0
code a
codetxt Archive
label Archive
ljust 0
lfont 0
gray
freeze
invis
skip
default m
pattern
minlen 1
maxlen 0
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Choice
name type
pos 372 44
size 80 28
mid 68 28
sumwid 7
sumcol 1
column 1
search 0
rdonly 0
nosort 0
defsort 0
timefmt 0
code y
codetxt Company
label Company
ljust 0
lfont 0
gray
freeze
invis
skip
default m
pattern
minlen 1
maxlen 0
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Choice
name type
pos 456 44
size 80 28
mid 68 28
sumwid 7
sumcol 1
column 1
search 0
rdonly 0
nosort 0
defsort 0
timefmt 0
code s
codetxt Search
label Search
ljust 0
lfont 0
gray
freeze
invis
skip
default m
pattern
minlen 1
maxlen 0
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Choice
name type
pos 540 44
size 80 28
mid 68 28
sumwid 7
sumcol 1
column 1
search 0
rdonly 0
nosort 0
defsort 0
timefmt 0
code b
codetxt Boring
label Boring
ljust 0
lfont 0
gray
freeze
invis
skip
default m
pattern
minlen 1
maxlen 0
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Choice
name type
pos 624 44
size 76 28
mid 68 28
sumwid 7
sumcol 1
column 1
search 0
rdonly 0
nosort 0
defsort 0
timefmt 0
code m
codetxt Misc
label Misc
ljust 0
lfont 0
gray
freeze
invis
skip
default m
pattern
minlen 1
maxlen 0
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Input
name url
pos 12 80
size 692 28
mid 68 28
sumwid 40
sumcol 4
column 4
search 1
rdonly 0
nosort 0
defsort 0
timefmt 0
code
codetxt
label URL:
ljust 0
lfont 1
gray
freeze
invis
skip
default
pattern
minlen 1
maxlen 1000
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Input
name keys
pos 12 116
size 692 28
mid 68 28
sumwid 100
sumcol 5
column 5
search 1
rdonly 0
nosort 0
defsort 0
timefmt 0
code
codetxt
label Keywords:
ljust 0
lfont 1
gray
freeze
invis
skip
default
pattern
minlen 1
maxlen 1000
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

item
type Note
name item5
pos 12 152
size 692 140
mid 68 16
sumwid 0
sumcol 0
column 6
search 1
rdonly 0
nosort 1
defsort 0
timefmt 0
code
codetxt
label Note:
ljust 0
lfont 1
gray
freeze
invis
skip
default
pattern
minlen 1
maxlen 10000
ijust 0
ifont 0
p_act
a_act
q_dbase
query
q_summ 1
q_first 0
q_last 1
q_last 1
ch_xrange 0 0
ch_yrange 0 0
ch_auto 0 0
ch_grid 0 0
ch_snap 0 0
ch_label 0 0
ch_xexpr
ch_yexpr
ch_ncomp 0

Ich denke/hoffe, daß hier nur ein kleiner Syntax-Fehler steckt, ich weiß nur nicht wo :roll:

Vielen Dank schon mal



Andreas

Antworten