Unable to install OpenML locally

I wanted to try OpenML locally therefore I followed instructions at https://github.com/openml/OpenML/wiki/Local-Installation
After editing website/openml_OS/config/BASE_CONFIG.php I tried to test the local install, however I see just blank page. Interesting thing is that it doesn't matter what configuration values do I use. Even when I try complete nonsense values I don't get any error, just the blank page.
Is this a symptom of something that sounds familiar to you?

Thank you for your reply, unfortunately this didn't help. I still get blank page, there is no HTML inside.
I should note that I am running other php apps on the same server without any issues.

Sorry, What response are you getting sending URL as follows http:/your_server/index.php?
You mentioned that your server  has many php applications so I am guessing that those apps have dedicated virtual directors, could you confirm?
I have notice that openml  server does not like to be installed under some virtual director structure  and  must be hosted by the “root” of /var/www/html.

Great. I am slowly progressing. I moved OpenML to  /var/www/html and after fixing several minor config issues I am in a state where I can see the initial page, however when I open "Data" page I get an error complaining about missing Elasticsearch index.
https://github.com/openml/OpenML/wiki/Local-Installation says: "you'll also want to build your own search indices to show all data on the website" however it doesn't give any advice on how to create them.
Here is Elasticsearch exception that I get:
    An uncaught Exception was encountered

    Type: Elasticsearch\Common\Exceptions\Missing404Exception

    Message: {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_expression","resource.id":"openml","index":"openml"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_expression","resource.id":"openml","index":"openml"},"status":404}

    Filename: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php

    Line Number: 590

    Backtrace:

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
    Line: 261
    Function: process4xxError

    File: /var/www/html/openml_OS/vendor/react/promise/src/FulfilledPromise.php
    Line: 25
    Function: Elasticsearch\Connections\{closure}

    File: /var/www/html/openml_OS/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php
    Line: 55
    Function: then

    File: /var/www/html/openml_OS/vendor/guzzlehttp/ringphp/src/Core.php
    Line: 341
    Function: then

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
    Line: 282
    Function: proxy

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
    Line: 159
    Function: Elasticsearch\Connections\{closure}

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php
    Line: 107
    Function: performRequest

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php
    Line: 1346
    Function: performRequest

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php
    Line: 179
    Function: performRequest

    File: /var/www/html/openml_OS/views/pages/frontend/search/subpage/data.php
    Line: 9
    Function: get

    File: /var/www/html/openml_OS/helpers/cms_helper.php
    Line: 40
    Function: view

    File: /var/www/html/openml_OS/views/pages/frontend/search/body.php
    Line: 16
    Function: subpage

    File: /var/www/html/openml_OS/helpers/cms_helper.php
    Line: 19
    Function: view

    File: /var/www/html/openml_OS/helpers/cms_helper.php
    Line: 23
    Function: loadpage

    File: /var/www/html/openml_OS/views/frontend_main.php
    Line: 312
    Function: body

    File: /var/www/html/openml_OS/controllers/Frontend.php
    Line: 95
    Function: view

    File: /var/www/html/index.php
    Line: 334
    Function: require_once

Hi, sorry I'm snowed under right now, so I can't really do much testing.
What you basically need to do is install Elasticsearch 5, and then update the BASE_CONFIG.php file with the ElasticSearch endpoint (ES_URL), by default that is something like localhost:9200, but you'll probably want to set it up properly (e.g. use a protected proxy).
define( 'ES_URL', 'https://www.yourserver.org:port' );
define( 'ES_USERNAME', 'user' );
define( 'ES_PASSWORD', 'pass' );
You then need to create a new index called 'openml' (see ElasticSearch docs on how to do that).
Finally, you need to build your mappings. There is a command line interface for this, which you need to run from the root folder (where index.php resides). The command is
php index.php cron index "type" id
where type is the type of the mapping, so you need to run this for all mappings:
task, flow, data, measure, task_type, run, study, like, download, downvote
and 'id' is the (optional) starting id, i.e. 'index run 1' will index all runs starting from run 1.
This will first initialize the mappings and then start indexing all objects in the openml_expdb database. Note: if you have downloaded the full OpenML database (the nightly snapshot), it will take a significant amount of time to index all runs.
We do have a webinterface for the search engine, but this is completely undocumented, unpolished, and only for admin use. Email me if you need more details.
Finally, I'm very interested in your use case. Why do you need a local setup of OpenML? Is this just to play around with it or do you have more ambitious goals? It would also be great if one of you could create a docker image with the complete setup, so that other people don't have to go through the complete process again. And finally, if you want to contribute to OpenML development, e.g. by building the docker image or otherwise making setup easier, we would be really happy with that!

Thank you, this helped me to do one more step.
I issued these commands that build the index and mappings:

curl -XPUT 'localhost:9200/openml?pretty' -H 'Content-Type: application/json' -d'
{
"settings" : {
"number_of_shards" : 3,
"number_of_replicas" : 2
}
}
'
for TYPE in task flow data measure task_type run study like download downvote
do
sudo php index.php cron index $TYPE 1
done

and now I get different exception
    An uncaught Exception was encountered

    Type: Elasticsearch\Common\Exceptions\Missing404Exception

    Message: {"_index":"openml","_type":"measure","_id":"NumberOfInstances","found":false}

    Filename: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php

    Line Number: 590

    Backtrace:

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
    Line: 261
    Function: process4xxError

    File: /var/www/html/openml_OS/vendor/react/promise/src/FulfilledPromise.php
    Line: 25
    Function: Elasticsearch\Connections\{closure}

    File: /var/www/html/openml_OS/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php
    Line: 55
    Function: then

    File: /var/www/html/openml_OS/vendor/guzzlehttp/ringphp/src/Core.php
    Line: 341
    Function: then

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
    Line: 282
    Function: proxy

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
    Line: 159
    Function: Elasticsearch\Connections\{closure}

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php
    Line: 107
    Function: performRequest

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php
    Line: 1346
    Function: performRequest

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php
    Line: 179
    Function: performRequest

    File: /var/www/html/openml_OS/views/pages/frontend/search/subpage/data.php
    Line: 9
    Function: get

    File: /var/www/html/openml_OS/helpers/cms_helper.php
    Line: 40
    Function: view

    File: /var/www/html/openml_OS/views/pages/frontend/search/body.php
    Line: 16
    Function: subpage

    File: /var/www/html/openml_OS/helpers/cms_helper.php
    Line: 19
    Function: view

    File: /var/www/html/openml_OS/helpers/cms_helper.php
    Line: 23
    Function: loadpage

    File: /var/www/html/openml_OS/views/frontend_main.php
    Line: 312
    Function: body

    File: /var/www/html/openml_OS/controllers/Frontend.php
    Line: 95
    Function: view

    File: /var/www/html/index.php
    Line: 334
    Function: require_once

I want to install OpenML to see how easily it can be extended. I agree that docker image would be helpful :-) If I succeed installing OpenML locally I would consider creating it.

Hi, I am still struggling with mappings. I am using the latest Elasticsearch 5.4.1.  I tried two things:

when I use database schema without any data for openml_expdb (https://www.openml.org/downloads/openml_expdb.sql) I can run the command for building mappings without any error, however when I check elasticsearch with "curl -XGET 'localhost:9200/openml/_mapping?pretty'" it doesn't show any mappings.

when I use snapshot DB (https://www.openml.org/downloads/ExpDB_SNAPSHOT.sql.gz) there are some errors when the mappings are build:

A PHP Error was encountered
Severity:    Notice
Message:     Use of undefined constant JSON_PRESERVE_ZERO_FRACTION - assumed 'JSON_PRESERVE_ZERO_FRACTION'
Filename:    /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Serializers/SmartSerializer.php
Line Number: 30
Backtrace:
File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Serializers/SmartSerializer.php
Line: 30
Function: _error_handler
    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Bulk.php
    Line: 40
    Function: serialize

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php
    Line: 644
    Function: setBody

    File: /var/www/html/openml_OS/libraries/ElasticSearch.php
    Line: 434
    Function: bulk

    File: /var/www/html/openml_OS/libraries/ElasticSearch.php
    Line: 362
    Function: index_downvote

    File: /var/www/html/openml_OS/controllers/Cron.php
    Line: 50
    Function: index

    File: /var/www/html/index.php
    Line: 334
    Function: require_once

A PHP Error was encountered
Severity:    Warning
Message:     json_encode() expects parameter 2 to be long, string given
Filename:    /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Serializers/SmartSerializer.php
Line Number: 30
Backtrace:
File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Serializers/SmartSerializer.php
Line: 30
Function: json_encode
    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Bulk.php
    Line: 40
    Function: serialize

    File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php
    Line: 644
    Function: setBody

    File: /var/www/html/openml_OS/libraries/ElasticSearch.php
    Line: 434
    Function: bulk

    File: /var/www/html/openml_OS/libraries/ElasticSearch.php
    Line: 362
    Function: index_downvote

    File: /var/www/html/openml_OS/controllers/Cron.php
    Line: 50
    Function: index

    File: /var/www/html/index.php
    Line: 334
    Function: require_once

I am following your instruction with limited success. So far I was able to create index and mapping as you described in previous posts.  I had similar problem with re-creating databases using openml snap-shot but openml_expdb.sql worked quite well for me thus I ma not sure ...
My current problem is that I cannot add data, tasks etc. in theory  I should be  pointed to add .. page but I ma geting blank page.   To my surprise  firefox debugger shows  all http transaction with status 200 (ok) and  console message “All is well”, from ping to elaseticsearch? I running out  of ideas how install  this apps.
Haps
PS.
I am happy to send you screen-dumps form firefox if you wish.

@haps-basset
Is it the upload form that is blank? Did you configure php to show errors and warnings?

@rkadlec Are you still having difficulties creating the mappings?
I googled your first error. Does this help? Is may be a matter of using the right PHP and ES versions
https://github.com/elastic/elasticsearch-php/issues/534
If it helps, our latest install uses ES 5.0.2 and PHP 7.0.15.

I updated some code to automatically build the indices from scratch. It's in the develop branch but will likely be pushed to master soon. Below is a .sh script that should do everything, assuming that ElasticSearch and MySQL are installed and configured. Let me know how it goes.
# reset ES search index
echo "Deleting and recreating the ES index: "
curl -XDELETE http://localhost:9200/openml
curl -XPUT 'localhost:9200/openml?pretty' -H 'Content-Type: application/json' -d'
{
    "settings" : {
        "index" : {
            "number_of_shards" : 3,
            "number_of_replicas" : 2
        }
    }
}
'

# go to right directory
cd /var/www/openml.org/public_html/

# import database
# Download from http://openml.org/downloads/openml_expdb.sql
mysql -u root -pPASS < openml_expdb.sql

# rebuild search index
sudo php index.php cron build_es_indices

You also need to set up cronjobs for the OpenML services:
java -Xmx4G -jar /var/www/openml.org/public_html/openml_OS/third_party/OpenML/Java/evaluate.jar -config "server = http://yourserver.org/;api_key =XXX" -f process_dataset &> /dev/null
There are 3 main services:

process_dataset
evaluate_run
extract_features_all

Here is my update:

I upgraded PHP from 5.4 to 7.x
I started using develop branch

I get new exception that is probably caused by our network environment, we are behind a proxy.
When I run "sudo php index.php cron build_es_indices" I get an error from the proxy even though ES is running on localhost and I have $no_proxy env variable properly set for localhost.  I tried setting EXTERNAL_API_PROXY* properties in BASE_CONFIG.php  but this doesn't change anything.
Here is the complete error:
Starting downvote indexer from id 1...
An uncaught Exception was encountered
Type:        Elasticsearch\Common\Exceptions\ServerErrorResponseException
Message:

ERROR: The requested URL could not be retrieved

ERROR
The requested URL could not be retrieved

The following error was encountered while trying to retrieve the URL: http://localhost:9200/openml/_mapping/downvote

Connection to ::1 failed.

The system returned: (111) Connection refused
The remote host or network may be down. Please try the request again.
Your cache administrator is webmaster.

Generated Thu, 15 Jun 2017 08:50:19 GMT by f551ae7a6157 (squid/3.5.12)

Filename:    /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
Line Number: 686
Backtrace:
File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
Line: 664
Function: tryDeserializeError
File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
Line: 625
Function: tryDeserialize500Error

File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
Line: 264
Function: process5xxError

File: /var/www/html/openml_OS/vendor/react/promise/src/FulfilledPromise.php
Line: 25
Function: Elasticsearch\Connections\{closure}

File: /var/www/html/openml_OS/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php
Line: 55
Function: then

File: /var/www/html/openml_OS/vendor/guzzlehttp/ringphp/src/Core.php
Line: 341
Function: then

File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
Line: 282
Function: proxy

File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
Line: 159
Function: Elasticsearch\Connections\{closure}

File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php
Line: 106
Function: performRequest

File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/AbstractNamespace.php
Line: 72
Function: performRequest

File: /var/www/html/openml_OS/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/IndicesNamespace.php
Line: 286
Function: performRequest

File: /var/www/html/openml_OS/libraries/ElasticSearch.php
Line: 381
Function: getMapping

File: /var/www/html/openml_OS/controllers/Cron.php
Line: 69
Function: index_from

File: /var/www/html/openml_OS/controllers/Cron.php
Line: 81
Function: indexfrom

File: /var/www/html/index.php
Line: 334
Function: require_once

@joaquinvanschoren
According to instruction, I enabled debugging as follows but I am getting "blank" screen no errors etc.
I am getting most information form browser debug mode .
It looks to me that the elastic-search works for me at least external tests show that is ok
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

DEBUG: Will produce errors and warnings on the screen. Set this
to true when developing. Set to false on the production server

@joaquinvanschoren
Small progress but still plenty problems. I am getting the following message/error from any attempt to “share” pages but I cannot find the reason of this problem  Any ideas?
'div class="alert alert-dismissible alert-error"> × JavaScript is required to properly view the contents of this page! </div'

After fixing few issues with system configuration, now I am able to select "new data"  from menu
and  I  am getting the following error message?
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$ttid
Filename: new/pre.php
Line Number: 20
Backtrace:
File: /var/www/html/openml_OS/views/pages/frontend/new/pre.php
Line: 20
Function: _error_handler
File: /var/www/html/openml_OS/helpers/cms_helper.php
Line: 19
Function: view
File: /var/www/html/openml_OS/controllers/Frontend.php
Line: 80
Function: loadpage
File: /var/www/html/index.php
Line: 334
Function: require_once
Any idea?

Strange. I'm not seeing this on our test server (or my localhost).
Does your database contain the task_type table, and it the database
connected correctly?
On Thu, Jun 22, 2017 at 7:30 AM Haps<EMAIL_ADDRESS>wrote:

After fixing few issues with system configuration, now I am able to select
"new data" from menu
and I am getting the following error message?
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$ttid
Filename: new/pre.php
Line Number: 20
Backtrace:
File: /var/www/html/openml_OS/views/pages/frontend/new/pre.php
Line: 20
Function: _error_handler
File: /var/www/html/openml_OS/helpers/cms_helper.php
Line: 19
Function: view
File: /var/www/html/openml_OS/controllers/Frontend.php
Line: 80
Function: loadpage
File: /var/www/html/index.php
Line: 334
Function: require_once
Any idea?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openml/website/issues/143#issuecomment-310279706, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABpQV3Rm08_OrcBWi95ddjE5EaIG-MeZks5sGfwJgaJpZM4NlR95
.

--
Thank you,
Joaquin

Many thanks for prompt response.

Database structure

MariaDB [openml_expdb]>
MariaDB [openml_expdb]> show tables;
+---------------------------+
| Tables_in_openml_expdb    |
+---------------------------+
| algorithm                 |
| algorithm_quality         |
| setup_tag                 |
| study                     |
| study_tag                 |
| task                      |
| task_inputs               |
| task_io_types             |
| task_tag                  |
| task_type                 |
| task_type_inout           |
| trace                     |
+---------------------------+
MariaDB [openml_expdb]>
MariaDB [openml_expdb]> describe  task_type;
+--------------+--------------+------+-----+---------+----------------+
| Field        | Type         | Null | Key | Default | Extra          |
+--------------+--------------+------+-----+---------+----------------+
| ttid         | int(10)      | NO   | PRI | NULL    | auto_increment |
| name         | varchar(128) | NO   |     | NULL    |                |
| description  | text         | NO   |     | NULL    |                |
| creator      | varchar(128) | NO   |     | NULL    |                |
| contributors | text         | YES  |     | NULL    |                |
| creationDate | datetime     | NO   |     | NULL    |                |
+--------------+--------------+------+-----+---------+----------------+

Database connectivity

define( 'DB_NAME_EXPDB', 'openml_expdb' );
define( 'DB_HOST_EXPDB', 'localhost' );
define( 'DB_USER_EXPDB_READ', 'root' );
define( 'DB_PASS_EXPDB_READ', 'xxxxx' );
define( 'DB_USER_EXPDB_WRITE', 'root' );
define( 'DB_PASS_EXPDB_WRITE', 'xxxxxx' );
define( 'DB_NAME_OPENML', 'openml' );
define( 'DB_HOST_OPENML', 'localhost' );
define( 'DB_USER_OPENML', 'root' );
define( 'DB_PASS_OPENML', 'xxxxx' );
I was able to add a new "user" from  app's therefore I am assuming connectivity between app and DB is enabled.
MariaDB [openml]> select * from users where id =1;
+----+------------+-------------------+----------------------------------+------+-------------------+------------------------------------------+-------------------------+-------------------------+---------------+------------+------------+--------+------------+-----------+-------------+---------+-------+-----------------+-------------+
| id | ip_address | username          | password                         | salt | email             | activation_code                          | forgotten_password_code | forgotten_password_time | remember_code | created_on | last_login | active | first_name | last_name | affiliation | country | image | external_source | external_id |
+----+------------+-------------------+----------------------------------+------+-------------------+------------------------------------------+-------------------------+-------------------------+---------------+------------+------------+--------+------------+-----------+-------------+---------+-------+-----------------+-------------+
|  1 |
m       |<EMAIL_ADDRESS>| a29c1864dc52dd6628c622b8dd3b78f2 | NULL |<EMAIL_ADDRESS>| 9edc1bd1f4eade7b4187ed133108026cc8e4d848 | NULL                    |                    NULL | NULL          |<PHONE_NUMBER> |<PHONE_NUMBER> |      1 | root       | root      | Root        | AU      |       | NULL            | NULL        |
+----+------------+-------------------+----------------------------------+------+-------------------+------------------------------------------+-------------------------+-------------------------+---------------+------------+------------+--------+------------+-----------+-------------+---------+-------+-----------------+-------------+

Users are stored in the OpenML database, while everything else is stored in
the expdb database. Maybe the second is not set up correctly?
On Fri, 23 Jun 2017 at 00:47, Haps<EMAIL_ADDRESS>wrote:

Many thanks for prompt response.

Database structure

MariaDB [openml_expdb]>
MariaDB [openml_expdb]> show tables;
+---------------------------+
| Tables_in_openml_expdb |
+---------------------------+
| algorithm |
| algorithm_quality |
| setup_tag |
| study |
| study_tag |
| task |
| task_inputs |
| task_io_types |
| task_tag |
| task_type |
| task_type_inout |
| trace |
+---------------------------+
MariaDB [openml_expdb]>
MariaDB [openml_expdb]> describe task_type;
+--------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+--------------+------+-----+---------+----------------+
| ttid | int(10) | NO | PRI | NULL | auto_increment |
| name | varchar(128) | NO | | NULL | |
| description | text | NO | | NULL | |
| creator | varchar(128) | NO | | NULL | |
| contributors | text | YES | | NULL | |
| creationDate | datetime | NO | | NULL | |
+--------------+--------------+------+-----+---------+----------------+

Database connectivity

define( 'DB_NAME_EXPDB', 'openml_expdb' );
define( 'DB_HOST_EXPDB', 'localhost' );
define( 'DB_USER_EXPDB_READ', 'root' );
define( 'DB_PASS_EXPDB_READ', 'xxxxx' );
define( 'DB_USER_EXPDB_WRITE', 'root' );
define( 'DB_PASS_EXPDB_WRITE', 'xxxxxx' );
define( 'DB_NAME_OPENML', 'openml' );
define( 'DB_HOST_OPENML', 'localhost' );
define( 'DB_USER_OPENML', 'root' );
define( 'DB_PASS_OPENML', 'xxxxx' );
I was able to add a new "user" from app's therefore I am assuming
connectivity between app and DB is enabled.
MariaDB [openml]> select * from users where id =1;
+----+------------+-------------------+----------------------------------+------+-------------------+------------------------------------------+-------------------------+-------------------------+---------------+------------+------------+--------+------------+-----------+-------------+---------+-------+-----------------+-------------+
| id | ip_address | username | password | salt | email | activation_code |
forgotten_password_code | forgotten_password_time | remember_code |
created_on | last_login | active | first_name | last_name | affiliation |
country | image | external_source | external_id |
+----+------------+-------------------+----------------------------------+------+-------------------+------------------------------------------+-------------------------+-------------------------+---------------+------------+------------+--------+------------+-----------+-------------+---------+-------+-----------------+-------------+
| 1 |
��m |<EMAIL_ADDRESS>| a29c1864dc52dd6628c622b8dd3b78f2 | NULL |
<EMAIL_ADDRESS>| 9edc1bd1f4eade7b4187ed133108026cc8e4d848 | NULL |
NULL | NULL |<PHONE_NUMBER> |<PHONE_NUMBER> | 1 | root | root | Root | AU | |
NULL | NULL |
+----+------------+-------------------+----------------------------------+------+-------------------+------------------------------------------+-------------------------+-------------------------+---------------+------------+------------+--------+------------+-----------+-------------+---------+-------+-----------------+-------------+
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openml/website/issues/143#issuecomment-310523293, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABpQV7FgjSQn9NdMWgzz0EkfJumKG3PGks5sGu73gaJpZM4NlR95
.

--
Thank you,
Joaquin

We have noticed that the reference to session_hash  (column?)  in controllers/Api_new.php  points to database but none of databases have got any  column called session_hash so is it possible that openml.sql schema downloaded  form  your side is not updated?
Haps

Sorry. This is indeed a recent change. I updated the sql file for the
private DB, can you download and import it again?
On Fri, Jun 23, 2017 at 3:14 AM Haps<EMAIL_ADDRESS>wrote:

We have noticed that the reference to session_hash (column?) in
controllers/Api_new.php points to database but none of databases have got
any column called session_hash so is it possible that openml.sql schema
downloaded form your side is not updated?
Haps
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openml/website/issues/143#issuecomment-310543733, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABpQV9XqInWkT49-QSePRWikstxLku-0ks5sGxFzgaJpZM4NlR95
.

--
Thank you,
Joaquin

Are you sure?  I am trying to re-create db using a new sql script and I am getting the following error.
ERROR 1046 (3D000) at line 22: No database selected

What are you doing exactly when you get this error? Did you just import it
on the command line.
I usually see this error when running a query without selecting a DB first.
On Sat, Jun 24, 2017 at 1:52 PM Haps<EMAIL_ADDRESS>wrote:

Are you sure? I am trying to re-create db using a new sql script and I am
getting the following error.
ERROR 1046 (3D000) at line 22: No database selected
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openml/website/issues/143#issuecomment-310834164, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABpQV-UXVUvut4ud5DbZy-8EJXkJnxqlks5sHPhygaJpZM4NlR95
.

--
Thank you,
Joaquin

Yes, you right but I expected script creating database and database structure as it was before not just DB backup. I could re-create database but then how to grant credential to user all, partial etc. which is not described. The maintenance and installation instructions are misleading and laconic. I don’t want to introduce another unknown potential error so that is a reason why I am requesting your support. I want to get this application to work and just forget it.
Mysql -u root -p < openml.sql   , bear in mind, I dropped previous database instance created by wrong sql script.

Well, I have  re-created the openml database and restored the content  from openml file upgraded by you  but outcome is as before. Any attempt to summit a new arff file gives the following error:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$ttid
Filename: new/pre.php
Line Number: 20
Backtrace:
File: /var/www/html/openml_OS/views/pages/frontend/new/pre.php
Line: 20
Function: _error_handler
File: /var/www/html/openml_OS/helpers/cms_helper.php
Line: 19
Function: view
File: /var/www/html/openml_OS/controllers/Frontend.php
Line: 80
Function: loadpage
File: /var/www/html/index.php
Line: 334
Function: require_once describe users
The table users has got missing column see dump
+-------------------------+-----------------------+------+-----+-------------------+----------------+
| Field                   | Type                  | Null | Key | Default           | Extra          |
+-------------------------+-----------------------+------+-----+-------------------+----------------+
| id                      | mediumint(8) unsigned | NO   | PRI | NULL              | auto_increment |
| ip_address              | varbinary(16)         | NO   |     | NULL              |                |
| username                | varchar(100)          | NO   |     | NULL              |                |
| password                | varchar(80)           | NO   |     | NULL              |                |
| salt                    | varchar(40)           | YES  |     | NULL              |                |
| email                   | varchar(100)          | NO   |     | NULL              |                |
| activation_code         | varchar(40)           | YES  |     | NULL              |                |
| forgotten_password_code | varchar(40)           | YES  |     | NULL              |                |
| forgotten_password_time | int(11) unsigned      | YES  |     | NULL              |                |
| remember_code           | varchar(40)           | YES  |     | NULL              |                |
| created_on              | int(11) unsigned      | NO   |     | NULL              |                |
| last_login              | int(11) unsigned      | YES  |     | NULL              |                |
| active                  | tinyint(1) unsigned   | YES  |     | NULL              |                |
| first_name              | varchar(50)           | YES  |     | NULL              |                |
| last_name               | varchar(50)           | YES  |     | NULL              |                |
| affiliation             | varchar(50)           | NO   |     | NULL              |                |
| country                 | varchar(50)           | NO   |     | NULL              |                |
| image                   | varchar(128)          | YES  |     | NULL              |                |
| bio                     | text                  | NO   |     | NULL              |                |
| core                    | enum('true','false')  | NO   |     | false             |                |
| external_source         | varchar(50)           | YES  |     | NULL              |                |
| external_id             | varchar(50)           | YES  |     | NULL              |                |
| session_hash            | varchar(40)           | YES  |     | NULL              |                |
| session_hash_date       | timestamp             | YES  |     | CURRENT_TIMESTAMP |                |
| gamification_visibility | varchar(32)           | NO   |     | show              |                |
+-------------------------+-----------------------+------+-----+-------------------+----------------+
25 rows in set (0.07 sec)
So what else is missing?

Again, hacking  php scripts we noticed that the group  and  users_groups tables  are not updated giving us
Error 104: This is a read-only account, it does not have permission for write operations.
After updating content of those tables we got
Error 132: Failed to move the files
Setting  data/ mode to 777  gives us
Thanks!
Data was uploaded successfully (ID = 1)
You can now follow your dataset on OpenML, complete its description, track its impact, create OpenML tasks, and see all ensuing results.
You can also continue to add datasets below.
and arff file is moved to /data/dataset/api from /tmp
Unfortunately, data pages shows zero results   thus what else is wrong?
The last attempt is just  a set of ugly hacks used to find configuration issues.
Any idea what is wrong?

Also, if the data pages are empty it's something with elasticsearch. Maybe
authentication. Will check tonight.
On Tue, 27 Jun 2017 at 09:22, Haps<EMAIL_ADDRESS>wrote:

Again, hacking php scripts we noticed that the group and users_groups
tables are not updated giving us
Error 104: This is a read-only account, it does not have permission for
write operations.
After updating content of those tables we got
Error 132: Failed to move the files
Setting data/ mode to 777 gives us
Thanks!
Data was uploaded successfully (ID = 1)
You can now follow your dataset on OpenML, complete its description, track
its impact, create OpenML tasks, and see all ensuing results.
You can also continue to add datasets below.
and arff file is moved to /data/dataset/api from /tmp
Unfortunately, data pages shows zero results thus what else is wrong?
The last attempt is just a set of ugly hacks used to find configuration
issues.
Any idea what is wrong?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openml/website/issues/143#issuecomment-311275026, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABpQV31TCwGmXl_zCWE2PDZCuaCLYHtxks5sIK2mgaJpZM4NlR95
.

--
Thank you,
Joaquin

Referring to your comments about elasticsearch service

We are able to create an object and search outside openml ecosystem so I would say that elasticsearch works for us. I am not elasticsearch expert but following available tutorials, I was able to create objects and find it thus I would  say that the service works  fine.
In addition,  openml elasticsearch ping gives us a  message “All is well” so  I would say elasticsearch/kibana and logstash  work fine
Authentication, I am not sure what is about.  Is it related to  elastic search installation or in general?
We are able to create a new user and activate user’s account. In theory user should be able to add new artifacts but those new items  are not registered with elastic search.
The elastic search engine was installed without any acl therefore  any request is processed (see sniped of  BASE_CONFIG-BLANK.php)
define( 'ES_URL', 'FILL_IN' );
define( 'ES_USERNAME', 'FILL_IN' );
define( 'ES_PASSWORD', 'FILL_IN' );

Are you still facing issues here?
Also wanted to make you aware of this project that provides a Docker image for OpenML:
https://github.com/nodechef/openML_docker_server

I gave up it is just pointless.  Docker solution proposed by you  has got this the same problem cannot be integrated with  elastic search engine.  We have wasted so much time and it is time to stop further investigations.
Haps

From: Joaquin Vanschoren<EMAIL_ADDRESS>Sent: Saturday, 22 July 2017 8:58 AM
To: openml/website
Cc: Haps; Mention
Subject: Re: [openml/website] Unable to install OpenML locally (#143)
Are you still facing issues here?
Also wanted to make you aware of this project that provides a Docker image for OpenML:
https://github.com/nodechef/openML_docker_server
[https://avatars0.githubusercontent.com/u/17507729?v=4&s=400]https://github.com/nodechef/openML_docker_server
nodechef/openML_docker_serverhttps://github.com/nodechef/openML_docker_server
github.com
openML_docker_server - Server for OPENML website
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/openml/website/issues/143#issuecomment-317134658, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT6xLOHuVjq4oZ7JMZbtLyL6GjwZeYcAks5sQTQugaJpZM4NlR95.

OK. Will continue this for future users then and add the necessary
documentation.
On Sat, Jul 22, 2017 at 11:59 AM Haps<EMAIL_ADDRESS>wrote:

I gave up it is just pointless. Docker solution proposed by you has got
this the same problem cannot be integrated with elastic search engine. We
have wasted so much time and it is time to stop further investigations.
Haps

From: Joaquin Vanschoren<EMAIL_ADDRESS>Sent: Saturday, 22 July 2017 8:58 AM
To: openml/website
Cc: Haps; Mention
Subject: Re: [openml/website] Unable to install OpenML locally (#143)
Are you still facing issues here?
Also wanted to make you aware of this project that provides a Docker image
for OpenML:
https://github.com/nodechef/openML_docker_server
[https://avatars0.githubusercontent.com/u/17507729?v=4&s=400]<
https://github.com/nodechef/openML_docker_server>
nodechef/openML_docker_server<
https://github.com/nodechef/openML_docker_server>
github.com
openML_docker_server - Server for OPENML website
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<
https://github.com/openml/website/issues/143#issuecomment-317134658>, or
mute the thread<
https://github.com/notifications/unsubscribe-auth/AT6xLOHuVjq4oZ7JMZbtLyL6GjwZeYcAks5sQTQugaJpZM4NlR95

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openml/website/issues/143#issuecomment-317172405, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABpQV559Re1O9nIaje2Bu7Uy_GAU73Q5ks5sQcgOgaJpZM4NlR95
.

--
Thank you,
Joaquin

Perhaps when you will have workable  and reliable installation procedures we will consider to revisit  this products. Unfortunately, current stage of development and maintenance documentation are just unactable.
Haps

From: Joaquin Vanschoren<EMAIL_ADDRESS>Sent: Sunday, 23 July 2017 7:06 AM
To: openml/website
Cc: Haps; Mention
Subject: Re: [openml/website] Unable to install OpenML locally (#143)
OK. Will continue this for future users then and add the necessary
documentation.
On Sat, Jul 22, 2017 at 11:59 AM Haps<EMAIL_ADDRESS>wrote:

I gave up it is just pointless. Docker solution proposed by you has got
this the same problem cannot be integrated with elastic search engine. We
have wasted so much time and it is time to stop further investigations.
Haps

From: Joaquin Vanschoren<EMAIL_ADDRESS>Sent: Saturday, 22 July 2017 8:58 AM
To: openml/website
Cc: Haps; Mention
Subject: Re: [openml/website] Unable to install OpenML locally (#143)
Are you still facing issues here?
Also wanted to make you aware of this project that provides a Docker image
for OpenML:
https://github.com/nodechef/openML_docker_server
[https://avatars0.githubusercontent.com/u/17507729?v=4&s=400]<
https://github.com/nodechef/openML_docker_server>
nodechef/openML_docker_server<
https://github.com/nodechef/openML_docker_server>
github.com
openML_docker_server - Server for OPENML website
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<
https://github.com/openml/website/issues/143#issuecomment-317134658>, or
mute the thread<
https://github.com/notifications/unsubscribe-auth/AT6xLOHuVjq4oZ7JMZbtLyL6GjwZeYcAks5sQTQugaJpZM4NlR95

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openml/website/issues/143#issuecomment-317172405, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABpQV559Re1O9nIaje2Bu7Uy_GAU73Q5ks5sQcgOgaJpZM4NlR95
.

--
Thank you,
Joaquin
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/openml/website/issues/143#issuecomment-317211984, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT6xLDrMzuRVhWYKRugXscYyd2y59wwkks5sQmtlgaJpZM4NlR95.


Allow the Emulator user to specify a User ID

Fixes #1344
Description
This PR allows the Emulator users to specify a User ID which will be used within conversations.
Changes made
Functionality changes
To implement this feature we made the following changes:

Add an input to the Emulator Settings so that the user can configure an ID
Change the startNewConversation method to choose between a randomly generated UserId, the UserId set in the props or the UserId set by the user.
When the Use custom id checkbox is set to false, the input is disabled and cleaned. When true, it is a required field and it gets enabled.
The User ID field has a validation so that the user is not able to enter anything other than a GUID.
Restarting a conversation with the same userId will choose between the one set by the user or the one set by default (if the first one is empty).
Restarting a conversation with a new userId will generate a random ID the same way it was doing it until now.
Remove Restart Conversation Split Button
Add two new buttons Restart with Same User Id and Restart with New User Id to replace Restart Conversation Split Button.

UI Changes
Before

After

Testing
Manual testing

Automated testing
Added automated tests for the new settings options.

Coverage increased (+0.02%) to 56.848% when pulling 0344b91ebf7bb8eb010aee34642c29626fddca04 on feature/southworks/userid into 014fa597a7f96d2d205814fc47072ef28dd183f0 on master.

Ok @justinwilaby and @tonyanziano ! We are working on the feedback!

The text field label looks good when disabled, but the disabled state persists when the text field is enabled. The color of the label should change color depending on the state of the text field.

Right now:
disabled -> light gray
enabled -> same light gray
Desired behavior:
disabled -> light gray
enabled -> darker gray

Hi @tonyanziano  We are still working on the Label Color feedback that you gave us and the one about the getDerivedStateFromProps function. As for the User Id Label, we are having some issues with the disabled property of the label but we are working on it.

Sounds good! @denscollo 👍

Nice job, thanks!


Add CircleCI integration, with ktlint enforcement

To set this up, you simply need to log into CircleCI with your github account, enable the project with "maven", and press the "start building" button.
Once I have deployment working on my projects I'll probably add that to the CI here as well.
Any Java file touched by this change is only to fix the ktlint issues. All other changes that enable the circleci configuration are purely in .circleci/config.yml, and build.gradle

Awesome, thanks for this! I would like to first merge https://github.com/nicholasrout/rugby-ranker/tree/feature/fixtures-and-results and https://github.com/nicholasrout/rugby-ranker/tree/feature/rankings-matches-modules before this, as there will likely be merge conflicts if we include ktlint formatting changes. They're currently blocked by a couple AndroidX / Arch Components bugs, so will go ahead with this when those are fixed

Sweet, this is looking good @JacquesSmuts! One thing - the PR diff includes a bunch of files with "no changes". Wondering why that is 🤔

I don't see them. Are they still there after my latest commit?
Also we should expect to see a checkmark or cross next to the latest commit of this PR, if the CircleCi has been set up.
Can I get a link to the CircleCI project you linked to this project so I can see if it's doing anything there?


Module currency_symbols.constants not found

xls2xlsx version: 0.1.5
Python version: 3.8
Operating System: MacOS

Description
In module xls2xlsx.htmlxls2xlsx you try to import currency_symbols.constants, however, in currency_symbols last version (2.0.2 lastest as of today) The module constants was renamed to _constants.
What I Did
try:
    import currency_symbols._constants as currency_symbols_constants
except Exception:
    import importlib
    currency_symbols_constants = importlib.import_module('currency-symbols._constants')

Yeah, You are right.
I also found this question and used the same solve as you.

Yes. I am also come here to share the details You shared. Great Job man.

xls2xlsx version: 0.1.5
Python version: 3.8
Operating System: MacOS

Description
In module xls2xlsx.htmlxls2xlsx you try to import currency_symbols.constants, however, in currency_symbols last version (2.0.2 lastest as of today) The module constants was renamed to _constants.
What I Did
try:
    import currency_symbols._constants as currency_symbols_constants
except Exception:
    import importlib
    currency_symbols_constants = importlib.import_module('currency-symbols._constants')

Fixed in v0.2.0


Provide precompiled binaries for FreeBSD

Some of Prisma's users are trying to use Prisma on FreeBSD (e.g. https://github.com/prisma/prisma/issues/2288). As we do not build binaries for that yet, they have to build them themselves and use environment variables to make this work (https://github.com/prisma/prisma-engines#building-prisma-engines and https://www.prisma.io/docs/understand-prisma/under-the-hood#using-custom-engine-binaries).

I applied the team/product label because we first want to decide if we want to do this at all.

What is the exact error message @kbzowski? Searching for parts of this string in the codebase does not return any results.
(Side question: Why is using the binary no an option for you?)

@janpio this error message is from here: https://github.com/prisma/engines-wrapper/blob/3a0b6c0993cbc8fd745f5cd9cae6118e0377d6f3/packages/get-platform/src/getNodeAPIName.ts#L30-L32
I believe the fix should be as easy as turning the linux branch into the final else branch as the default: all operating systems which are supported by Node.js except Windows and macOS use .so.node as the filename extension for native addons, and whether we support that OS or not is irrelevant to the purpose of this function — we can always build the expected file name of the addon.
Besides, the error message is misleading: Node-API itself certainly isn't, and has never been, "currently not supported" on any of the platforms Node.js supports, as far as I know.

Ah, that other repo again :) Your assessment sounds good to me 👍

@janpio If I understand Prisma correctly, the binary listen on a TCP port that is not allowed on my shared hosting. The library version mitigates this problem.  Correct me if I am wrong.

That's a very interesting use case! I wonder if Unix domain sockets would've helped here as a workaround if we still supported them.

@kbzowski could you check if the upcoming 3.13.0 release tomorrow fixes the issue for you?

@aqrln Sure. I look forward to the release and will let you know.

@kbzowski btw, one thing that's not really documented anywhere right now: after building the engines from sources, you'll need to rename target/release/libquery_engine.so to libquery_engine.so.node. Otherwise Node.js won't recognise it as an addon and won't allow loading it.

(That sounds like something we could surface via a small error message if someone tries to set the engine to *.so)

[kbzowski@s0]:<~/test>$ env | grep PRISMA
PRISMA_INTROSPECTION_ENGINE_BINARY=/home/kbzowski/usr/bin/introspection-engine
PRISMA_QUERY_ENGINE_BINARY=/home/kbzowski/usr/bin/query-engine
PRISMA_MIGRATION_ENGINE_BINARY=/home/kbzowski/usr/bin/migration-engine
PRISMA_QUERY_ENGINE_LIBRARY=/home/kbzowski/usr/lib/libquery_engine.so.node
PRISMA_FMT_BINARY=/home/kbzowski/usr/bin/prisma-fmt
PRISMA_CLI_QUERY_ENGINE_TYPE=library
PRISMA_CLIENT_ENGINE_TYPE=library

[kbzowski@s0]:<~/test>$ node_modules/.bin/prisma generate
Prisma schema loaded from prisma/schema.prisma
Error: Unknown binary target freebsd13 in generator client.
Possible binaryTargets: darwin, darwin-arm64, debian-openssl-1.0.x, debian-openssl-1.1.x, debian-openssl-3.0.x, rhel-openssl-1.0.x, rhel-openssl-1.1.x, rhel-openssl-3.0.x, linux-arm64-openssl-1.1.x, linux-arm64-openssl-1.0.x, linux-arm64-openssl-3.0.x, linux-arm-openssl-1.1.x, linux-arm-openssl-1.0.x, linux-arm-openssl-3.0.x, linux-musl, linux-nixos, windows, freebsd11, freebsd12, openbsd, netbsd, arm, native

@janpio that's a very good idea actually!
@kbzowski duh, sorry 😄
I opened a quick PR to add freebsd13 to the list of platforms, but unfortunately I don't have time to install FreeBSD in a VM and test it. Hopefully it should work.

@aqrln
It works with 3.14.0!
Warning Precompiled engine files are not available for freebsd13. Read more about building your own engines at https://pris.ly/d/build-engines
Prisma schema loaded from prisma/schema.prisma
Warning Precompiled engine files are not available for freebsd13. Read more about building your own engines at https://pris.ly/d/build-engines
Warning Precompiled engine files are not available for freebsd13. Read more about building your own engines at https://pris.ly/d/build-engines

✔ Generated Prisma Client (3.14.0 | library) to ./node_modules/@prisma/client in 88ms
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client

I tried to build.

Please add Prisma v4 support to FreeBSD 13. If it is supported, how to solve my problem?

@helczyk You can build you own.
https://github.com/prisma/prisma-engines
It works with FreeBSD 13.0. After that just set up env:
PRISMA_INTROSPECTION_ENGINE_BINARY=/home/kbzowski/usr/bin/introspection-engine
PRISMA_QUERY_ENGINE_BINARY=/home/kbzowski/usr/bin/query-engine
PRISMA_MIGRATION_ENGINE_BINARY=/home/kbzowski/usr/bin/migration-engine
PRISMA_QUERY_ENGINE_LIBRARY=/home/kbzowski/usr/lib/libquery_engine.so.node
PRISMA_FMT_BINARY=/home/kbzowski/usr/bin/prisma-fmt
PRISMA_CLI_QUERY_ENGINE_TYPE=library
PRISMA_CLIENT_ENGINE_TYPE=library

and in schema.prisma
generator client {
  provider = "prisma-client-js"
  engineType = "library"
}

@helczyk You can build you own. https://github.com/prisma/prisma-engines
It works with FreeBSD 13.0. After that just set up env:
PRISMA_INTROSPECTION_ENGINE_BINARY=/home/kbzowski/usr/bin/introspection-engine
PRISMA_QUERY_ENGINE_BINARY=/home/kbzowski/usr/bin/query-engine
PRISMA_MIGRATION_ENGINE_BINARY=/home/kbzowski/usr/bin/migration-engine
PRISMA_QUERY_ENGINE_LIBRARY=/home/kbzowski/usr/lib/libquery_engine.so.node
PRISMA_FMT_BINARY=/home/kbzowski/usr/bin/prisma-fmt
PRISMA_CLI_QUERY_ENGINE_TYPE=library
PRISMA_CLIENT_ENGINE_TYPE=library

and in schema.prisma
generator client {
  provider = "prisma-client-js"
  engineType = "library"
}

My problem is engine compilation.

What exactly is the problem? I was able to do it either on shared hosting.

@helczyk You are right. Last version which I tried to build was 3.14. In case of 4.4.0 I got:
    Updating crates.io index
    Updating git repository `https://github.com/prisma/quaint`
    Updating git repository `https://github.com/prisma/mysql_async`
    Updating git repository `https://github.com/pimeys/rust-postgres`
    Updating git repository `https://github.com/prisma/mobc`
error: failed to select a version for the requirement `phf = "^0.11"`
candidate versions found which didn't match: 0.10.1, 0.10.0, 0.9.0, ...
location searched: crates.io index
required by package `tokio-postgres v0.7.7 (https://github.com/pimeys/rust-postgres?branch=pgbouncer-mode#064a6a50)`
    ... which satisfies git dependency `tokio-postgres` (locked to 0.7.7) of package `quaint v0.2.0-alpha.13 (https://github.com/prisma/quaint#eb74d23b)`
    ... which satisfies git dependency `quaint` (locked to 0.2.0-alpha.13) of package `introspection-engine-tests v0.1.0 (/usr/home/kbzowski/sources/prisma-engines-4.4.0/introspection-engine/introspection-engine-tests)`

Updating cargo and rust to 1.64.0 via rustup solved the problem.

Is there any progress with engines for freeBSD13 ?
I use:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>I have generated engines and try to make use of them. I set enviromentals in .env file like below:
PRISMA_INTROSPECTION_ENGINE_BINARY=/bin/prisma-engines/target/release/introspection-engine
PRISMA_QUERY_ENGINE_BINARY=/bin/prisma-engines/target/release/query-engine
PRISMA_MIGRATION_ENGINE_BINARY=/bin/prisma-engines/target/release/migration-engine
PRISMA_QUERY_ENGINE_LIBRARY=/bin/prisma-engines/target/release/libquery_engine.so
PRISMA_FMT_BINARY=/bin/prisma-engines/target/release/prisma-fmt
PRISMA_CLI_QUERY_ENGINE_TYPE=library
PRISMA_CLIENT_ENGINE_TYPE=library

and in schema.prisma:
generator client {
  provider        = "prisma-client-js"
  engineType  = "library"
}

But  when i run npx prisma generate npm still tries do download engines library that does not exists. It does not read from paths provided in environmentals.
Any ideas where did I wrong?

@pyton-jajko I'm not sure if adding these to .env would work or is even supposed to work. Setting them as real environment variables in your shell should do the trick.

@pyton-jajko there's also another problem in your setup which you didn't get to yet, but you would run into it later after exporting the environment variables. Pointing PRISMA_QUERY_ENGINE_LIBRARY to the shared library directly like this:
PRISMA_QUERY_ENGINE_LIBRARY=/bin/prisma-engines/target/release/libquery_engine.so

unfortunately won't work because Node.js doesn't recognise .so extension as a native addon. You need to rename it to have the .so.node extension and set the env var to the renamed file:
PRISMA_QUERY_ENGINE_LIBRARY=/bin/prisma-engines/target/release/libquery_engine.so.node

Note that you copying, moving or creating a hard link would work, but creating a symlink won't (in case you wanted to do that to make subsequents updates and rebuilds more convenient). This is due to how the CommonJS module system works in Node.js (and since the addon is loaded using require, it obeys the same rules as other CommonJS modules do): symlinks are resolved to real paths before the extension of the final file is used to determine the loader.

@aqrln Thanks for your support. That was the exact problem with environmentals! I think I'm almost there, but I have just one error left:
Error: Env var PRISMA_QUERY_ENGINE_LIBRARY is provided but provided path /home/pytonJajko/bin/prisma-engines/target/release/libquery_engine.so can't be resolved.

I tried to move binaries to project root folder, but the problem won't vanished.

Running FreeBSD 13.2, and after building engines as recommended, it works.
Environnement must be set as follow:
PRISMA_BASE_DIR=<...>
export PRISMA_CLI_QUERY_ENGINE_TYPE=library
export PRISMA_CLIENT_ENGINE_TYPE=library
export PRISMA_FMT_BINARY=$PRISMA_BASE_DIR/target/release/prisma-fmt
export PRISMA_QUERY_ENGINE_BINARY=$PRISMA_BASE_DIR/target/release/query-engine
export PRISMA_QUERY_ENGINE_LIBRARY=$PRISMA_BASE_DIR/target/release/deps/libquery_engine.so.node
export PRISMA_SCHEMA_ENGINE_BINARY=$PRISMA_BASE_DIR/target/release/schema-engine

Build notes:

you need lang/rust, lang/cargo-c, devel/protobuf and ftp/curl (at least)
direnv is not necessary (just run . .envrc)
build with cargo build --releases
rename target/release/deps/libquery_engine.so to target/release/deps/libquery_engine.so.node


feat: Apply hover active, hover, active-hover effects on warning button

Fixes: AC-961

Changelogs

Added labelType, and labelColor props to ButtonProps

Git rebase produces too many conflicts so I had to git merge intead. This resulted in commits from main


Bug fix: Hiding the helper text for TextInput hidden type

Fixes JIRA ticket DSD-485
This PR does the following:

This addresses the bug @antlong found in ticket DSD-485. The helper text should not appear for the "hidden" type.

How has this been tested?
Storybook and updated unit test.
Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr711-xlnhvmp0ic9kis61vaedruntnrvsbr66.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/615739d47207f26781302ce1

Good point, I'll update it.

Tugboat has finished building the preview for this pull request!
Link:

https://pr711-xlnhvmp0ic9kis61vaedruntnrvsbr66.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/615739d47207f26781302ce1

Tugboat has finished building the preview for this pull request!
Link:

https://pr711-xlnhvmp0ic9kis61vaedruntnrvsbr66.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/615739d47207f26781302ce1


PNBarchart does not fill width

Hi!
I'm fairly new at iOS development, so maybe I'm messing things up. My problem is that I placed a PNBarchart on a VC, it appears almost perfectly, but unfortunately it does not fill the entire width it has.
Do you have any idea how to fix this?

ViewController has a default margins.


I want to add an icon inside action of every row?

Hi,
First I  Congratulate to all of your team by giving such a nice smart table feature. We already implement it in lots of websites. Now, I was stuck in a simple problem. I want to use an icon (for sake of simplicity we call as View icon) in action column for each row. Also, I want to bind click event on it,  just like edit and delete which gives me data of that particular row. Please help me how can I achieve.

Hi,
+1
I just want to insert icon in a cell.
I use
valuePrepareFunction : (cell, row) => { return ""; }
but it doesn't works.

Did you find a solution for this?

@katestearns-suplari
Yes, I use :
      color: {
        title: translate["COLOR"],
        filter: false,
        type: 'custom',
        renderComponent: ColorComponent,
      }

and the definition of ColorComponent is :
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'carto-color',
template: <div class="carto-color-class" [style.background-color]="getColor()"> </div>,
styleUrls: ['./color.component.css']
})
export class ColorComponent implements  OnInit {
@Input() value: string;
constructor() { }
ngOnInit() {}
getColor(){
return this.value;
}
}

i want to change background color for data row based on status type in "ng2-smart-table"


How can I do asynchronous job in main thread ?

I have a Thread work as a producer, it put things into a Queue every second. Meanwhile, I want to have a coroutine run in main thread which works as a consumer, it get thing from the Queue.
However, I have a problem in implementing the above requirements.
My code looks like the following:
from queue import Queue
queue = Queue()

def func():
    '''can only work in main thread'''
    pass

def producer():
    while True:
        if something1 happened:
            if something2 happened:
                finished = True
            queue.put(func)

def consumer():
    while True:
        if finished:
            break
        func = queue.get()
        func()

threading.Thread(target=producer)
vim.async_call(consumer)    # this will block nvim

My problem is that: vim.async_call(consumer) will block, how can I avoid the blocking?
Can you give me some advice?

Non-blocking work must be done in a separate thread. See https://github.com/neovim/python-client/issues/212#issuecomment-226618972
async_call() is asynchronous in the sense that it can interact with the nvim process without waiting on the nvim process main-loop.

Non-blocking work must be done in a separate (python, in this case) thread.

I don't thing @cosven meant non-blocking as non-blocking  when doing intensive CPU-work. Rather that it should be possible to "pause" the consumer() functions while waiting for the queue to get non-empty. This is possible using greenlets, even if not "officialy" supported or documented. I do  this in nvim-ipy to handle async events from an external source in an internally synchronized way (i e two event handlers must not overlap). I will try to construct a minimal example from it.

Thanks for your reply.
Looking forward to your example, which will be really helpful.
I found a similar example written with asyncio but I still have problem in python-client (greenlets) here.
import asyncio, random

q = asyncio.Queue()

@asyncio.coroutine
def produce():
    while True:
        yield from q.put(random.random())
        yield from asyncio.sleep(0.5 + random.random())

@asyncio.coroutine
def consume():
    while True:
        value = yield from q.get()
        print("Consumed", value)

loop = asyncio.get_event_loop()
loop.create_task(produce())
loop.create_task(consume())
loop.run_forever()

In my opinion, asyncio.create_task will be similar to nvim.async_call, but it use asyncio.Queue instead of Queue, I don't know if there is something like greenlet.Queue?

Here is a stripped down example:
import vim
from threading import Thread
from time import sleep
import greenlet

sleeping = None

def wake_up(message):
    handler = sleeping
    handler.parent = greenlet.getcurrent()
    handler.switch(message)

def suspend():
    global sleeping
    gr = greenlet.getcurrent()
    sleeping = gr
    return gr.parent.switch()

def producer():
    sleep(3)
    vim.async_call(wake_up, "message")

def consumer():
    buf = vim.current.buffer
    buf.append("before")

    message = suspend()

    buf.append("after "+ message)

Thread(target=producer).start()
vim.async_call(consumer)

Though it is in principle unnecessary that wake_up is run in a greenlet, which must be reparented so it is cleaned up properly. In principle the nvim client could expose methods to suspend and resume greenlets and do it more naturally and effeciently.
I use this this in https://github.com/bfredl/nvim-ipy/blob/master/rplugin/python3/nvim_ipy/init.py to do rpc calls to an external process, see the wait_for and on_shell_msg methods. Though just for handling a stream of events there might be a simpler pattern from the same file:
from collections import deque
class ExclusiveHandler(object):
    """Wrapper for buffering incoming messages from a asynchronous source.

    Wraps an async message handler function and ensures a previous message will
    be completely handled before next messsage is processed. Is used to avoid
    iopub messages being printed out-of-order or even interleaved.
    """
    def __init__(self, handler):
        self.msgs = deque()
        self.handler = handler
        self.is_active = False

    def __call__(self, msg):
        self.msgs.append(msg)
        if not self.is_active:
            self.is_active = True
            while self.msgs:
                self.handler(self.msgs.popleft())
            self.is_active = False

def _on_iopub_msg(msg):
    pass# code interacting with vim
on_iopub_msg = ExclusiveHandler(_on_iopub_msg)

# in a thread, when a message is produced
on_iopub_msg(msg)

There is no async queue class for greenlets that could be used unmodified (as nvim does not use the standard gevent event loop used with greenlets), but in principle one could be written specifically for nvim.

Thanks a lot.
Finally, I get my code work.
from queue import Queue
queue = Queue()

def func():
    '''can only work in main thread'''
    pass

def producer():
    while True:
        if something1 happened:
            if something2 happened:
                finished = True
            queue.put(func)

def consumer():
    while True:
        if finished:
            break
        func = queue.get()
        func()

threading.Thread(target=producer)
vim.async_call(consumer)

Can async_call(func, ...) really make func asynchronous? It Just schedules func to be called by the event loop soon.

That is asynchrony. Maybe you are confusing asynchrony with parallelism?


Linux support for Ubuntu based distributions...

I'm trying to setup an UE4 build environment on my newly upgraded laptop to Linux Mint !
I'll post advancement on the issue/possible workarrounds...
At this time, it's sure that the game will not compile at all under Linux by the way the game requires a platform specific function to set console window title on dedicated server and also to dynamic set icon as well as disabling window resize to avoid GPU driver crash on some Windows 7 installs.
The editor should however compile...

So far I got the engine to download and install, now I need to compile...
When I will have this done on my side I'll post here to inform how it works.
The first thing that needs to be done is "sudo apt-get install clang" otherwise Setup.sh fails


Visualization of sickness and scabs

Have scabs/wounds etc in differences sizes and places on the fish.


Add support for mulitple RPC workers for OVS and ML2 plugin

OVS and ML2 plugin needs a fix to support multiple RPC workers properly
because a plugin which supports multiple RPC workers cannot
initialize RPC connections at plugin initialization.
Partial-Bug: #1300570
Closes-Bug: 1303933
Closes-rally-bug: DE1977
Upstream-Review: https://review.openstack.org/#/c/85774
Upstream-Review: https://review.openstack.org/#/c/90011
Not-in-upstream: True

nosetests -v neutron/tests/unit/test_db_plugin.py
Ran 412 tests in 125.789s
OK (SKIP=16)
nosetests -v neutron/tests/unit/openvswitch/test_openvswitch_plugin.py
Ran 128 tests in 77.162s
OK (SKIP=1)
nosetests -v neutron/tests/unit/ml2/test_ml2_plugin.py
Ran 138 tests in 99.828s
OK (SKIP=1)
nosetests -v neutron/tests/unit/metaplugin/test_metaplugin.py
Ran 6 tests in 2.013s
OK

:+1:

Nice work @yeungp
:+1:

+1


Port to Pinokio

Wouldn't it be nice to have this repo, ported to Pinokio :)

I think it's too niche as it is.
Possibly if I get around to putting all my "batch"-models into one tool with a UI, it would be worth?
But if someone wants to do it, go for it! Send me a link :)

https://pinokio.computer/item?uri=https://github.com/tazztone/joy-caption-alpha-2
I think you could use this one @Arnold2006
Let me know if it works/doesn't work.
Otherwise, I'll likely do a pinokio version of my upcoming UI version containing all the VLM batch scripts in my GH repo.

https://pinokio.computer/item?uri=https://github.com/tazztone/joy-caption-alpha-2

can't do batch tho. maybe i can add it with LLM. 🤔🤔

can't do batch tho. maybe i can add it with LLM. 🤔🤔

Working on a version now, I feel like it's almost there, just some issues downloading the config jsons from the text_model subdirectory for some reason.

can't do batch tho. maybe i can add it with LLM. 🤔🤔

Working on a version now, I feel like it's almost there, just some issues downloading the config jsons from the text_model subdirectory for some reason.

Hope you'll make support for 12GB like the old one :-)

Hope you'll make support for 12GB like the old one :-)

this can do batch at 10.5GB

https://pinokio.computer/item?uri=https://github.com/tazztone/joy-caption-alpha-two-GUImod


Adding support for storageclass

Fix #50

Thank you 🙏. I'm on vacation now. I'll check and merge in 2 weeks when I'm back

Thank you @deepu105


Fix shutil.move implementation

If both the source and destination argument of shutil.move are
directories the source directory is copied under the target directory.
pyfakefs implementation copied the source directory to the target
directory.
The real shutil.move call shutil.copy('/path/to/src', '/path/to/dest')
moves /path/to/src to /path/to/dest/src but the pyfakefs implementation
moved the src directory to /path/to/dest

Thanks a lot for the fix - I will have a look at this in the evening. It looks like the test has also to be adapted.


Environment dependencies' versions

Hi, I was trying to get your CNN baseline by running :

python -m src.train_nn -c src/nn_configs/fccnn_3d.yml

as your README instructs. However, I get the error:

xarray.core.merge.MergeError: conflicting values for variable 'level' on objects to be combined. You can skip this check by specifying compat='override'.

I think it is an error related to the xarray version. Could you please specify the versions on your environment.yml file?

I am using xarray=0.13.0. But ideally this shouldn't matter. Could you let me know which xarray you are using and maybe copy the full trace-back of the error. Thanks so much!

I'm using xarray 0.15.0. Here's the traceback:

Traceback (most recent call last):
File "/home/illorens/miniconda3/envs/weatherbench/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/illorens/miniconda3/envs/weatherbench/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/mnt/scratch/students/illorens/external_libraries/WeatherBench/src/train_nn.py", line 291, in
iterative=args.iterative
File "/mnt/scratch/students/illorens/external_libraries/WeatherBench/src/train_nn.py", line 204, in main
ds = xr.merge([z, t])
File "/home/illorens/miniconda3/envs/weatherbench/lib/python3.7/site-packages/xarray/core/merge.py", line 793, in merge
merge_result = merge_core(dict_like_objects, compat, join, fill_value=fill_value)
File "/home/illorens/miniconda3/envs/weatherbench/lib/python3.7/site-packages/xarray/core/merge.py", line 555, in merge_core
variables, out_indexes = merge_collected(collected, prioritized, compat=compat)
File "/home/illorens/miniconda3/envs/weatherbench/lib/python3.7/site-packages/xarray/core/merge.py", line 228, in merge_collected
merged_vars[name] = unique_variable(name, variables, compat)
File "/home/illorens/miniconda3/envs/weatherbench/lib/python3.7/site-packages/xarray/core/merge.py", line 143, in unique_variable
f"conflicting values for variable {name!r} on objects to be combined. "
xarray.core.merge.MergeError: conflicting values for variable 'level' on objects to be combined. You can skip this check by specifying compat='override'.

I thought it looked like a version issue. It would be great if you included the versions you used in your environment.yml file, please! Thank you so much!

I changed the merge statement to include compat='override'. The error appears because both geopotential_500 and temperature_850 contain a level variable but with different values (500 vs 850). This variable will be discarded later anyway, so it save to override it.
This error is independent from the xarray version. I used a slightly different dataset which is why this error did not appear on my side. Thanks a lot for pointing this out!

Thanks a lot!


Depends on vulnerable libraries

Describe the bug
Fluentd in any recent version depends on http_parser > 0.5.1, < 0.7.0.  This has a transitive dependency on quite old library versions with known CVEs.  Scanning a fluentd container with trivy shows:
usr/lib/ruby/gems/2.5.0/gems/http_parser.rb-0.6.0/Gemfile.lock
==============================================================
Total: 6 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 6, CRITICAL: 0)

+-----------+------------------+----------+-------------------+---------------+-----------------------------------------+
|  LIBRARY  | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION |                  TITLE                  |
+-----------+------------------+----------+-------------------+---------------+-----------------------------------------+
| ffi       | CVE-2018-1000201 | HIGH     | 1.0.11            | 1.9.24        | ruby-ffi DDL loading                    |
|           |                  |          |                   |               | issue on Windows OS                     |
|           |                  |          |                   |               | -->avd.aquasec.com/nvd/cve-2018-1000201 |
+           +                  +          +-------------------+               +                                         +
|           |                  |          | 1.0.11-java       |               |                                         |
|           |                  |          |                   |               |                                         |
|           |                  |          |                   |               |                                         |
+-----------+------------------+          +-------------------+---------------+-----------------------------------------+
| json      | CVE-2020-10663   |          | 1.8.0             | 2.3.0         | rubygem-json: Unsafe Object             |
|           |                  |          |                   |               | Creation Vulnerability in JSON          |
|           |                  |          |                   |               | -->avd.aquasec.com/nvd/cve-2020-10663   |
+           +                  +          +-------------------+               +                                         +
|           |                  |          | 1.8.0-java        |               |                                         |
|           |                  |          |                   |               |                                         |
|           |                  |          |                   |               |                                         |
+-----------+------------------+          +-------------------+---------------+-----------------------------------------+
| rake      | CVE-2020-8130    |          | 0.9.2             | 12.3.3        | rake: OS Command Injection              |
|           |                  |          |                   |               | via egrep in Rake::FileList             |
|           |                  |          |                   |               | -->avd.aquasec.com/nvd/cve-2020-8130    |
+-----------+------------------+          +-------------------+---------------+-----------------------------------------+
| yajl-ruby | CVE-2017-16516   |          | 1.1.0             | 1.3.1         | rubygem-yajl-ruby:                      |
|           |                  |          |                   |               | Yajl::Parser.new.parse                  |
|           |                  |          |                   |               | incorrect parsing                       |
|           |                  |          |                   |               | -->avd.aquasec.com/nvd/cve-2017-16516   |
+-----------+------------------+----------+-------------------+---------------+-----------------------------------------+

Thanks for the report, but the lockfile (usr/lib/ruby/gems/2.5.0/gems/http_parser.rb-0.6.0/Gemfile.lock) isn't used to install & run fluentd.
For example, td-agent 4.1.1 doesn't include such old gems:
ffi (1.15.0)
json (2.5.1)
rake (13.0.3)
yajl-ruby (1.4.1)

You can confirm it also by actual released packages: https://www.fluentd.org/download

@ashie - can u please explain why this was closed? I see the dependency for http_parser 0.6 in the spec , and http_parser 0.6 depends on these old gems. So all scanning tools are flagging this and the root cause is fluentd.

I already explained, please see above.
And please confirm that the problematic dependencies such as ffi-1.0.11, json-1.8.0, rake-0.9.2 and yajl-ruby-1.1.0 are actually installed in your system or not. Probably they aren't.
To determine dependency on installing fluentd, gem or bundler doesn't use http-parser's Gemfile.lock, it uses http_parser.rb.gemspec instead.
http_parser-0.6.0's spec is like this:
  s.add_development_dependency 'rake-compiler', '>= 0.7.9'
  s.add_development_dependency 'rspec', '>= 2.0.1'
  s.add_development_dependency 'json', '>= 1.4.6'
  s.add_development_dependency 'benchmark_suite'
  s.add_development_dependency 'ffi'

As you see, it doesn't lock to problematic versions of such gems, so that later version will be used in usual.
BTW, probably there is no particular reason that fluentd locks http_parser's version.
So I'll check the latest version and update to it if it's no problem.

BTW, probably there is no particular reason that fluentd locks http_parser's version.
So I'll check the latest version and update to it if it's no problem.

I mistook http_parser and http-parser.
For http_parser, there is no newer version.

@ashie thanks. yes, there is no newer version for http_parser. Is it safe to delete the gem lock for http_parser ?

Is it safe to delete the gem lock for http_parser ?

Yes.
Or the file should be excluded from scanning by your tool's setting.

I can exclude this from my scan, but our customers scan and complain about this. Is it possible to consider removing it as part of fluentd install ? I see several customers flag this.

I'm asking to upstream to remove it:
https://github.com/tmm1/http_parser.rb/issues/70
And we can remove it from td-agent and Docker images.
For other installs like gem install or bundle install, probably it's hard.

thank you @ashie . once its removed from http_parser and a new version of  the gem released, i guess for people installing the newer version of the gem, this file will not exist...

@ashie Any chance of upgrading the http_parser dependency here to your 0.7.0 now than you've released it? It specifies in the gemspec to not include that version.

Of course we'll upgrade it.


Improved requests highlight

I found some code, which works with pygments library, but it didn't works out of the box. I made tiny change and also added http headers highlighting. Now it works for me.

Great, thanks!


cannot create fifo 'logs/pipe': Operation not supported on Windows

Running this in VS Code in a WSL terminal:
me@ThisMachine:/mnt/c/Projects/OpenDevin/OpenDevin$ make setup-config
Setting up config.toml...
Enter your LLM API key: sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Enter your LLM Model name [default: gpt-4-0125-preview]:
Enter your workspace directory [default: ./workspace]:
me@ThisMachine:/mnt/c/Projects/OpenDevin/OpenDevin$ make run
Running the app...
mkfifo: cannot create fifo 'logs/pipe': Operation not supported
make: *** [Makefile:38: run] Error 1
me@ThisMachine:/mnt/c/Projects/OpenDevin/OpenDevin$
GitHub Copilot says:
The error message you're seeing is due to the fact that the mkfifo command is trying to create a named pipe (also known as a FIFO) in a filesystem that doesn't support it. In this case, it's likely that the filesystem is mounted under WSL (Windows Subsystem for Linux), but the actual filesystem is NTFS, which is a Windows filesystem that doesn't support named pipes.
You have a few options to resolve this:
Create the FIFO in a supported filesystem: You could change the location where the FIFO is created to a location that resides in a filesystem that supports it. This would typically be somewhere in the Linux filesystem, not under the /mnt/ directory.
Change the command to not use a FIFO: If the FIFO is not essential for your application, you could modify the Makefile to not use a FIFO. This might involve changing how logging is handled in your application.
Use a different method for inter-process communication: If the FIFO is being used for inter-process communication, you could change your application to use a different method of inter-process communication that is supported on both Linux and Windows.
Originally posted by @jaslogic1 in https://github.com/OpenDevin/OpenDevin/issues/651#issuecomment-2034761600

The issue revolves around make run. I noticed this lastnight as well and not sure if it's fixed yet.
Just run seperate instances using:
make start-backend
make start-frontend
Until it's fixed, but considering how fast-paced this project has been it shouldn't be long.

Using fifo is to allow make run to display the logs of backend and frontend at the same time. If Windows doesn't support it, there don't seem to be any good solutions to achieve a similar effect.
A simple solution is to let make run remind users to use make start-frontend and make start-backend to start separately in Windows. What do you guys think?

Sort of fixed now


Layer's before prop not updating

We need to compare prop.before so that it gets updated (map.moveLayer needs to be called) in componentWillReceiveProps
PR up #126
relevant changes in layer.ts -- accidentally branched form another feature branch, so it may list changes from #122

It is in master https://github.com/alex3165/react-mapbox-gl/commit/2277b22573dbd59147affa9fa64d50357f8e5113


Programmatically open and close ExpansionTile Widget.

I was building a Card which would be placed at the bottom of the screen, ExpansionTile is the child of this widget. When I click this card, the showModalBottomSheet() is called in OnExpansionChanged, however, I don't know how to close it. An open and close feature would be nice.
code reference: https://gist.github.com/ritvij-saxena/4726b3a834b8aa4afb7305eda2c970da
Live demo: https://dartpad.dev/4726b3a834b8aa4afb7305eda2c970da

Related to https://github.com/flutter/flutter/issues/7024
Currently we only have initiallyExpanded which does it initially and there is no way to close ExpansionTile afterwards programmatically https://github.com/flutter/flutter/issues/7024#issuecomment-623007043

Should I be looking forward to this feature in the near future?

is there any way to close or open an ExpansionList in current version without loosing the animation?

Is there a design doc for this? I am willing to create a PR for this if it is a desired feature.

For those looking for a solution before this has been implemented in Flutter:
You can simply copy the code of ExpansionTile and make a few changes.

I suggest renaming ExpansionTile and _ExpansionTileState to something else so the names don't cause confusion.
Make the previous _ExpansionTileState public (because we'll need to use a GlobalKey)
Add the method below. This will toggle the animation and state of ExpansionTileState when the new setting is different from the current one and changes nothing otherwise.

  void setExpanded(bool doExpand)
  {
    if ( doExpand != _isExpanded)
      _handleTap();
  }

Now simply initialise ExpansionTile with a key and keep a reference to that key wherever you are using the Widget. Then you can call key.currentState.doExpand(bool newExpandedState) when needed. Or click here to see my implementation.
The actual implementation in Flutter will probably differ though (as I don't believe they want to expose _ExpansionTileState).

Hello! Your link is broken.. Could you update it? Thanks)

For those looking for a solution before this has been implemented in Flutter:
You can simply copy the code of ExpansionTile and make a few changes.

I suggest renaming ExpansionTile and _ExpansionTileState to something else so the names don't cause confusion.
Make the previous _ExpansionTileState public (because we'll need to use a GlobalKey)
Add the method below. This will toggle the animation and state of ExpansionTileState when the new setting is different from the current one and changes nothing otherwise.

  void setExpanded(bool doExpand)
  {
    if ( doExpand != _isExpanded)
      _handleTap();
  }

Now simply initialise ExpansionTile with a key and keep a reference to that key wherever you are using the Widget. Then you can call key.currentState.setExpanded(bool newExpandedState) when needed. Or click here to see my implementation.
The actual implementation in Flutter will probably differ though (as I don't believe they want to expose _ExpansionTileState).

Hello! Your link is broken.. Could you update it? Thanks)

For those looking for a solution before this has been implemented in Flutter:
You can simply copy the code of ExpansionTile and make a few changes.

I suggest renaming ExpansionTile and _ExpansionTileState to something else so the names don't cause confusion.
Make the previous _ExpansionTileState public (because we'll need to use a GlobalKey)
Add the method below. This will toggle the animation and state of ExpansionTileState when the new setting is different from the current one and changes nothing otherwise.

  void setExpanded(bool doExpand)
  {
    if ( doExpand != _isExpanded)
      _handleTap();
  }

Now simply initialise ExpansionTile with a key and keep a reference to that key wherever you are using the Widget. Then you can call key.currentState.setExpanded(bool newExpandedState) when needed. Or click here to see my implementation.
The actual implementation in Flutter will probably differ though (as I don't believe they want to expose _ExpansionTileState).

Hello! Your link is broken.. Could you update it? Thanks)

Woops, my bad. Fixed it.

FWIW, it's far far more elegant to use ExpansionPanel which supports programmatically expanding and collapsing rather than changing keys to force an ExpansionTile to be rebuilt (which breaks the expansion/collapse animations).

its easy with this trick :
1- open expantion_tile.dart
2- in the state class and add this code :

  @override
  void didUpdateWidget(ExpansionTile oldWidget) {
    super.didUpdateWidget(oldWidget);
    if (oldWidget.initiallyExpanded != widget.initiallyExpanded) {
      _handleTap();
    }
  }

and then you can use initiallyExpanded property as your own isExapnded and change it...!!
.
.
ExpansionTile(
        initiallyExpanded: _isExpanded,
.
.

and next :`
.
.
onPressed: () {
        print("hello");
        setState(() {
          _isExpanded = !_isExpanded;
        });
      },
.
.

remember restart your app for apply changes...
its worked for me.

its easy with this trick :
.
.
.
remember restart your app for apply changes... its worked for me.

Editing code from external libraries (such as Flutter), is HIGHLY discouraged.
When Flutter releases updates you're likely to get merge conflicts and/or the update will trample your local. Instead, you should make your changes a PR against flutter/flutter (of course adding tests and making sure your code is bug-free).
Contributing to flutter has a little bit of a learning curve but it's really not bad. See the contributing guide.

The best solution I think would be to make the isExpanded field public and if the user provide a value for it or is changing it, the controller should respond. Here is the method will work for this:

its easy with this trick :
1- open expantion_tile.dart 2- in the state class and add this code :

  @override
  void didUpdateWidget(ExpansionTile oldWidget) {
    super.didUpdateWidget(oldWidget);
    if (oldWidget.initiallyExpanded != widget.initiallyExpanded) {
      _handleTap();
    }
  }

and then you can use initiallyExpanded property as your own isExapnded and change it...!!
.
.
ExpansionTile(
        initiallyExpanded: _isExpanded,
.
.

and next :`
.
.
onPressed: () {
        print("hello");
        setState(() {
          _isExpanded = !_isExpanded;
        });
      },
.
.

remember restart your app for apply changes... its worked for me.

MARVELLOUS, this works for me

@override
  void didUpdateWidget(AppExpansionTile oldWidget) {
    if (oldWidget.isExpanded != widget.isExpanded &&
        (_controller.status != AnimationStatus.forward ||
            _controller.status != AnimationStatus.reverse)) {
      if (widget.isExpanded) {
        _controller.forward().then((value) {
          setState(() {
            _isExpanded = widget.isExpanded;
          });
        });
      } else {
        _controller.reverse().then((value) {
          setState(() {
            _isExpanded = widget.isExpanded;
          });
        });
      }
    }
    super.didUpdateWidget(oldWidget);
  }

I custom the method base on other answers

I custom the method base on other answers

Lol guys you all should really stop doing this. Updates will trample and break your changes-don't get in the habit of editing external libraries. It's extremally brittle.

It's been more than 2 years and nothing?

Some PRs have been made but all have been closed. This comment in #95727 suggests a good approach though.

It's been more than 2 years and nothing?

Some PRs have been made but all have been closed. This comment in #95727 suggests a good approach though.

Solution: https://github.com/TreyThomas93/flutter-expansion-tile-demo

Hello @ritvij-saxena.
Did you solve this problem?
I got an issue like this.
I want your contact.
Thank you.


Add a Spin Dash

just as it says in the title

There are some minor bugs (like spindash rev being added every frame because Input.A is always true while holding the button, or new Input.DirectionalMovement not being set on spindash and therefore Sonic can move horizontally while charging, but they're all easily fixable), but overall it works well!
Thank you!


Show message on succesful registration.

@comzeradd r?

r+

@ppapadeas Can you r? the text?

Since we call this settings now, I'd suggest we display something like this: "Your registration is complete. Head over to Settings for more options". Or something like that. It would probably make sense to linkify the Settings.

@akatsoulas r?

Text should be:
"Your registration is complete. Feel free to visit the Settings page to complete additional info for your profile."
With a link on the word "Settings"

@akatsoulas PR updated

A small test, looking for the error would be really nice :)

r+wc :rocket:


Issue with returns_scalar for register_plugin

Hello!
I tried following the instructions but I get the following error (I think I have setup the environment correctly):
(.venv) josie@...:~/code/cookiecutter-polars-plugins/minimal_plugin$ python run.py
Traceback (most recent call last):
  File "/home/josie/code/cookiecutter-polars-plugins/minimal_plugin/run.py", line 7, in <module>
    result = df.with_columns(pig_latin = pig_latinnify('english'))
                                         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/josie/code/cookiecutter-polars-plugins/minimal_plugin/minimal_plugin/__init__.py", line 22, in pig_latinnify
    return register_plugin(
           ^^^^^^^^^^^^^^^^
TypeError: register_plugin() missing 1 required keyword-only argument: 'returns_scalar'

Adding returns_scalar=False in https://github.com/MarcoGorelli/cookiecutter-polars-plugins/blob/main/{{ cookiecutter.project_slug }}/{{ cookiecutter.project_slug }}/init.py#L22-L27 seems to fix the issue

thanks @bomtall! that should fix it
cc @thomasjpfan just FYI (no blame!)

it should be fine if you try again now


several errors are bunched up at the beginning of the file

Hello, I'm having an odd issue where several errors are bunched up at the beginning of the file:

If I add a blank line at the beginning of the file, it disables the branch coverage and makes it seem like 100% coverage:

Notice that the only difference is the addition of the blank line.

The issue was .babelrc having "retainLines": true. I removed this option and coverage worked perfectly.


Don't sort Range's anchor and head arguments

They are sorted by Range again anyway.
It would probably make sense to have non-sorting construction and retrieval options for Ranges.

They are sorted by Range again anyway.

What do you mean by that? The Range constructor just assigns its arguments to head and anchor.

What do you mean by that? The Range constructor just assigns its arguments to head and anchor.

I was referring to the fact that from and to sort. I didn't expect so many places to directly access head and anchor. I suppose it makes sense to not loose this information here.


(maint) Update to jruby-<IP_ADDRESS> and move socket timeout to new method.

To remove Timeout usage per https://github.com/mperham/connection_pool

WARNING: Don't ever use Timeout.timeout in your Ruby code or you will see occasional silent corruption and mysterious errors. The Timeout API is unsafe and cannot be used correctly, ever. Use proper socket timeout options as exposed by Net::HTTP, Redis, Dalli, etc.


Add is: null, not null filter operator to array filter

Describe the bug
kindly Add is: null, not null filter operator to array filter,
i saw pg_graphql 1.5.5 has [ cd, cs, eq, gt, gte, lt, lte, neq, ov] these filters.
need  to check is null and is not null.
Versions:

PostgreSQL: 16
pg_graphql: 1.5.5

thanks for catching the absent is support. I'll open a PR for it
gt, gte, lt, lte, neq were actually removed because their function is a bit postgres specific i.e. there is no agreed upon set of rules across programming languages to determine if one array is greater than another array.

Thank you for adding IS filtering support, because i need it for my task. kindly release as soon as possible.

working on it here https://github.com/supabase/pg_graphql/pull/529
expecting to have an official release out Monday or Tuesday


feat: Initial implementation of active deployment action

Implement action that finds the nth most recent active deploy in a GitHub repository. Defaults to finding the first deployment. If nth is 2 it will find the second most recent deployment.
Allows users to override which repository (owner and repo) to fetch deployments from. Defaults to the one in the github.context.
Will page through deployments with a slight politeness delay to avoid spamming GitHub API.

Opened PR on wrong repository.


remove RepoSearcher, remoteRepo/*, and other unused code

Now that JetBrains and other clients are using the shared webview code, these protocol messages are no longer needed. Confirmed by searching the JetBrains repo (e.g., https://sourcegraph.com/search?q=repo:sourcegraph/jetbrains%24+chat/remote+&patternType=keyword&sm=0).
Test plan
CI

whoops, I meant to auto-merge on green, but I must have accidentally clicked the override merge

oh, actually, it's because my base branch was not main

and the changes are now in https://github.com/sourcegraph/cody/pull/5499


org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/0:0:0:0:0:0:0:1:8081[Bug] [Module Name] Bug title

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/0:0:0:0:0:0:0:1:8081
SeaTunnel Version
2.3.3
SeaTunnel Config
1. config/hazelcast.yaml
hazelcast:
  cluster-name: seatunnel
  network:
    rest-api:
      enabled: true
      endpoint-groups:
        CLUSTER_WRITE:
          enabled: true
        DATA:
          enabled: true
    join:
      tcp-ip:
        enabled: true
        member-list:
          - localhost
    port:
      auto-increment: false
      port: 5801
  properties:
    hazelcast.invocation.max.retry.count: 20
    hazelcast.tcp.join.port.try.count: 30
    hazelcast.logging.type: log4j2
    hazelcast.operation.generic.thread.count: 50

2. config/seatunnel.yaml
seatunnel:
  engine:
    history-job-expire-minutes: 1440
    backup-count: 1
    queue-type: blockingqueue
    print-execution-info-interval: 60
    print-job-metrics-info-interval: 60
    slot-service:
      dynamic-slot: true
    checkpoint:
      interval: 10000
      timeout: 60000
      storage:
        type: hdfs
        max-retained: 3
        plugin-config:
          namespace: /tmp/seatunnel/checkpoint_snapshot
          storage.type: hdfs
          fs.defaultFS: file:///tmp/ # Ensure that the directory has written permission#

3. config/v2.streaming.conf.template

Running Command
bash ./bin/start-seatunnel-flink-15-connector-v2.sh --config ./config/v2.streaming.conf.template

Error Exception
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/0:0:0:0:0:0:0:1:8081

Zeta or Flink or Spark Version
Flink 1.15.1
Java or Scala Version
openjdk version "1.8.0_372"
Screenshots

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

you don't have start the flink cluster, or the flink home is not correct.
pls refer https://seatunnel.apache.org/docs/2.3.3/start-v2/locally/quick-start-flink

you don't have start the flink cluster, you need start flink cluster before submit job. pls refer https://seatunnel.apache.org/docs/2.3.3/start-v2/locally/quick-start-flink

yeah, I have got the server started , just like 'org.apache.seatunnel.core.starter.seatunnel.SeaTunnelServer -d'
./bin/seatunnel-cluster.sh -d
but, it also doesn't work

if you need run with flink engine, you need

start seatunnel cluster ( the ./bin/seatunnel-cluster.sh -d you run )
start the flink cluster ( cd flink home, run ./bin/start-cluster.sh )

https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/resource-providers/standalone/overview/

if you need run with flink engine, you need

start seatunnel cluster ( the ./bin/seatunnel-cluster.sh -d command you run )
start the flink cluster ( cd flink home, run ./bin/start-cluster.sh )
submit job

https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/resource-providers/standalone/overview/

Thank you very much，it works !

We should start the flink cluster firstly.