GEO module not found with BaseX GUI

Friday, 10 November 2017 · 13 messages · last reply 12 Nov 2017
EJ
E. Wray Johnson10 Nov 2017 15:33 #
Error: Stopped at D:/projects/xquery/geo test.xq, 1/57: [XQST0059] Module not found: http://expath.org/ns/geo. Query:
import module namespace geo = "http://expath.org/ns/geo"; declare namespace
gml='http://www.opengis.net/gml'; for $x in db:open('geonames2','country')
where index-of(['US'], $x/json/countryCode)>0 return geo:envelope(
<gml:LinearRing> <gml:coordinates>($x/west, $x/south), ($x/east, $x/south),
($x/east, $x/north), ($x/west, $x/north), ($x/west,
$x/south)</gml:coordinates> </gml:LinearRing> )
OS: Windows 7 Installation Method: Windows installer Launch: basexgui.bat I had this problem long ago. https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1
CG
Christian Grünin reply to E. Wray Johnson, 11 Nov 2017, 17:3611 Nov 2017 16:42 #
Sorry for keeping you waiting. So this problem occurs when running basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a difference from which directory you start the scripts? And I guess the problem also occurs with the latest snapshot? Thanks in advance, Christian
Quoted text · E. Wray Johnson · 27 lines
Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: > This happens in the BaseX GUI not Server. > > Error: > Stopped at D:/projects/xquery/geo test.xq, 1/57: > [XQST0059] Module not found: http://expath.org/ns/geo. > > Query: > import module namespace geo = "http://expath.org/ns/geo"; declare > namespace gml='http://www.opengis.net/gml'; for $x in > db:open('geonames2','country') where index-of(['US'], > $x/json/countryCode)>0 return geo:envelope( <gml:LinearRing> > <gml:coordinates>($x/west, $x/south), ($x/east, $x/south), ($x/east, > $x/north), ($x/west, $x/north), ($x/west, $x/south)</gml:coordinates> > </gml:LinearRing> ) > > OS: Windows 7 > Installation Method: Windows installer > Launch: basexgui.bat > > I had this problem long ago. > > https://www.mail-archive.com/search?l=basex-talk@mailman. > uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+ > Module+Not+found%22&o=newest&f=1 > >
CG
Christian Grünin reply to E. Wray Johnson, 11 Nov 2017, 17:4911 Nov 2017 16:58 #
I installed 8.6.7 on a clean system (Windows 10), and the Geo module is correctly detected when running basexgui.bat. I can confirm, however, that it is not found when running BaseX.exe. Maybe it helps to delete and reinstall BaseX? If it doesn’t, feel free to provide me with some steps how to reproduce the issue.
Quoted text · E. Wray Johnson · 51 lines
Am 11.11.2017 16:49 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: > Yes this problem occurs when running basexgui.bat, but it doesn’t if I run > basexserver.bat. > I am running official version 8.6.7. > I have not tried the latest snapshot. > It does not make a difference the directory from which it runs. > > > On Sat, Nov 11, 2017 at 10:42 AM Christian Grün <christian.gruen at gmail.com> > wrote: > >> Sorry for keeping you waiting. So this problem occurs when running >> basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a >> difference from which directory you start the scripts? And I guess the >> problem also occurs with the latest snapshot? >> >> Thanks in advance, >> Christian >> >> >> >> >> >> Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >> >>> This happens in the BaseX GUI not Server. >>> >>> Error: >>> Stopped at D:/projects/xquery/geo test.xq, 1/57: >>> [XQST0059] Module not found: http://expath.org/ns/geo. >>> >>> Query: >>> import module namespace geo = "http://expath.org/ns/geo"; declare >>> namespace gml='http://www.opengis.net/gml'; for $x in >>> db:open('geonames2','country') where index-of(['US'], >>> $x/json/countryCode)>0 return geo:envelope( <gml:LinearRing> >>> <gml:coordinates>($x/west, $x/south), ($x/east, $x/south), ($x/east, >>> $x/north), ($x/west, $x/north), ($x/west, $x/south)</gml:coordinates> >>> </gml:LinearRing> ) >>> >>> OS: Windows 7 >>> Installation Method: Windows installer >>> Launch: basexgui.bat >>> >>> I had this problem long ago. >>> >>> https://www.mail-archive.com/search?l=basex-talk at mailman.uni >>> -konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Modu >>> le+Not+found%22&o=newest&f=1 >>> >>>
EJ
E. Wray Johnsonin reply to E. Wray Johnson, 10 Nov 2017, 15:3311 Nov 2017 17:36 #
This happens in the BaseX GUI not Server.
Quoted text · E. Wray Johnson · 14 lines
> Error: > Stopped at D:/projects/xquery/geo test.xq, 1/57: > [XQST0059] Module not found: http://expath.org/ns/geo. > > Query: > import module namespace geo = "http://expath.org/ns/geo"; declare namespace gml='http://www.opengis.net/gml'; for $x in db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, $x/south)</gml:coordinates> </gml:LinearRing> ) > > OS: Windows 7 > Installation Method: Windows installer > Launch: basexgui.bat > > I had this problem long ago. > > https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1
EJ
E. Wray Johnsonin reply to Christian Grün, 11 Nov 2017, 16:4211 Nov 2017 17:49 #
Yes this problem occurs when running basexgui.bat, but it doesn’t if I run basexserver.bat. I am running official version 8.6.7. I have not tried the latest snapshot. It does not make a difference the directory from which it runs.
Quoted text · Christian Grün · 42 lines
On Sat, Nov 11, 2017 at 10:42 AM Christian Grün <christian.gruen at gmail.com> wrote: > Sorry for keeping you waiting. So this problem occurs when running > basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a > difference from which directory you start the scripts? And I guess the > problem also occurs with the latest snapshot? > > Thanks in advance, > Christian > > > > > > Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: > >> This happens in the BaseX GUI not Server. >> >> Error: >> Stopped at D:/projects/xquery/geo test.xq, 1/57: >> [XQST0059] Module not found: http://expath.org/ns/geo. >> >> Query: >> import module namespace geo = "http://expath.org/ns/geo"; declare >> namespace gml='http://www.opengis.net/gml'; for $x in >> db:open('geonames2','country') where index-of(['US'], >> $x/json/countryCode)>0 return geo:envelope( <gml:LinearRing> >> <gml:coordinates>($x/west, $x/south), ($x/east, $x/south), ($x/east, >> $x/north), ($x/west, $x/north), ($x/west, $x/south)</gml:coordinates> >> </gml:LinearRing> ) >> >> OS: Windows 7 >> Installation Method: Windows installer >> Launch: basexgui.bat >> >> I had this problem long ago. >> >> https://www.mail-archive.com/search?l=basex-talk@mailman. >> uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+ >> Module+Not+found%22&o=newest&f=1 >> >>
KS
karol stachurain reply to Christian Grün, 11 Nov 2017, 16:5811 Nov 2017 18:51 #
Try to change slash to backslash in basexgui.bat (windows) In my case this solved the problem. Regards, Karol Stachura W dniu 2017-11-11 o 16:58, Christian Grün pisze:
Quoted text · Christian Grün · 66 lines
> I installed 8.6.7 on a clean system (Windows 10), and the Geo module > is correctly detected when running basexgui.bat. I can confirm, > however, that it is not found when running BaseX.exe. > > Maybe it helps to delete and reinstall BaseX? If it doesn’t, feel free > to provide me with some steps how to reproduce the issue. > > > > > > Am 11.11.2017 16:49 schrieb "E. Wray Johnson" <wray.johnson at gmail.com > <mailto:wray.johnson at gmail.com>>: > > Yes this problem occurs when running basexgui.bat, but it doesn’t > if I run basexserver.bat. > I am running official version 8.6.7. > I have not tried the latest snapshot. > It does not make a difference the directory from which it runs. > > > On Sat, Nov 11, 2017 at 10:42 AM Christian Grün > <christian.gruen at gmail.com <mailto:christian.gruen at gmail.com>> wrote: > > Sorry for keeping you waiting. So this problem occurs when > running basexgui.bat, but it doesn’t if you run > basexserver.bat? Does it make a difference from which > directory you start the scripts? And I guess the problem also > occurs with the latest snapshot? > > Thanks in advance, > Christian > > > > > > Am 11.11.2017 16:37 schrieb "E. Wray Johnson" > <wray.johnson at gmail.com <mailto:wray.johnson at gmail.com>>: > > This happens in the BaseX GUI not Server. > >> Error: >> Stopped at D:/projects/xquery/geo test.xq, 1/57: >> [XQST0059] Module not found: http://expath.org/ns/geo. >> >> Query: >> import module namespace geo = "http://expath.org/ns/geo"; >> declare namespace gml='http://www.opengis.net/gml >> <http://www.opengis.net/gml>'; for $x in >> db:open('geonames2','country') where index-of(['US'], >> $x/json/countryCode)>0 return geo:envelope( >> <gml:LinearRing> <gml:coordinates>($x/west, $x/south), >> ($x/east, $x/south), ($x/east, $x/north), ($x/west, >> $x/north), ($x/west, $x/south)</gml:coordinates> >> </gml:LinearRing> ) >> >> OS: Windows 7 >> Installation Method: Windows installer >> Launch: basexgui.bat >> >> I had this problem long ago. >> >> https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1 >> <https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1> >
EJ
E. Wray Johnson11 Nov 2017 20:06 #
That worked. Thanks Wray Johnson
Quoted text · karol stachura · 54 lines
> On Nov 11, 2017, at 12:51 PM, karol stachura <ks at geoinformatyka.com.pl> wrote: > > Try to change slash to backslash in basexgui.bat (windows) > > In my case this solved the problem. > Regards, > > Karol Stachura > > > W dniu 2017-11-11 o 16:58, Christian Grün pisze: >> I installed 8.6.7 on a clean system (Windows 10), and the Geo module is correctly detected when running basexgui.bat. I can confirm, however, that it is not found when running BaseX.exe. >> >> Maybe it helps to delete and reinstall BaseX? If it doesn’t, feel free to provide me with some steps how to reproduce the issue. >> >> >> >> >> >> Am 11.11.2017 16:49 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>> Yes this problem occurs when running basexgui.bat, but it doesn’t if I run basexserver.bat. >>> I am running official version 8.6.7. >>> I have not tried the latest snapshot. >>> It does not make a difference the directory from which it runs. >>> >>> >>>> On Sat, Nov 11, 2017 at 10:42 AM Christian Grün <christian.gruen at gmail.com> wrote: >>>> Sorry for keeping you waiting. So this problem occurs when running basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a difference from which directory you start the scripts? And I guess the problem also occurs with the latest snapshot? >>>> >>>> Thanks in advance, >>>> Christian >>>> >>>> >>>> >>>> >>>> >>>> Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>>> This happens in the BaseX GUI not Server. >>>>> >>>>>> Error: >>>>>> Stopped at D:/projects/xquery/geo test.xq, 1/57: >>>>>> [XQST0059] Module not found: http://expath.org/ns/geo. >>>>>> >>>>>> Query: >>>>>> import module namespace geo = "http://expath.org/ns/geo"; declare namespace gml='http://www.opengis.net/gml'; for $x in db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, $x/south)</gml:coordinates> </gml:LinearRing> ) >>>>>> >>>>>> OS: Windows 7 >>>>>> Installation Method: Windows installer >>>>>> Launch: basexgui.bat >>>>>> >>>>>> I had this problem long ago. >>>>>> >>>>>> https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1 >
CG
Christian Grünin reply to karol stachura, 11 Nov 2017, 18:5111 Nov 2017 20:10 #
Dear Karol, Thanks for the interesting hint; I have just revised the scripts and uploaded new snapshots [1]. I am wondering right now why the (questionable) forward slashes never caused any problems on our systems. May I ask which version of Windows you are using? Next (@E. Wray), I am wondering why the Geo Module was contained in the class path when using the BaseX server, because all Windows start scripts were using forward slashes. Any thoughts are welcome. Best, Christian [1] http://files.basex.org/releases/latest/
Quoted text · karol stachura · 74 lines
On Sat, Nov 11, 2017 at 6:51 PM, karol stachura <ks at geoinformatyka.com.pl> wrote: > Try to change slash to backslash in basexgui.bat (windows) > > In my case this solved the problem. > > Regards, > > Karol Stachura > > > W dniu 2017-11-11 o 16:58, Christian Grün pisze: > > I installed 8.6.7 on a clean system (Windows 10), and the Geo module is > correctly detected when running basexgui.bat. I can confirm, however, that > it is not found when running BaseX.exe. > > Maybe it helps to delete and reinstall BaseX? If it doesn’t, feel free to > provide me with some steps how to reproduce the issue. > > > > > > Am 11.11.2017 16:49 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >> >> Yes this problem occurs when running basexgui.bat, but it doesn’t if I run >> basexserver.bat. >> I am running official version 8.6.7. >> I have not tried the latest snapshot. >> It does not make a difference the directory from which it runs. >> >> >> On Sat, Nov 11, 2017 at 10:42 AM Christian Grün >> <christian.gruen at gmail.com> wrote: >>> >>> Sorry for keeping you waiting. So this problem occurs when running >>> basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a >>> difference from which directory you start the scripts? And I guess the >>> problem also occurs with the latest snapshot? >>> >>> Thanks in advance, >>> Christian >>> >>> >>> >>> >>> >>> Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>> >>>> This happens in the BaseX GUI not Server. >>>> >>>> Error: >>>> Stopped at D:/projects/xquery/geo test.xq, 1/57: >>>> [XQST0059] Module not found: http://expath.org/ns/geo. >>>> >>>> Query: >>>> import module namespace geo = "http://expath.org/ns/geo"; declare >>>> namespace gml='http://www.opengis.net/gml'; for $x in >>>> db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 >>>> return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), >>>> ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, >>>> $x/south)</gml:coordinates> </gml:LinearRing> ) >>>> >>>> OS: Windows 7 >>>> Installation Method: Windows installer >>>> Launch: basexgui.bat >>>> >>>> I had this problem long ago. >>>> >>>> >>>> https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1 > >
KS
karol stachura11 Nov 2017 22:38 #
Hello, Windows 10 Home version 1703 compilation: 15063.674 jre1.8.0_151 Regards, Karol Stachura W dniu 2017-11-11 o 20:10, Christian Grün pisze:
Quoted text · Christian Grün · 90 lines
> Dear Karol, > > Thanks for the interesting hint; I have just revised the scripts and > uploaded new snapshots [1]. > > I am wondering right now why the (questionable) forward slashes never > caused any problems on our systems. May I ask which version of Windows > you are using? > > Next (@E. Wray), I am wondering why the Geo Module was contained in > the class path when using the BaseX server, because all Windows start > scripts were using forward slashes. Any thoughts are welcome. > > Best, > Christian > > [1] http://files.basex.org/releases/latest/ > > > > On Sat, Nov 11, 2017 at 6:51 PM, karol stachura > <ks at geoinformatyka.com.pl> wrote: >> Try to change slash to backslash in basexgui.bat (windows) >> >> In my case this solved the problem. >> >> Regards, >> >> Karol Stachura >> >> >> W dniu 2017-11-11 o 16:58, Christian Grün pisze: >> >> I installed 8.6.7 on a clean system (Windows 10), and the Geo module is >> correctly detected when running basexgui.bat. I can confirm, however, that >> it is not found when running BaseX.exe. >> >> Maybe it helps to delete and reinstall BaseX? If it doesn’t, feel free to >> provide me with some steps how to reproduce the issue. >> >> >> >> >> >> Am 11.11.2017 16:49 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>> Yes this problem occurs when running basexgui.bat, but it doesn’t if I run >>> basexserver.bat. >>> I am running official version 8.6.7. >>> I have not tried the latest snapshot. >>> It does not make a difference the directory from which it runs. >>> >>> >>> On Sat, Nov 11, 2017 at 10:42 AM Christian Grün >>> <christian.gruen at gmail.com> wrote: >>>> Sorry for keeping you waiting. So this problem occurs when running >>>> basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a >>>> difference from which directory you start the scripts? And I guess the >>>> problem also occurs with the latest snapshot? >>>> >>>> Thanks in advance, >>>> Christian >>>> >>>> >>>> >>>> >>>> >>>> Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>>> This happens in the BaseX GUI not Server. >>>>> >>>>> Error: >>>>> Stopped at D:/projects/xquery/geo test.xq, 1/57: >>>>> [XQST0059] Module not found: http://expath.org/ns/geo. >>>>> >>>>> Query: >>>>> import module namespace geo = "http://expath.org/ns/geo"; declare >>>>> namespace gml='http://www.opengis.net/gml'; for $x in >>>>> db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 >>>>> return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), >>>>> ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, >>>>> $x/south)</gml:coordinates> </gml:LinearRing> ) >>>>> >>>>> OS: Windows 7 >>>>> Installation Method: Windows installer >>>>> Launch: basexgui.bat >>>>> >>>>> I had this problem long ago. >>>>> >>>>> >>>>> https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1 >>
EJ
E. Wray Johnson12 Nov 2017 00:46 #
Windows 7 Wray Johnson
Quoted text · karol stachura · 105 lines
> On Nov 11, 2017, at 4:38 PM, karol stachura <ks at geoinformatyka.com.pl> wrote: > > Hello, > > Windows 10 Home version 1703 compilation: 15063.674 > > jre1.8.0_151 > > Regards, > > Karol Stachura > > > W dniu 2017-11-11 o 20:10, Christian Grün pisze: >> Dear Karol, >> >> Thanks for the interesting hint; I have just revised the scripts and >> uploaded new snapshots [1]. >> >> I am wondering right now why the (questionable) forward slashes never >> caused any problems on our systems. May I ask which version of Windows >> you are using? >> >> Next (@E. Wray), I am wondering why the Geo Module was contained in >> the class path when using the BaseX server, because all Windows start >> scripts were using forward slashes. Any thoughts are welcome. >> >> Best, >> Christian >> >> [1] http://files.basex.org/releases/latest/ >> >> >> >> On Sat, Nov 11, 2017 at 6:51 PM, karol stachura >> <ks at geoinformatyka.com.pl> wrote: >>> Try to change slash to backslash in basexgui.bat (windows) >>> >>> In my case this solved the problem. >>> >>> Regards, >>> >>> Karol Stachura >>> >>> >>> W dniu 2017-11-11 o 16:58, Christian Grün pisze: >>> >>> I installed 8.6.7 on a clean system (Windows 10), and the Geo module is >>> correctly detected when running basexgui.bat. I can confirm, however, that >>> it is not found when running BaseX.exe. >>> >>> Maybe it helps to delete and reinstall BaseX? If it doesn’t, feel free to >>> provide me with some steps how to reproduce the issue. >>> >>> >>> >>> >>> >>> Am 11.11.2017 16:49 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>> Yes this problem occurs when running basexgui.bat, but it doesn’t if I run >>>> basexserver.bat. >>>> I am running official version 8.6.7. >>>> I have not tried the latest snapshot. >>>> It does not make a difference the directory from which it runs. >>>> >>>> >>>> On Sat, Nov 11, 2017 at 10:42 AM Christian Grün >>>> <christian.gruen at gmail.com> wrote: >>>>> Sorry for keeping you waiting. So this problem occurs when running >>>>> basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a >>>>> difference from which directory you start the scripts? And I guess the >>>>> problem also occurs with the latest snapshot? >>>>> >>>>> Thanks in advance, >>>>> Christian >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>>>> This happens in the BaseX GUI not Server. >>>>>> >>>>>> Error: >>>>>> Stopped at D:/projects/xquery/geo test.xq, 1/57: >>>>>> [XQST0059] Module not found: http://expath.org/ns/geo. >>>>>> >>>>>> Query: >>>>>> import module namespace geo = "http://expath.org/ns/geo"; declare >>>>>> namespace gml='http://www.opengis.net/gml'; for $x in >>>>>> db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 >>>>>> return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), >>>>>> ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, >>>>>> $x/south)</gml:coordinates> </gml:LinearRing> ) >>>>>> >>>>>> OS: Windows 7 >>>>>> Installation Method: Windows installer >>>>>> Launch: basexgui.bat >>>>>> >>>>>> I had this problem long ago. >>>>>> >>>>>> >>>>>> https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1 >>> >
CG
Christian Grün12 Nov 2017 21:29 #
Thanks. Wray, I’m still interested in finding out why the gui script behaves differently than the server script (but are nearly identical). Could you possibly send me your start scripts and the XQuery expression with the Geo module import that caused the problems you reported?
Quoted text · E. Wray Johnson · 111 lines
On Sat, Nov 11, 2017 at 11:46 PM, E. Wray Johnson <wray.johnson at gmail.com> wrote: > Windows 7 > > Wray Johnson > >> On Nov 11, 2017, at 4:38 PM, karol stachura <ks at geoinformatyka.com.pl> wrote: >> >> Hello, >> >> Windows 10 Home version 1703 compilation: 15063.674 >> >> jre1.8.0_151 >> >> Regards, >> >> Karol Stachura >> >> >> W dniu 2017-11-11 o 20:10, Christian Grün pisze: >>> Dear Karol, >>> >>> Thanks for the interesting hint; I have just revised the scripts and >>> uploaded new snapshots [1]. >>> >>> I am wondering right now why the (questionable) forward slashes never >>> caused any problems on our systems. May I ask which version of Windows >>> you are using? >>> >>> Next (@E. Wray), I am wondering why the Geo Module was contained in >>> the class path when using the BaseX server, because all Windows start >>> scripts were using forward slashes. Any thoughts are welcome. >>> >>> Best, >>> Christian >>> >>> [1] http://files.basex.org/releases/latest/ >>> >>> >>> >>> On Sat, Nov 11, 2017 at 6:51 PM, karol stachura >>> <ks at geoinformatyka.com.pl> wrote: >>>> Try to change slash to backslash in basexgui.bat (windows) >>>> >>>> In my case this solved the problem. >>>> >>>> Regards, >>>> >>>> Karol Stachura >>>> >>>> >>>> W dniu 2017-11-11 o 16:58, Christian Grün pisze: >>>> >>>> I installed 8.6.7 on a clean system (Windows 10), and the Geo module is >>>> correctly detected when running basexgui.bat. I can confirm, however, that >>>> it is not found when running BaseX.exe. >>>> >>>> Maybe it helps to delete and reinstall BaseX? If it doesn’t, feel free to >>>> provide me with some steps how to reproduce the issue. >>>> >>>> >>>> >>>> >>>> >>>> Am 11.11.2017 16:49 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>>> Yes this problem occurs when running basexgui.bat, but it doesn’t if I run >>>>> basexserver.bat. >>>>> I am running official version 8.6.7. >>>>> I have not tried the latest snapshot. >>>>> It does not make a difference the directory from which it runs. >>>>> >>>>> >>>>> On Sat, Nov 11, 2017 at 10:42 AM Christian Grün >>>>> <christian.gruen at gmail.com> wrote: >>>>>> Sorry for keeping you waiting. So this problem occurs when running >>>>>> basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a >>>>>> difference from which directory you start the scripts? And I guess the >>>>>> problem also occurs with the latest snapshot? >>>>>> >>>>>> Thanks in advance, >>>>>> Christian >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>>>>> This happens in the BaseX GUI not Server. >>>>>>> >>>>>>> Error: >>>>>>> Stopped at D:/projects/xquery/geo test.xq, 1/57: >>>>>>> [XQST0059] Module not found: http://expath.org/ns/geo. >>>>>>> >>>>>>> Query: >>>>>>> import module namespace geo = "http://expath.org/ns/geo"; declare >>>>>>> namespace gml='http://www.opengis.net/gml'; for $x in >>>>>>> db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 >>>>>>> return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), >>>>>>> ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, >>>>>>> $x/south)</gml:coordinates> </gml:LinearRing> ) >>>>>>> >>>>>>> OS: Windows 7 >>>>>>> Installation Method: Windows installer >>>>>>> Launch: basexgui.bat >>>>>>> >>>>>>> I had this problem long ago. >>>>>>> >>>>>>> >>>>>>> https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1 >>>> >>
CG
Christian Grünin reply to E. Wray Johnson, 12 Nov 2017, 22:4112 Nov 2017 21:42 #
Quoted text · E. Wray Johnson · 1 line
> Any of the samples from the documentation also create the problem.
Ok, so I just need the start scripts. If I got it right, the Geo Module import works with the server start script, even if you don’t replace slashes with backslashes, right?
Quoted text · Christian Grün · 122 lines
>> On Nov 12, 2017, at 3:29 PM, Christian Grün <christian.gruen at gmail.com> wrote: >> >> Thanks. >> >> Wray, I’m still interested in finding out why the gui script behaves >> differently than the server script (but are nearly identical). Could >> you possibly send me your start scripts and the XQuery expression with >> the Geo module import that caused the problems you reported? >> >> >> >> On Sat, Nov 11, 2017 at 11:46 PM, E. Wray Johnson >> <wray.johnson at gmail.com> wrote: >>> Windows 7 >>> >>> Wray Johnson >>> >>>> On Nov 11, 2017, at 4:38 PM, karol stachura <ks at geoinformatyka.com.pl> wrote: >>>> >>>> Hello, >>>> >>>> Windows 10 Home version 1703 compilation: 15063.674 >>>> >>>> jre1.8.0_151 >>>> >>>> Regards, >>>> >>>> Karol Stachura >>>> >>>> >>>> W dniu 2017-11-11 o 20:10, Christian Grün pisze: >>>>> Dear Karol, >>>>> >>>>> Thanks for the interesting hint; I have just revised the scripts and >>>>> uploaded new snapshots [1]. >>>>> >>>>> I am wondering right now why the (questionable) forward slashes never >>>>> caused any problems on our systems. May I ask which version of Windows >>>>> you are using? >>>>> >>>>> Next (@E. Wray), I am wondering why the Geo Module was contained in >>>>> the class path when using the BaseX server, because all Windows start >>>>> scripts were using forward slashes. Any thoughts are welcome. >>>>> >>>>> Best, >>>>> Christian >>>>> >>>>> [1] http://files.basex.org/releases/latest/ >>>>> >>>>> >>>>> >>>>> On Sat, Nov 11, 2017 at 6:51 PM, karol stachura >>>>> <ks at geoinformatyka.com.pl> wrote: >>>>>> Try to change slash to backslash in basexgui.bat (windows) >>>>>> >>>>>> In my case this solved the problem. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Karol Stachura >>>>>> >>>>>> >>>>>> W dniu 2017-11-11 o 16:58, Christian Grün pisze: >>>>>> >>>>>> I installed 8.6.7 on a clean system (Windows 10), and the Geo module is >>>>>> correctly detected when running basexgui.bat. I can confirm, however, that >>>>>> it is not found when running BaseX.exe. >>>>>> >>>>>> Maybe it helps to delete and reinstall BaseX? If it doesn’t, feel free to >>>>>> provide me with some steps how to reproduce the issue. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Am 11.11.2017 16:49 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>>>>> Yes this problem occurs when running basexgui.bat, but it doesn’t if I run >>>>>>> basexserver.bat. >>>>>>> I am running official version 8.6.7. >>>>>>> I have not tried the latest snapshot. >>>>>>> It does not make a difference the directory from which it runs. >>>>>>> >>>>>>> >>>>>>> On Sat, Nov 11, 2017 at 10:42 AM Christian Grün >>>>>>> <christian.gruen at gmail.com> wrote: >>>>>>>> Sorry for keeping you waiting. So this problem occurs when running >>>>>>>> basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a >>>>>>>> difference from which directory you start the scripts? And I guess the >>>>>>>> problem also occurs with the latest snapshot? >>>>>>>> >>>>>>>> Thanks in advance, >>>>>>>> Christian >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>>>>>>> This happens in the BaseX GUI not Server. >>>>>>>>> >>>>>>>>> Error: >>>>>>>>> Stopped at D:/projects/xquery/geo test.xq, 1/57: >>>>>>>>> [XQST0059] Module not found: http://expath.org/ns/geo. >>>>>>>>> >>>>>>>>> Query: >>>>>>>>> import module namespace geo = "http://expath.org/ns/geo"; declare >>>>>>>>> namespace gml='http://www.opengis.net/gml'; for $x in >>>>>>>>> db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 >>>>>>>>> return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), >>>>>>>>> ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, >>>>>>>>> $x/south)</gml:coordinates> </gml:LinearRing> ) >>>>>>>>> >>>>>>>>> OS: Windows 7 >>>>>>>>> Installation Method: Windows installer >>>>>>>>> Launch: basexgui.bat >>>>>>>>> >>>>>>>>> I had this problem long ago. >>>>>>>>> >>>>>>>>> >>>>>>>>> https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1 >>>>>> >>>>
EJ
E. Wray Johnsonin reply to Christian Grün, 12 Nov 2017, 21:2912 Nov 2017 22:41 #
Any of the samples from the documentation also create the problem. Wray Johnson (m) 704-293-9008
Quoted text · Christian Grün · 122 lines
> On Nov 12, 2017, at 3:29 PM, Christian Grün <christian.gruen at gmail.com> wrote: > > Thanks. > > Wray, I’m still interested in finding out why the gui script behaves > differently than the server script (but are nearly identical). Could > you possibly send me your start scripts and the XQuery expression with > the Geo module import that caused the problems you reported? > > > > On Sat, Nov 11, 2017 at 11:46 PM, E. Wray Johnson > <wray.johnson at gmail.com> wrote: >> Windows 7 >> >> Wray Johnson >> >>> On Nov 11, 2017, at 4:38 PM, karol stachura <ks at geoinformatyka.com.pl> wrote: >>> >>> Hello, >>> >>> Windows 10 Home version 1703 compilation: 15063.674 >>> >>> jre1.8.0_151 >>> >>> Regards, >>> >>> Karol Stachura >>> >>> >>> W dniu 2017-11-11 o 20:10, Christian Grün pisze: >>>> Dear Karol, >>>> >>>> Thanks for the interesting hint; I have just revised the scripts and >>>> uploaded new snapshots [1]. >>>> >>>> I am wondering right now why the (questionable) forward slashes never >>>> caused any problems on our systems. May I ask which version of Windows >>>> you are using? >>>> >>>> Next (@E. Wray), I am wondering why the Geo Module was contained in >>>> the class path when using the BaseX server, because all Windows start >>>> scripts were using forward slashes. Any thoughts are welcome. >>>> >>>> Best, >>>> Christian >>>> >>>> [1] http://files.basex.org/releases/latest/ >>>> >>>> >>>> >>>> On Sat, Nov 11, 2017 at 6:51 PM, karol stachura >>>> <ks at geoinformatyka.com.pl> wrote: >>>>> Try to change slash to backslash in basexgui.bat (windows) >>>>> >>>>> In my case this solved the problem. >>>>> >>>>> Regards, >>>>> >>>>> Karol Stachura >>>>> >>>>> >>>>> W dniu 2017-11-11 o 16:58, Christian Grün pisze: >>>>> >>>>> I installed 8.6.7 on a clean system (Windows 10), and the Geo module is >>>>> correctly detected when running basexgui.bat. I can confirm, however, that >>>>> it is not found when running BaseX.exe. >>>>> >>>>> Maybe it helps to delete and reinstall BaseX? If it doesn’t, feel free to >>>>> provide me with some steps how to reproduce the issue. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Am 11.11.2017 16:49 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>>>> Yes this problem occurs when running basexgui.bat, but it doesn’t if I run >>>>>> basexserver.bat. >>>>>> I am running official version 8.6.7. >>>>>> I have not tried the latest snapshot. >>>>>> It does not make a difference the directory from which it runs. >>>>>> >>>>>> >>>>>> On Sat, Nov 11, 2017 at 10:42 AM Christian Grün >>>>>> <christian.gruen at gmail.com> wrote: >>>>>>> Sorry for keeping you waiting. So this problem occurs when running >>>>>>> basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a >>>>>>> difference from which directory you start the scripts? And I guess the >>>>>>> problem also occurs with the latest snapshot? >>>>>>> >>>>>>> Thanks in advance, >>>>>>> Christian >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson at gmail.com>: >>>>>>>> This happens in the BaseX GUI not Server. >>>>>>>> >>>>>>>> Error: >>>>>>>> Stopped at D:/projects/xquery/geo test.xq, 1/57: >>>>>>>> [XQST0059] Module not found: http://expath.org/ns/geo. >>>>>>>> >>>>>>>> Query: >>>>>>>> import module namespace geo = "http://expath.org/ns/geo"; declare >>>>>>>> namespace gml='http://www.opengis.net/gml'; for $x in >>>>>>>> db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 >>>>>>>> return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), >>>>>>>> ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, >>>>>>>> $x/south)</gml:coordinates> </gml:LinearRing> ) >>>>>>>> >>>>>>>> OS: Windows 7 >>>>>>>> Installation Method: Windows installer >>>>>>>> Launch: basexgui.bat >>>>>>>> >>>>>>>> I had this problem long ago. >>>>>>>> >>>>>>>> >>>>>>>> https://www.mail-archive.com/search?l=basex-talk at mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1 >>>>> >>>

⚡Generated with XQuery