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&...
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&...
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@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
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@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@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
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@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@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@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+Modu le+Not+found%22&o=newest&f=1
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@gmail.com mailto:wray.johnson@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@gmail.com <mailto:christian.gruen@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@gmail.com <mailto:wray.johnson@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@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@mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1>
That worked. Thanks
Wray Johnson
On Nov 11, 2017, at 12:51 PM, karol stachura ks@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@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@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@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&...
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@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@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@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@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&...
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@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@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@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@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&...
Windows 7
Wray Johnson
On Nov 11, 2017, at 4:38 PM, karol stachura ks@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@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@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@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@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&...
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@gmail.com wrote:
Windows 7
Wray Johnson
On Nov 11, 2017, at 4:38 PM, karol stachura ks@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@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@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@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@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&...
Any of the samples from the documentation also create the problem.
Wray Johnson (m) 704-293-9008
On Nov 12, 2017, at 3:29 PM, Christian Grün christian.gruen@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@gmail.com wrote:
Windows 7
Wray Johnson
On Nov 11, 2017, at 4:38 PM, karol stachura ks@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@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@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@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@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&...
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?
On Nov 12, 2017, at 3:29 PM, Christian Grün christian.gruen@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@gmail.com wrote:
Windows 7
Wray Johnson
On Nov 11, 2017, at 4:38 PM, karol stachura ks@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@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@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@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@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&...
basex-talk@mailman.uni-konstanz.de