external name fits.listdir not bound (sys.listdir) Fatal error during initialization: #6794
Last updated: 2020-02-16 22:42:03 +0100
Date: 2019-12-02 08:30:47 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
After I run
Steps to Reproduce:
shell> monetdbd create /path/to/mydbfarm
Date: 2019-12-02 08:31:14 +0100
Created attachment 638
Date: 2019-12-02 09:09:48 +0100
On Nov2019 release, whenever a SQL function defined in MAL is called, the server tests if the MAL definition exists. At your setting, the server attempted to call the SQL procedure listdir from the FITS module, but the MAL definition was not found. Please confirm if the fits.mal script is at lib/monetdb5 directory, as well as the lib_fits.so native library. The latter must be set also on the linker path if not installed at a regular path: LD_LIBRARY_PATH
Date: 2019-12-02 11:47:09 +0100
I can confirm this error. At least, our Debian installer is broken.
I installed MonetDB on a Ubuntu Bionis following the instructions here: https://www.monetdb.org/downloads/deb/
Then when I try to start a fresh database, I got:
$ mserver5 --dbpath=/tmp/test --set mapi_port=60000
Then, when I try to install the fits lib, I got another error:
I can workaround this by deleting the file:
Date: 2019-12-03 09:58:19 +0100
It seems the file /usr/lib/x86_64-linux-gnu/monetdb5/fits.mal has accidentally been included in the monetdb5-server package. Remove the file from you installation and things should work again.
Note, the file does need to be present if you als install the package libmonetdb5-server-cfitsio.
Date: 2019-12-03 10:04:48 +0100
For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=302e85949ac8
Date: 2019-12-09 22:42:58 +0100
In addition to the file mentioned in comment 4, the file /usr/lib/x86_64-linux-gnu/monetdb5/createdb/72_fits.sql needs to be removed as well.
On Fedora systems, the file /usr/lib64/monetdb/createdb/72_fits.sql should be removed.
As in comment 4, don't remove these files if you've actually also installed the MonetDB cfitsio package (libmonetdb5-server-cfitsio on Debian/Ubuntu, MonetDB-cfitsio on Fedora).
Date: 2020-02-16 22:42:03 +0100
*** Bug #6820 has been marked as a duplicate of this bug. ***
The text was updated successfully, but these errors were encountered: