Program contains errors.:(NONE).multiplex
Hi, I'm upgrading from an old MonetDB (11.26.0 source snapshot) to the latest proper release. However, my Python aggregate functions appear to have stopped working (Program contains errors.:(NONE).multiplex): Running mserver5 with: /usr/local/bin/mserver5 --daemon=yes --set embedded_py=true --dbpath=/data/monetdb-farm/ --set gdk_nr_threads=1 --set max_clients=6 Reproduce with: CREATE FUNCTION test_udf("conum" int) RETURNS STRING LANGUAGE PYTHON3 {{ }}; Create table test("id" uuid, "date" DATE, "number" INT); select test_udf("number") from test; Gives: Program contains errors.:(NONE).multiplex I'm running it via Docker (stock Debian) with only MonetDB installed via apt-get. Not sure if this is connected: https://www.monetdb.org/bugzilla/show_bug.cgi?id=6378 https://www.monetdb.org/bugzilla/show_bug.cgi?id=6378 Anyone having any similar issues? Tried compiling from source (April 2019 bransch) as well, no luck Regards, Niklas
On 25 Jan 2019, at 18:54, Niklas B
wrote: Hi,
I'm upgrading from an old MonetDB (11.26.0 source snapshot) to the latest proper release. However, my Python aggregate functions appear to have stopped working (Program contains errors.:(NONE).multiplex):
Running mserver5 with: /usr/local/bin/mserver5 --daemon=yes --set embedded_py=true --dbpath=/data/monetdb-farm/ --set gdk_nr_threads=1 --set max_clients=6
Reproduce with: CREATE FUNCTION test_udf("conum" int) RETURNS STRING LANGUAGE PYTHON3 {{ }};
Create table test("id" uuid, "date" DATE, "number" INT);
select test_udf("number") from test;
Gives: Program contains errors.:(NONE).multiplex
I'm running it via Docker (stock Debian) with only MonetDB installed via apt-get.
Not sure if this is connected: https://www.monetdb.org/bugzilla/show_bug.cgi?id=6378
Hai, Not sure if your problem is already solved, but afaik, your problem is related to this bug. The error message actually means that MonetDB is not able to find the python library, so it isn’t able to execute your python UDF. Regards, Jennie
Anyone having any similar issues?
Tried compiling from source (April 2019 bransch) as well, no luck
Regards, Niklas _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
I had the same problem, and it turned out that the system where I compiled
MonetDB was missing some required libraries (python-devel, python2-numpy
packages on Fedora)
Roberto
On Fri, 29 Mar 2019 at 13:27, Ying Zhang
On 25 Jan 2019, at 18:54, Niklas B
wrote: Hi,
I'm upgrading from an old MonetDB (11.26.0 source snapshot) to the latest proper release. However, my Python aggregate functions appear to have stopped working (Program contains errors.:(NONE).multiplex):
Running mserver5 with: /usr/local/bin/mserver5 --daemon=yes --set embedded_py=true --dbpath=/data/monetdb-farm/ --set gdk_nr_threads=1 --set max_clients=6
Reproduce with: CREATE FUNCTION test_udf("conum" int) RETURNS STRING LANGUAGE PYTHON3 {{ }};
Create table test("id" uuid, "date" DATE, "number" INT);
select test_udf("number") from test;
Gives: Program contains errors.:(NONE).multiplex
I'm running it via Docker (stock Debian) with only MonetDB installed via apt-get.
Not sure if this is connected: https://www.monetdb.org/bugzilla/show_bug.cgi?id=6378
Hai,
Not sure if your problem is already solved, but afaik, your problem is related to this bug. The error message actually means that MonetDB is not able to find the python library, so it isn’t able to execute your python UDF.
Regards, Jennie
Anyone having any similar issues?
Tried compiling from source (April 2019 bransch) as well, no luck
Regards, Niklas _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
participants (3)
-
Niklas B
-
Roberto Cornacchia
-
Ying Zhang