Installation not working on Windows

Describe the bug
I'm using the project-template in a separate folder, because I do not create a template when I write botfront.
botfront up

Checking Docker images
Downloading Docker images...
Docker images ready.
Shutting down running project first...
Starting Botfront...
Creating network "botfront_botfront-network" with the default driver
Creating volume "botfront_botfront-db" with default driver
Creating botfront-actions  ... done
Creating botfront-duckling ... done
Creating botfront-mongo    ... done
Creating botfront-app      ... done
Creating botfront-api      ... done
Creating botfront-rasa     ... done
ERROR: Something went wrong. Check the logs above for more information ☝, or try inspecting the logs with botfront logs.

To Reproduce
Steps to reproduce the behavior:

Botfront up

Expected behavior
Should be able to enter the botfront interface
Desktop (please complete the following information):

OS: Windows 10 pro
Firefox
Docker

Additional context
The botfront logs:

botfront-rasa   | 2019-07-14 16:44:01 INFO     botfront.utils  - Fetching endpoints from server
botfront-rasa   | 2019-07-14 16:44:01 DEBUG    botfront.utils  - Requesting endpoints from server http://botfront-api:8080/project/bf/endpoints...
botfront-rasa   | 2019-07-14 16:44:01 WARNING  botfront.utils  - Tried to fetch rules from server, but couldn't reach server. We'll retry later... Error: Cannot connect to host botfront-api:8080 ssl:None [Name or service not known].
botfront-rasa   | http://botfront-api:8080/project/bf/endpoints
botfront-rasa   | Traceback (most recent call last):
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 955, in _create_direct_connection
botfront-rasa   |     traces=traces), loop=self._loop)
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 825, in _resolve_host
botfront-rasa   |     self._resolver.resolve(host, port, family=self._family)
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/aiohttp/resolver.py", line 30, in resolve
botfront-rasa   |     host, port, type=socket.SOCK_STREAM, family=family)
botfront-rasa   |   File "uvloop/loop.pyx", line 1464, in getaddrinfo
botfront-rasa   | socket.gaierror: [Errno -2] Name or service not known
botfront-rasa   |
botfront-rasa   | The above exception was the direct cause of the following exception:
botfront-rasa   |
botfront-rasa   | Traceback (most recent call last):
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/botfront/utils.py", line 34, in load_from_remote
botfront-rasa   |     params=params,
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 1005, in aenter
botfront-rasa   |     self._resp = await self._coro
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 476, in _request
botfront-rasa   |     timeout=real_timeout
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 522, in connect
botfront-rasa   |     proto = await self._create_connection(req, traces, timeout)
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 854, in _create_connection
botfront-rasa   |     req, traces, timeout)
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 959, in _create_direct_connection
botfront-rasa   |     raise ClientConnectorError(req.connection_key, exc) from exc
botfront-rasa   | aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host botfront-api:8080 ssl:None [Name or service not known]
botfront-rasa   |
botfront-rasa   | During handling of the above exception, another exception occurred:
botfront-rasa   |
botfront-rasa   | Traceback (most recent call last):
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/botfront/utils.py", line 75, in set_endpoints_credentials_args_from_remote
botfront-rasa   |     load_from_remote(EndpointConfig(url=url), "endpoints")
botfront-rasa   |   File "uvloop/loop.pyx", line 1451, in uvloop.loop.Loop.run_until_complete
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/botfront/utils.py", line 61, in load_from_remote
botfront-rasa   |     raise requests.exceptions.InvalidURL(server.url)
botfront-rasa   | requests.exceptions.InvalidURL: http://botfront-api:8080/project/bf/endpoints
botfront-rasa   |
botfront-rasa   | During handling of the above exception, another exception occurred:
botfront-rasa   |
botfront-rasa   | Traceback (most recent call last):
botfront-rasa   |   File "/usr/local/bin/rasa", line 10, in
botfront-rasa   |     sys.exit(main())
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/rasa/main.py", line 76, in main
botfront-rasa   |     cmdline_arguments.func(cmdline_arguments)
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/rasa/cli/run.py", line 79, in run
botfront-rasa   |     set_endpoints_credentials_args_from_remote(args)
botfront-rasa   |   File "/usr/local/lib/python3.6/site-packages/botfront/utils.py", line 79, in set_endpoints_credentials_args_from_remote
botfront-rasa   |     raise ValueError('No endpoints found for project {}.'.format(project_id))
botfront-rasa   | ValueError: No endpoints found for project bf.
botfront-rasa exited with code 1
botfront-mongo  | 2019-07-14T16:44:07.941+0000 E STORAGE  [initandlisten] WiredTiger error (17) [1563122647:941053][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1563122647:941053][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists
botfront-mongo  | 2019-07-14T16:44:07.945+0000 I STORAGE  [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.108
botfront-mongo  | 2019-07-14T16:44:07.947+0000 E STORAGE  [initandlisten] WiredTiger error (1) [1563122647:947793][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1563122647:947793][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
botfront-mongo  | 2019-07-14T16:44:08.005+0000 E STORAGE  [initandlisten] WiredTiger error (17) [1563122648:5250][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1563122648:5250][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists
botfront-mongo  | 2019-07-14T16:44:08.009+0000 I STORAGE  [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.109
botfront-mongo  | 2019-07-14T16:44:08.013+0000 E STORAGE  [initandlisten] WiredTiger error (1) [1563122648:13071][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1563122648:13071][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
botfront-mongo  | 2019-07-14T16:44:08.064+0000 E STORAGE  [initandlisten] WiredTiger error (17) [1563122648:64662][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1563122648:64662][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists
botfront-mongo  | 2019-07-14T16:44:08.068+0000 I STORAGE  [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.110
botfront-mongo  | 2019-07-14T16:44:08.072+0000 E STORAGE  [initandlisten] WiredTiger error (1) [1563122648:71991][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1563122648:71991][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
botfront-mongo  | 2019-07-14T16:44:08.074+0000 W STORAGE  [initandlisten] Failed to start up WiredTiger under any compatibility version.
botfront-mongo  | 2019-07-14T16:44:08.074+0000 F STORAGE  [initandlisten] Reason: 1: Operation not permitted
botfront-mongo  | 2019-07-14T16:44:08.074+0000 F -        [initandlisten] Fatal Assertion 28595 at src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 704
botfront-mongo  | 2019-07-14T16:44:08.074+0000 F -        [initandlisten]
botfront-mongo  |
botfront-mongo  | ***aborting after fassert() failure
botfront-mongo  |
botfront-mongo  |
botfront-mongo exited with code 14
botfront-api    |
botfront-api    | ><EMAIL_ADDRESS>start /app
botfront-api    | > node app.js
botfront-api    |
botfront-api    | the server/replset/mongos/db options are deprecated, all their options are supported at the top level of the options object [poolSize,ssl,sslValidate,sslCA,sslCert,sslKey,sslPass,sslCRL,autoReconnect,noDelay,keepAlive,keepAliveInitialDelay,connectTimeoutMS,family,socketTimeoutMS,reconnectTries,reconnectInterval,ha,haInterval,replicaSet,secondaryAcceptableLatencyMS,acceptableLatencyMS,connectWithNoPrimary,authSource,w,wtimeout,j,forceServerObjectId,serializeFunctions,ignoreUndefined,raw,bufferMaxEntries,readPreference,pkFactory,promiseLibrary,readConcern,maxStalenessSeconds,loggerLevel,logger,promoteValues,promoteBuffers,promoteLongs,domainsEnabled,checkServerIdentity,validateOptions,appname,auth,user,password,authMechanism,compression,fsync,readPreferenceTags,numberOfRetries,auto_reconnect,minSize,monitorCommands,retryWrites,useNewUrlParser]
botfront-api    | (node:16) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
botfront-api    | Server running at http://<IP_ADDRESS>:8080
botfront-api    | /app/app.js:28
botfront-api    |             throw new Error(unable to connect to database: ${config.mongo.host});
botfront-api    |             ^
botfront-api    |
botfront-api    | Error: unable to connect to database: mongodb://mongo:27017/bf
botfront-api    |     at NativeConnection.mongoose.connection.on (/app/app.js:28:19)
botfront-api    |     at emitOne (events.js:116:13)
botfront-api    |     at NativeConnection.emit (events.js:211:7)
botfront-api    |     at process.nextTick (/app/node_modules/mongoose/lib/connection.js:581:37)
botfront-api    |     at _combinedTickCallback (internal/process/next_tick.js:132:7)
botfront-api    |     at process._tickCallback (internal/process/next_tick.js:181:9)
botfront-api    | npm ERR! code ELIFECYCLE
botfront-api    | npm ERR! errno 1
botfront-api    | npm ERR<EMAIL_ADDRESS>start: node app.js
botfront-api    | npm ERR! Exit status 1
botfront-api    | npm ERR!
botfront-api    | npm ERR! Failed at the<EMAIL_ADDRESS>start script.
botfront-api    | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
botfront-api    |
botfront-api    | npm ERR! A complete log of this run can be found in:
botfront-api    | npm ERR!     /root/.npm/_logs/2019-07-14T16_44_37_355Z-debug.log
botfront-api exited with code 1

So you did not create your project with botfront init?
Le dim. 14 juill. 2019 12 h 48, xScorpionx<EMAIL_ADDRESS>a
écrit :

Describe the bug
I'm using the project-template in a separate folder, because I do not
create a template when I write botfront.
botfront up
Checking Docker images
Downloading Docker images...
Docker images ready.
Shutting down running project first...
Starting Botfront...
Creating network "botfront_botfront-network" with the default driver
Creating volume "botfront_botfront-db" with default driver
Creating botfront-actions ... done
Creating botfront-duckling ... done
Creating botfront-mongo ... done
Creating botfront-app ... done
Creating botfront-api ... done
Creating botfront-rasa ... done
ERROR: Something went wrong. Check the logs above for more information ☝,
or try inspecting the logs with botfront logs.
To Reproduce
Steps to reproduce the behavior:

Botfront up

Expected behavior
Should be able to enter the botfront interface
Desktop (please complete the following information):

OS: Windows 10 pro
Firefox
Docker

Additional context
The botfront logs:
botfront-rasa | 2019-07-14 16:44:01 INFO botfront.utils - Fetching
endpoints from server
botfront-rasa | 2019-07-14 16:44:01 DEBUG botfront.utils - Requesting
endpoints from server http://botfront-api:8080/project/bf/endpoints...
botfront-rasa | 2019-07-14 16:44:01 WARNING botfront.utils - Tried to
fetch rules from server, but couldn't reach server. We'll retry later...
Error: Cannot connect to host botfront-api:8080 ssl:None [Name or service
not known].
botfront-rasa | http://botfront-api:8080/project/bf/endpoints
botfront-rasa | Traceback (most recent call last):
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 955, in
_create_direct_connection
botfront-rasa | traces=traces), loop=self._loop)
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 825, in
_resolve_host
botfront-rasa | self._resolver.resolve(host, port, family=self._family)
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/aiohttp/resolver.py", line 30, in
resolve
botfront-rasa | host, port, type=socket.SOCK_STREAM, family=family)
botfront-rasa | File "uvloop/loop.pyx", line 1464, in getaddrinfo
botfront-rasa | socket.gaierror: [Errno -2] Name or service not known
botfront-rasa |
botfront-rasa | The above exception was the direct cause of the following
exception:
botfront-rasa |
botfront-rasa | Traceback (most recent call last):
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/botfront/utils.py", line 34, in
load_from_remote
botfront-rasa | params=params,
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 1005, in
aenter
botfront-rasa | self._resp = await self._coro
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 476, in
_request
botfront-rasa | timeout=real_timeout
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 522, in
connect
botfront-rasa | proto = await self._create_connection(req, traces, timeout)
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 854, in
_create_connection
botfront-rasa | req, traces, timeout)
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 959, in
_create_direct_connection
botfront-rasa | raise ClientConnectorError(req.connection_key, exc) from
exc
botfront-rasa | aiohttp.client_exceptions.ClientConnectorError: Cannot
connect to host botfront-api:8080 ssl:None [Name or service not known]
botfront-rasa |
botfront-rasa | During handling of the above exception, another exception
occurred:
botfront-rasa |
botfront-rasa | Traceback (most recent call last):
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/botfront/utils.py", line 75, in
set_endpoints_credentials_args_from_remote
botfront-rasa | load_from_remote(EndpointConfig(url=url), "endpoints")
botfront-rasa | File "uvloop/loop.pyx", line 1451, in
uvloop.loop.Loop.run_until_complete
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/botfront/utils.py", line 61, in
load_from_remote
botfront-rasa | raise requests.exceptions.InvalidURL(server.url)
botfront-rasa | requests.exceptions.InvalidURL:
http://botfront-api:8080/project/bf/endpoints
botfront-rasa |
botfront-rasa | During handling of the above exception, another exception
occurred:
botfront-rasa |
botfront-rasa | Traceback (most recent call last):
botfront-rasa | File "/usr/local/bin/rasa", line 10, in
botfront-rasa | sys.exit(main())
botfront-rasa | File "/usr/local/lib/python3.6/site-packages/rasa/main.py",
line 76, in main
botfront-rasa | cmdline_arguments.func(cmdline_arguments)
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/rasa/cli/run.py", line 79, in run
botfront-rasa | set_endpoints_credentials_args_from_remote(args)
botfront-rasa | File
"/usr/local/lib/python3.6/site-packages/botfront/utils.py", line 79, in
set_endpoints_credentials_args_from_remote
botfront-rasa | raise ValueError('No endpoints found for project
{}.'.format(project_id))
botfront-rasa | ValueError: No endpoints found for project bf.
botfront-rasa exited with code 1
botfront-mongo | 2019-07-14T16:44:07.941+0000 E STORAGE [initandlisten]
WiredTiger error (17) [1563122647:941053][1:0x7f097b811a80], connection:
__posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File
exists Raw: [1563122647:941053][1:0x7f097b811a80], connection:
__posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File
exists
botfront-mongo | 2019-07-14T16:44:07.945+0000 I STORAGE [initandlisten]
WiredTiger message unexpected file WiredTiger.wt found, renamed to
WiredTiger.wt.108
botfront-mongo | 2019-07-14T16:44:07.947+0000 E STORAGE [initandlisten]
WiredTiger error (1) [1563122647:947793][1:0x7f097b811a80], connection:
__posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open:
Operation not permitted Raw: [1563122647:947793][1:0x7f097b811a80],
connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open:
open: Operation not permitted
botfront-mongo | 2019-07-14T16:44:08.005+0000 E STORAGE [initandlisten]
WiredTiger error (17) [1563122648:5250][1:0x7f097b811a80], connection:
__posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File
exists Raw: [1563122648:5250][1:0x7f097b811a80], connection:
__posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File
exists
botfront-mongo | 2019-07-14T16:44:08.009+0000 I STORAGE [initandlisten]
WiredTiger message unexpected file WiredTiger.wt found, renamed to
WiredTiger.wt.109
botfront-mongo | 2019-07-14T16:44:08.013+0000 E STORAGE [initandlisten]
WiredTiger error (1) [1563122648:13071][1:0x7f097b811a80], connection:
__posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open:
Operation not permitted Raw: [1563122648:13071][1:0x7f097b811a80],
connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open:
open: Operation not permitted
botfront-mongo | 2019-07-14T16:44:08.064+0000 E STORAGE [initandlisten]
WiredTiger error (17) [1563122648:64662][1:0x7f097b811a80], connection:
__posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File
exists Raw: [1563122648:64662][1:0x7f097b811a80], connection:
__posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File
exists
botfront-mongo | 2019-07-14T16:44:08.068+0000 I STORAGE [initandlisten]
WiredTiger message unexpected file WiredTiger.wt found, renamed to
WiredTiger.wt.110
botfront-mongo | 2019-07-14T16:44:08.072+0000 E STORAGE [initandlisten]
WiredTiger error (1) [1563122648:71991][1:0x7f097b811a80], connection:
__posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open:
Operation not permitted Raw: [1563122648:71991][1:0x7f097b811a80],
connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open:
open: Operation not permitted
botfront-mongo | 2019-07-14T16:44:08.074+0000 W STORAGE [initandlisten]
Failed to start up WiredTiger under any compatibility version.
botfront-mongo | 2019-07-14T16:44:08.074+0000 F STORAGE [initandlisten]
Reason: 1: Operation not permitted
botfront-mongo | 2019-07-14T16:44:08.074+0000 F - [initandlisten] Fatal
Assertion 28595 at src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
704
botfront-mongo | 2019-07-14T16:44:08.074+0000 F - [initandlisten]
botfront-mongo |
botfront-mongo | ***aborting after fassert() failure
botfront-mongo |
botfront-mongo |
botfront-mongo exited with code 14
botfront-api |
botfront-api | ><EMAIL_ADDRESS>start /app
botfront-api | > node app.js
botfront-api |
botfront-api | the server/replset/mongos/db options are deprecated, all
their options are supported at the top level of the options object
[poolSize,ssl,sslValidate,sslCA,sslCert,sslKey,sslPass,sslCRL,autoReconnect,noDelay,keepAlive,keepAliveInitialDelay,connectTimeoutMS,family,socketTimeoutMS,reconnectTries,reconnectInterval,ha,haInterval,replicaSet,secondaryAcceptableLatencyMS,acceptableLatencyMS,connectWithNoPrimary,authSource,w,wtimeout,j,forceServerObjectId,serializeFunctions,ignoreUndefined,raw,bufferMaxEntries,readPreference,pkFactory,promiseLibrary,readConcern,maxStalenessSeconds,loggerLevel,logger,promoteValues,promoteBuffers,promoteLongs,domainsEnabled,checkServerIdentity,validateOptions,appname,auth,user,password,authMechanism,compression,fsync,readPreferenceTags,numberOfRetries,auto_reconnect,minSize,monitorCommands,retryWrites,useNewUrlParser]
botfront-api | (node:16) DeprecationWarning: current URL string parser is
deprecated, and will be removed in a future version. To use the new parser,
pass option { useNewUrlParser: true } to MongoClient.connect.
botfront-api | Server running at http://<IP_ADDRESS>:8080
botfront-api | /app/app.js:28
botfront-api | throw new Error(unable to connect to database:
${config.mongo.host});
botfront-api | ^
botfront-api |
botfront-api | Error: unable to connect to database:
mongodb://mongo:27017/bf
botfront-api | at NativeConnection.mongoose.connection.on
(/app/app.js:28:19)
botfront-api | at emitOne (events.js:116:13)
botfront-api | at NativeConnection.emit (events.js:211:7)
botfront-api | at process.nextTick
(/app/node_modules/mongoose/lib/connection.js:581:37)
botfront-api | at _combinedTickCallback
(internal/process/next_tick.js:132:7)
botfront-api | at process._tickCallback
(internal/process/next_tick.js:181:9)
botfront-api | npm ERR! code ELIFECYCLE
botfront-api | npm ERR! errno 1
botfront-api | npm ERR<EMAIL_ADDRESS>start: node app.js
botfront-api | npm ERR! Exit status 1
botfront-api | npm ERR!
botfront-api | npm ERR! Failed at the<EMAIL_ADDRESS>start script.
botfront-api | npm ERR! This is probably not a problem with npm. There is
likely additional logging output above.
botfront-api |
botfront-api | npm ERR! A complete log of this run can be found in:
botfront-api | npm ERR! /root/.npm/_logs/2019-07-14T16_44_37_355Z-debug.log
botfront-api exited with code 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/botfront/botfront/issues/115?email_source=notifications&email_token=AA4GAKTOLQSFP7NAGUOKAWLP7NKGPA5CNFSM4IDRN6SKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7C7YQQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4GAKRSB7LKOJCXJIRMWBTP7NKGPANCNFSM4IDRN6SA
.

No, because when I try to create it, this appears to me.

botfront init
? The project will be created in a subdirectory. How do you want to name it? chat_bot
{ [Error: ENOENT: no such file or directory, access 'D:\C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\project-template']
errno: -4058,
code: 'ENOENT',
syscall: 'access',
path:
'D:\C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\project-template' }
{ Error: ENOENT: no such file or directory, open 'D:\Chatbot\chat_bot.botfront\docker-compose.yml'
at Object.openSync (fs.js:443:3)
at Proxy.readFileSync (fs.js:343:35)
at getComposeFile (C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\src\utils.js:154:29)
at getServices (C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\src\utils.js:158:22)
at getMissingImgs (C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\src\utils.js:168:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'D:\Chatbot\chat_bot\.botfront\docker-compose.yml' }

Looks like a bug on Windows

For some reason, D:\ seems to be prepended to the path:
D:\C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\project-template'

Any idea why would that happen?

@znat how can I solve this?

Theres a PR open (#121) , the fix will be released soon

For some reason, D:\ seems to be prepended to the path:
D:\C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\project-template'

Any idea why would that happen?

Because my project is on local disk D:

@xScorpionx should be fixed with latest release. Can you please confirm?

The error continues:
Welcome to Botfront!   │
│   version: 0.15.1
? What do you want to do? Create a new project
? The project will be created in a subdirectory. How do you want to name it? botfront

{ [Error: ENOENT: no such file or directory, access 'D:\C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\project-template']
errno: -4058,
code: 'ENOENT',
syscall: 'access',
path:
'D:\C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\project-template' }
{ Error: ENOENT: no such file or directory, open 'D:\Chatbot\botfront.botfront\docker-compose.yml'
at Object.openSync (fs.js:443:3)
at Proxy.readFileSync (fs.js:343:35)
at getComposeFile (C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\src\utils.js:154:29)
at getServices (C:\Users\personone\AppData\Roaming\npm\node_modules\botfront\src\utils.js:158:22)
at getMissingImgs (C:\Users\personone\AppData\Roaming\npm\node_modules\botfront

\src\utils.js:168:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'D:\Chatbot\botfront\.botfront\docker-compose.yml' }

Hello ! The error stil continue...I've uninstall botfront and installed again to get the latest version and the error is still here..I got an warning message "unsupported platform" when I've installed the package:
https://ibb.co/px3030F

@akasha1618 this "unsupported platform" warning is totally fine. Because you can't use fsevents under Windows neither Linux and this has nothing todo with the database connection problem.
I also have this database connection with current Docker for Windows and botfront.
I used npm install -g botfront and created a new project with the assistant.

@znat @xScorpionx

botfront-mongo | 2019-07-14T16:44:07.941+0000 E STORAGE [initandlisten] WiredTiger error (17) [1563122647:941053][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1563122647:941053][1:0x7f097b811a80], connection: __posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists

I have the same problem when I use docker4windows.
And I think the problem is in the mongonDB container.
■causes:
Firstly,look at docker-compose.yml in borfront project folder,
you will find,
volumes:
  - ./botfront-db:/data/db

this means mongodb service expose its folder /data/db from container to host(windows)
Secondly, in docker4windows,when you expose one folder from container to host(Windows),
all the files in this folder will have 755 permission in the container,
And you CAN NOT change the permission,even you use root in the container.
this means same program(like mongodb?) cannot write data into these files.
※SO，You will see the [WiredTiger error] on this comment top
■Solution：
Solution１：
Delete the expose from mongodb service in .botfront/docker-compose-template.yml

volumes:

./botfront-db:/data/db
※But when you down botfront, all the data store in mongodb will go away.

Solution２： ※need add code to botfront
1)Delete the expose from mongodb service in .botfront/docker-compose-template.yml
2)Add a expose folder to store db dump.(there is no problem with the write permission on folder)
3)when botfront down,maybe we can make botfront to get the db dump,and copy to the folder to step2.
4)when botfront up,make botfront to READ dump file ,and restore db data
https://stackoverflow.com/questions/42912755/how-to-create-a-db-for-mongodb-container-on-start-up

When i say botfron init it asks me to select which program I say google chrome and then i get this error.
#!/usr/bin/env node

require = require('esm')(module /*, options*/);
require('../src/cli');

why???
ps:
windows 10
docker is running


HTML5 warning: map2html5Impl.xsl is included or imported more than once

HTML5 builds throw the following XSLT warning in the console:
[xslt] Warning at xsl:stylesheet on line 12 column 59 of map2html5Impl.xsl:
[xslt]   Stylesheet module plugin:org.dita.html5:xsl/map2html5Impl.xsl is included or imported more
[xslt]   than once. This is permitted, but may lead to errors or unexpected behavior

Output appears to be generated correctly, but the presence of this warning will cause confusion for users if it continues to appear.

The duplicate imports are in org.dita.html5/xsl/map2html5-coverImpl_template.xsl and nav.xsl
— but they've been there since 2.4, so it's not immediately apparent why the errors began appearing during the 3.0 release cycle.

it's not immediately apparent why the errors began appearing during the 3.0 release cycle.

I would guess it's related to the big jump in Saxon versions that came with 3.0...

Resolved for 3.1 in #2939, cherry-picked to 3.0.4 in #2950.

#2950 was reverted from 3.0.4 in 0197aed.

Implemented by #2970.


bug fix - support deprecated directive.

series_slug: String @deprecated(reason: "Use seriesSlug instead")
season_slug: String @deprecated(reason: "Use seasonSlug instead")
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
.../Documents/gitWorkspace/BAM/schema.graphql: Unknown directive "deprecated".
error: Validation of GraphQL query document failed

apollo-codegen certainly supports deprecation information in schemas, and should also support constructing them through a @deprecated directive in the schema language.
From your output, it seems you might be trying to use schema.graphql as a query document, but it should be specified through the --schema option.

I'll close this in favor of https://github.com/apollographql/apollo-codegen/issues/255


Add a basic io.js source target for test kitchen to converge

as an addendum to #86, I added a test-kitchen suite to install iojs from source.
Not sure this is how we want to test this functionality, but I thought I'd get the ball rolling.

:+1: tests are always good ;)


Support verification and optimization of YoloKP on Loihi2

I've been trying to run the YoloKP on chip for a couple days using the #243 PR branch. A couple things I've encountered so far:

The tutorials/lava/lib/dl/slayer/tiny_yolo_sdnn/Trained_yolo_kp/network.net file has two issues in the head layer: it is missing the neruon field and the weights are missing the spatial dimensions.
After fixing those issues the model compiles on my machine but the INRC cloud vm runs out of RAM.

First point has been fixed in the merged code base. For second point, please contact inrc_support.


pathlib inference.py

Checklist
GitHub

[ ] I've given this PR a concise, self-descriptive, and meaningful title
[ ] I've linked relevant issues in the PR body
[ ] I've applied the relevant labels to this PR
[ ] I've assigned a reviewer

PR contents

[ ] I've consulted ivadomed's internal developer documentation to ensure my contribution is in line with any relevant design decisions
[ ] I've added relevant tests for my contribution
[ ] I've updated the relevant documentation for my changes, including argparse descriptions, docstrings, and ReadTheDocs tutorial pages

Description

Linked issues

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 3 (33.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.109%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ivadomed/inference.py
1
3
33.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4114

Relevant Lines:
5868

💛  - Coveralls


drivers/serial: Fix uart issues for i.MX7 and i.MX6

This patch series:

fixes the uart isr calling the callback with wrong data (#11465) and the uart_poll_in checking the wrong status flag.

enables the UART_INTERRUPT_DRIVEN by default for colibri_imx7d_m4, udoo_neo_full_m4 and warp7_m4 boards.

ping @pfalcon and @stanislav-poboril.

Codecov Report

Merging #11778 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11778   +/-   ##
=======================================
  Coverage   48.21%   48.21%
=======================================
  Files         280      280
  Lines       43317    43317
  Branches    10371    10371
=======================================
  Hits        20886    20886
  Misses      18283    18283
  Partials     4148     4148

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6e29416...503e2ec. Read the comment docs.

@diegosueiro I have tested the shell module sample on UDOO Neo and it works.


New components: asset download, details, breadcrumbs

:tada: This PR is included in version 3.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


iOS Xcode problem: no rule to process file

When I try to compile my ionic2 application in Xcode I get this warning:
warning: no rule to process file '/Users/filipsuk/IonicProjects/faviApp/platforms/ios/Favi.cz/Plugins/cordova-plugin-is-debug/IsDebug.h' of type sourcecode.c.h for architecture armv7
warning: no rule to process file '/Users/filipsuk/IonicProjects/faviApp/platforms/ios/Favi.cz/Plugins/cordova-plugin-is-debug/IsDebug.h' of type sourcecode.c.h for architecture arm64

And also the plugin does not seem to detect debug mode on ios for me.
My system info:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: 1.9.0
ios-sim version: 5.0.11
OS: OS X El Capitan
Node Version: v7.0.0
Xcode version: Xcode 8.1 Build version 8B62
Thanks for the plugin!

I think that warning can be safely ignored: http://stackoverflow.com/questions/6509600/compilation-warning-no-rule-to-process-file-for-architecture-i386
Can you share some javascript code that shows how you are using this plugin? It works fine for me on ios.

For example I want to use GA only in production mode:
IsDebug.getIsDebug().then((isDebug: boolean) => {
        if (!isDebug) {
          GoogleAnalytics.startTrackerWithId(AppConfig.GOOGLE_ANALYTICS_ID);
        }
      });

This works on Android, not on iOS when running the app from Xcode.

That's really odd, I'm using similar code and it works fine for me on ios. I think there's probably a setting in xcode you need to configure to make sure the DEBUG flag is set: http://stackoverflow.com/questions/12499001/xcode-debug-mode-when-is-it-on-off

I solved it by adding DEBUG=1 under preprocessor macros in xcode (see screenshot). "Build configuration" under scheme was already set to "Debug".

Nice one, I've updated the readme to point to your comment so it can help other folks 😄

Is anyone aware of a way to do this programmatically or from the command line? I'd like to avoid opening XCode if at all possible and every time I remove and add back the iOS platform I have to do this. I've tried passed GCC_PREPROCESSOR_DEFINITIONS to xcodebuild but it doesn't seem to honor them (Yes my build-debug.xcconfig has GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 in it)


First time Animation not showup in cirlce

Try visibility="INVISIBLE" instead of "GONE" (to your view which will be revealed) on xml layout.


Using version uuid in datachain pull

In this PR we are changing the way to find if the same local dataset already exists when pulling remote dataset from Studio or not. Before we were using name + version combination which is not stable (as commented by Matt  here) as someone could have local dataset with the same name and version as remote one, but with totally different data which would lead to not pulling the remote one. Also, someone could pull remote dataset and then rename it which would lead to pulling remote dataset again on another pull.
Now, instead of name + version combination we use uuid which is uniquely identifying specific dataset (version).
If local dataset version with same uuid as remote one already exists, regardless of the name or version mismatch, it is not pulled again.
Also, optional parameters local-name and local-version are added to CLI of dataset pull to specify the name / version of local dataset to which we want to pull remote one. This is needed in the case if local dataset with same name + version already exists with different data, but we still want to pull remote one - in that case use can enter alternative name or version or both.

Test failures are unrelated, and are due to https://github.com/iterative/PyDrive2/issues/361#issuecomment-2507021740.


ddfs chunk data:bigtxt bigfile.txt -> Invalid tag (403)

Hi, when I follow the tutorial @ http://discoproject.org/doc/start/tutorial.html
(using latest code from git)
I get the following error when trying to put bigfile.txt chunked on the DDFS, when running the command on the master node.
dplaetin@n-0:~/disco$ bin/ddfs chunk data:bigtxt bigfile.txt
Unable to access resource (http://n-0.map-reduce2.search.wall2.test:8989/ddfs/tag/bigfile.txt): Invalid tag (403)

FWIW (just to show the server can be connected to, on my network at least):

dplaetin@n-0:~/disco$ telnet n-0.map-reduce2.search.wall2.test 8989
Trying <IP_ADDRESS>...
Connected to n144-20a.wall2.test.
Escape character is '^]'.
Host n-0.map-reduce2.search.wall2.test
GET / HTTP/1.1

Connection closed by foreign host.

thanks!

though this works, so the issue comes down to: why the weird error about an invalid tag?
dplaetin@n-0:~/disco$ bin/ddfs chunk data:bigtxt ./bigfile.txt
created: disco://localhost/ddfs/vol0/blob/ad/bigfile_txt-0$530-1bcc5-203f7


Dictionary conversion for complex key-types is really buggy, defaults to ToString() output

Source/destination types
using ActionRewards = System.Tuple<float, float>;
using QTable = System.Collections.Generic.Dictionary<Vector2, System.Tuple<float, float>>;

[JsonObject]
public struct Vector2
{
    public Vector2(float x, float y) { this.x = x; this.y = y; }

    [JsonProperty]
    public float x;

    [JsonProperty]
    public float y;

    public override string ToString()
    {
        return $"({ x }, { y })";
    }
}

Source/destination JSON
// expected output
{{"x":0.7,"y":0.3}:{"Item1":0.5,"Item2":0.6}}

// actual output
{"(0.7, 0.3)":{"Item1":0.5,"Item2":0.6}}

Expected behavior
I expected the dictionary's key to be serialized using Newtonsoft.Json class annotations or just the standard behavior of the serializer for a struct object (which even works fine without annotations). Btw, converting the struct to a class didn't help either and caused to same behavior.
Actual behavior
From the output of my little test program you can see that the dictionary's key was serialized using the output of ToString().
Unhandled exception. Newtonsoft.Json.JsonSerializationException: Could not convert string '(0.7, 0.3)' to dictionary key type 'Vector2'. Create a TypeConverter to convert from the string to the key type object. Path '['(0.7, 0.3)']', line 1, position 14.
---> Newtonsoft.Json.JsonSerializationException: Error converting value "(0.7, 0.3)" to type 'Vector2'. Path '['(0.7, 0.3)']', line 1, position 14.
---> System.ArgumentException: Could not cast or convert from System.String to Vector2.
at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, Type targetType)
at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue, CultureInfo culture, Type targetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
at dotnet_test.Program.Main(String[] args) in /home/rl-dev2/dotnet-test/Program.cs:line 46
Steps to reproduce
public class Program
{
    public static void Main(string[] args)
    {
        string vectorContent = "{ \"x\": 0.7, \"y\": 0.3 }";

        // test single Vector2 serialization
        var vector = JsonConvert.DeserializeObject<Vector2>(vectorContent);
        Console.WriteLine($"{ vector }");
        string serVectorContent = JsonConvert.SerializeObject(vector);
        Console.WriteLine($"serialized json: {serVectorContent }");
        var reserializedVector = JsonConvert.DeserializeObject<Vector2>(serVectorContent);
        Console.WriteLine($"{ reserializedVector }");

        // test Vector2 serialization as dictionary key
        var dict = new QTable() {
            { new Vector2(0.7f, 0.3f), new ActionRewards(0.5f, 0.6f) }
        };
        string dictJson = JsonConvert.SerializeObject(dict); // serializes the key using ToString() function output
        Console.WriteLine($"{ dictJson }");
        var serDict = JsonConvert.DeserializeObject<QTable>(dictJson); // throws a conversion error
        Console.WriteLine($"{ serDict }");
    }
}

As suggested by the error message, I did even wirte my own JsonConverter class to do the key conversion by myself, but the dictionary didn't execute those converter functions either. To test this, I added a small Console.WriteLine("Hello World"), but it actually didn't show up in my console output.
public class Vector2Converter : JsonConverter<Vector2>
{
    public override void WriteJson(JsonWriter writer, Vector2 value, JsonSerializer serializer)
    {
        // keep the standard behavior
        string json = $"{{ \"x\": { value.x }, \"y\": { value.x } }}";
        writer.WriteValue(json);
    }

    public override Vector2 ReadJson(JsonReader reader, Type objectType, Vector2 existingValue, bool hasExistingValue, JsonSerializer serializer)
    {
        const string X_TOKEN = "\"x\":";
        const string Y_TOKEN = "\"y\":";

        // get the raw value as string
        string rawJson = (string)reader.Value;

        // parse x and y values from string
        rawJson = rawJson.Trim();
        int delimIndex = rawJson.IndexOf(',');
        int openingBrace = rawJson.IndexOf('{');
        int closingBrace = rawJson.IndexOf('}');
        int xAttr = rawJson.IndexOf(X_TOKEN);
        int yAttr = rawJson.IndexOf(Y_TOKEN);

        if (delimIndex < 0 || openingBrace < 0 || closingBrace < 0 || xAttr < 0 || yAttr < 0) { throw new ArgumentException("Invalid data format!"); }

        float x = float.Parse(rawJson.Substring(xAttr + X_TOKEN.Length, delimIndex - (xAttr + X_TOKEN.Length)).Trim());
        float y = float.Parse(rawJson.Substring(yAttr + Y_TOKEN.Length, closingBrace - (yAttr + Y_TOKEN.Length) - 1).Trim());

        return new Vector2(x, y);
    }
}

I'm now trying to do a workaround and even implement the dictionary conversion myself. But this means, that I could have also written my own JSON converter which makes this framework rather useless. Please add a proper conversion for dictionaries!!!

I believe you need to implement a TypeConverter and apply it through a TypeConverterAttribute. If you need to, this can even be done dynamically with the TypeDescriptor.AddAttributes static method.

OK thanks for the quick replay. I'm going to try that out. But the big issue is that I cannot really override the Vector2 class because it's an API class, so it'll be rather difficult to add annotations etc. But we'll see :) I will keep you up-to-date how I actually solved to issue for my project.

I did resolve my issue with a workaround converting the 2D vector into a single number by multiplying it with the screen size. If I find the time I could also try your suggested solution, but it's only a small student project, so I'm not sure if the effort is worth it. But anyways ... Thanks a lot for your help, Tyler :)

JsonConverter isn't used for dictionary keys because they're strings, not JSON. That is why ToString or a TypeConverter is used.


[WIP] Expose file size from TextStorage

The TextStorage type is surprisingly stateful, so I'm not sure I've hooked things up correctly.  The goal was to expose the size of the underlying file, either by checking the length of the stored text or by returning the size on disk, if the text is not stored because the file is too large.
I've prepared two different implementations.  I believe getFileSize will always return an accurate value, but may touch the disk if a reload is pending.  getTelemetryFileSize, on the other hand, will return the last known file size and will only touch the disk if the contents have never been loaded.
Thoughts?
Note: none of this is actually hooked up to anything, but the plan is to expose it through the file info telemetry.

Actually when I look at this I realise that this is not what you want.  Since your script info could have changed and could be not in sync with the text in the program or for that matter when text is moved to svc, its actual text is never calculated unless must it just works on changes and change range.
I think the accurate information would be from program (except you figure out if this was largeFile by checking if scriptInfo for sourceFile.largeFileSize )

Real PR coming soon.


Don't return metadata about data sets if the format is not yet implemented

When I query https://www.buildingenvelopedata.org/data/optical for Component Id is equal to 6a6a0f0b-5b79-4167-841e-b3a4462a1d6e, then I receive two results:

Data set a3e6cbf6-b5ee-4df1-b2f9-eb300c384286 uses the BSDF XML format and works fine.
Data set 28e981e9-d44e-464d-ae93-cfa9fbd63088 offers a locator for the BED-JSON format. When I click on the locator
https://igsdb-icon.herokuapp.com/api/v1/products/13201/?json_format=buildingenvelopedata.org , then I see

It would be better if IGSDB would return for shading only data sets like a3e6cbf6-b5ee-4df1-b2f9-eb300c384286 which work fine and not return data sets like 28e981e9-d44e-464d-ae93-cfa9fbd63088 which may confuse possible new partners.
When the BED-JSON is implemented in the future also for shading, then both kind of data sets can be returned by IGSDB.

The first query at IGSDB looks good!

@simon-wacker Do you know why the second query returns no results?

The reason was that the IGSDB schema got upgraded to the current version while the metabase still sent queries that conformed to the old version. I upgraded the metabase and it should work now. Please check @christoph-maurer Next time, please also include the query as text (in addition or instead of as image) because I can copy plain-old text but I can't copy text inside images.

@christoph-maurer @simon-wacker Sorry, I should have noted that I updated the version of the database.graphql schema the IGSDB uses.  I needed to do that in order to support #261.  I will try to be explicit about when I update the database.graphql file in the IGSDB in the future.

It works now at the metabase endpoint, but not yet at the metabase frontend.
When I query the endpoint with
query {
  MBforResourcesOfComponent: databases {
    nodes {
      uuid
      name
      locator
      allOpticalData(
        where: {
          componentId: {
            equalTo: "6a6a0f0b-5b79-4167-841e-b3a4462a1d6e" }
        }
      ) {
        nodes {
          resourceTree {
            root {
              value {
                locator
              }
            }
          }
        }
      }
    }
  }
}

I get the result
{
  "data": {
    "MBforResourcesOfComponent": {
      "nodes": [
        {
          "uuid": "e744cd25-a4bb-4d48-87e6-81f47ab49c3b",
          "name": "Daylighting Database",
          "locator": "http://daylightingdatabase.herokuapp.com/graphql/",
          "allOpticalData": null
        },
        {
          "uuid": "48994b60-670d-488d-aaf7-53333a64f1d6",
          "name": "IGSDB",
          "locator": "https://igsdb-icon.herokuapp.com/icon_graphql/",
          "allOpticalData": {
            "nodes": [
              {
                "resourceTree": {
                  "root": {
                    "value": {
                      "locator": "https://igsdb-icon.herokuapp.com/api/v1/products/13201/datafile/"
                    }
                  }
                }
              }
            ]
          }
        },
        {
          "uuid": "8a27aa0d-6026-4124-b185-4efd5cead953",
          "name": "TestLab DB",
          "locator": "https://www.solarbuildingenvelopes.com/graphql/",
          "allOpticalData": {
            "nodes": []
          }
        }
      ]
    }
  }
}

which looks good, because only the Klems format is returned and not the BED-JSON which is not yet implemented.
When I query the frontend for Component Id: Is equal to 6a6a0f0b-5b79-4167-841e-b3a4462a1d6e, then I get no results. @simon-wacker Do you understand why?

For me it also works in the frontend. Maybe you have some caching issue? Try opening developer tools, reloading the page, and then doing the query in the frontend (opening developer tools disables caching, so reloading fetches the latest version).

Yes, with refreshed cache, it works. Thank you @StephenCzarnecki and @simon-wacker !


Input disableTouchKeyboard

In input mode, shouldn't we have a disableTouchKeyboard option to prevent mobile keyboard to pop out when the input is focused ?
Setting it readonly seems not a good idea for me as it suggests we can't change the value.

I'm still having an issue with this, it still pops up the keyboard on both the Samsung s4 mini and Sony Xperia Z3 (android 4.4.2 and 4.4.4 respectively). Pulling my hair out on this one..

This isn't working for me on an iPhone 6. I'm calling:
$('.datepicker').datepicker({
  autoclose: true,
  disableTouchKeyboard: true
});

But the keyboard is still coming up.

Confirmed re-occuring on my Galaxy S6 Edge too running Android 5.0.2 on Chrome and stock browser.
Sorry chaps. Will try and find some time to dig back through the code and see what's different in newer rendering engines (maybe the msMaxTouchPoints or ontouchstart are not passed any more).

Can you try this? I don't have access to Android devices, but this code snippet is from a rather great library, interact.js, so it should be actual.
var supportsTouch = (('ontouchstart' in window) || window.DocumentTouch && document instanceof window.DocumentTouch);

@razvanphp can you create a jsfiddle to test the piece of code? I have access to a fex android and ios devices so i'm able to test the snippet on different types of devices!

The latest version doesn't work on Android Chrome/Firefox.
My fix:  I just $(this.element).blur() manually and it works.

+1 on HTC One with Android 5.0.2

i dont think that msMaxTouchPoints or ontouchstart variables are the problem, because i made this workaround based on the same variables and it works.
i've just added a little trick to improve accessibility. (but of course this is not perfect)
var isDatepickerVisible = false;

$('.datepicker').datepicker({
    disableTouchKeyboard: false

  }).on('show', function(e) {
    /**
     * hack to disable touch keyboard with blur() method,
     * but only if the datepicker is not visible (to minimize accessibility problems)
     * so with a second click, the keyboard appears
     */
    if ((window.navigator.msMaxTouchPoints || 'ontouchstart' in document)) {
      if (!isDatepickerVisible) {
        $('input', $(this))[0].blur();
      }
    }
    isDatepickerVisible = true;

  }).on('hide', function(e) {
    isDatepickerVisible = false;
  });

@maximelebreton care to create a PR with a fix?


Unexpected token after somehow removing export

I see:
SyntaxError: Controller.machine.ts: Unexpected token (137:0)

  135 | );
  136 |
> 137 | default myMachine;
      | ^
  138 |

Although my code ends with:
);

export default myMachine;

This is because of:
https://github.com/mattpocock/xstate-codegen/blob/9dee84b1b3b3806de1cb215559397252f5ecf607/packages/xstate-compiled/src/getMachine.ts#L26
I guess it should also remove default following export.

@FokkeZB Could you paste in the entire file your machine is in so I can check it out? You're very likely right.

It's something like:
const myMachine = Machine<Context, StateSchema>({ ... }, {...});

export default myMachine;

When I drop the last line it works fine.

@FokkeZB If you export it via a export const, it'll work.
We're going to be releasing a new version of the tool quite soon (before the end of August) which will have improved the process by which we fetch machines from code. This will change things in a few ways (we'll be closer to number 4 here)
I'll make sure we include this fix in that version. Is it a blocker to change your export default to export const?

@mattpocock awesome - I'll keep an eye on it and just refrain from export default for now.

Much obliged. I'll keep this issue open to make sure we remember it.

@FokkeZB Could you try testing this on the 'next' branch on npm? Confident that what we've shipped there will fix this.

@mattpocock - confirmed! I get no more errors.


mmapFileEnableIfSupported not available

The docs say, that we can use mmapFileEnableIfSupported to create memory-mapped DBs. But this method is not available in DBMaker. What am I missing? Using 3.0.3.

PS: looks like the docs are not correct. I have to specify DBMaker.fileDB().fileMmapEnable()


[file_selector_platform_interface] File selector nnbd

Migrating file_selector_interface to null-safety
List which issues are fixed by this PR. You must list at least one issue.
https://github.com/flutter/flutter/issues/75235
Pre-launch Checklist

[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I signed the CLA.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Most importantly though, this can't be a single PR. You need to do a separate PR for each package, and they need to be landed and published in order, or it won't build. That's why the steps are listed separately in the issue.

Ohh I thought I could make a single PR😅

@stuartmorgan 2.0.0-nullsafety.0 is good or 1.1.0-nullsafety.0? for versioning as per migration guide I feel both are right can you please let me know which one is better?
Previous was 1.0.3+1

@stuartmorgan 2.0.0-nullsafety.0 is good or 1.1.0-nullsafety.0? for versioning as per migration guide I feel both are right

As the guide you linked to says, bumping the major version is required in this case.

@stuartmorgan 2.0.0-nullsafety.0 is good or 1.1.0-nullsafety.0? for versioning as per migration guide I feel both are right

As the guide you linked to says, bumping the major version is required in this case.

So 2.0.0-nullsafety.0 is fine?

Thanks, will make next PR after this is published ;)

Published.


Build error when trying to Make

Hi
I just clone the raylib-cpp repo and followed the process that described in the compiling section on README.md
but it got a bunch of error like this:
aimawari@Phanumass-MacBook-Pro build % make
Consolidate compiler generated dependencies of target multiple
[  2%] Building CXX object examples/CMakeFiles/multiple.dir/multiple/main.cpp.o
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/main.cpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/Player.hpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/include/raylib-cpp.hpp:35:
/Users/aimawari/Developer/raylib-cpp/include/./AudioStream.hpp:21:13: error: use of undeclared identifier 'InitAudioStream'
        set(InitAudioStream(SampleRate, SampleSize, Channels));
            ^
/Users/aimawari/Developer/raylib-cpp/include/./AudioStream.hpp:79:11: error: no member named 'CloseAudioStream' in the global namespace; did you mean 'PauseAudioStream'?
        ::CloseAudioStream(*this);
        ~~^~~~~~~~~~~~~~~~
          PauseAudioStream
/usr/local/Cellar/raylib/HEAD-8e59990/include/raylib.h:1525:12: note: 'PauseAudioStream' declared here
RLAPI void PauseAudioStream(AudioStream stream);                      // Pause audio stream
           ^
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/main.cpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/Player.hpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/include/raylib-cpp.hpp:36:
/Users/aimawari/Developer/raylib-cpp/include/./BoundingBox.hpp:21:15: error: no member named 'MeshBoundingBox' in the global namespace; did you mean 'GetMeshBoundingBox'?
        set(::MeshBoundingBox(mesh));
            ~~^~~~~~~~~~~~~~~
              GetMeshBoundingBox
/usr/local/Cellar/raylib/HEAD-8e59990/include/raylib.h:1423:19: note: 'GetMeshBoundingBox' declared here
RLAPI BoundingBox GetMeshBoundingBox(Mesh mesh);                                            // Compute mesh bounding box limits
                  ^
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/main.cpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/Player.hpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/include/raylib-cpp.hpp:36:
/Users/aimawari/Developer/raylib-cpp/include/./BoundingBox.hpp:61:16: error: use of undeclared identifier 'CheckCollisionRayBox'
        return CheckCollisionRayBox(ray, *this);
               ^
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/main.cpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/Player.hpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/include/raylib-cpp.hpp:38:
/Users/aimawari/Developer/raylib-cpp/include/./Camera3D.hpp:148:63: error: no viable conversion from 'float' to 'Vector2'
        ::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
                                                              ^~~~
/usr/local/Cellar/raylib/HEAD-8e59990/include/raylib.h:188:16: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'float' to 'const Vector2 &' for 1st argument
typedef struct Vector2 {
               ^
/usr/local/Cellar/raylib/HEAD-8e59990/include/raylib.h:188:16: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'float' to 'Vector2 &&' for 1st argument
/usr/local/Cellar/raylib/HEAD-8e59990/include/raylib.h:1413:107: note: passing argument to parameter 'size' here
RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint); // Draw a billboard texture defined by source
                                                                                ^
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/main.cpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/Player.hpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/include/raylib-cpp.hpp:39:
/Users/aimawari/Developer/raylib-cpp/include/./Color.hpp:172:11: error: no member named 'DrawTextRec' in the global namespace
        ::DrawTextRec(font, text.c_str(), rec, fontSize, spacing, wordWrap, *this);
        ~~^
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/main.cpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/Player.hpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/include/raylib-cpp.hpp:40:
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:67:20: error: no type named 'CharInfo' in the global namespace
    GETTERSETTER(::CharInfo*, Chars, chars)
                 ~~^
/Users/aimawari/Developer/raylib-cpp/include/./raylib-cpp-utils.hpp:17:12: note: expanded from macro 'GETTERSETTER'
    inline type Get##method() const { return name; }  \
           ^~~~
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/main.cpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/Player.hpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/include/raylib-cpp.hpp:40:
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:67:20: error: no type named 'CharInfo' in the global namespace
    GETTERSETTER(::CharInfo*, Chars, chars)
                 ~~^
/Users/aimawari/Developer/raylib-cpp/include/./raylib-cpp-utils.hpp:19:29: note: expanded from macro 'GETTERSETTER'
    inline void Set##method(type value) { name = value; }
                            ^~~~
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/main.cpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/examples/multiple/Player.hpp:1:
In file included from /Users/aimawari/Developer/raylib-cpp/include/raylib-cpp.hpp:40:
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:47:15: error: no member named 'charsCount' in 'raylib::Font'
        other.charsCount = 0;
        ~~~~~ ^
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:48:15: error: no member named 'charsPadding' in 'raylib::Font'
        other.charsPadding = 0;
        ~~~~~ ^
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:51:15: error: no member named 'chars' in 'raylib::Font'
        other.chars = nullptr;
        ~~~~~ ^
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:63:35: error: use of undeclared identifier 'charsCount'
    GETTERSETTER(int, CharsCount, charsCount)
                                  ^
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:63:35: error: use of undeclared identifier 'charsCount'
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:64:37: error: use of undeclared identifier 'charsPadding'
    GETTERSETTER(int, CharsPadding, charsPadding)
                                    ^
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:64:37: error: use of undeclared identifier 'charsPadding'
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:67:38: error: use of undeclared identifier 'chars'
    GETTERSETTER(::CharInfo*, Chars, chars)
                                     ^
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:67:38: error: use of undeclared identifier 'chars'
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:85:15: error: no member named 'charsCount' in 'raylib::Font'
        other.charsCount = 0;
        ~~~~~ ^
/Users/aimawari/Developer/raylib-cpp/include/./Font.hpp:86:15: error: no member named 'charsPadding' in 'raylib::Font'
        other.charsPadding = 0;
        ~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [examples/CMakeFiles/multiple.dir/multiple/main.cpp.o] Error 1
make[1]: *** [examples/CMakeFiles/multiple.dir/all] Error 2
make: *** [all] Error 2

Have I missing something?

I just notice that I used latest HEAD version of raylib. I have downgrade that to v3.7.0 now its work.


[Question] Angular 7 support

I am sorry to ask this kind of questions to Issues here.
@smithad15 could you answer what's being planned to support Angular 7 with these packages? ( I know the store v.9 works fine with Angular 7 except peer dependency warning on npm installation. ) If you could, it would be a great help for me to schedule our production updates to Angular 7.

Same here.


async client

Adds support for async clients
This PR addresses https://github.com/verloop/twirpy/issues/43 and https://github.com/verloop/twirpy/issues/46

@ofpiyush Would you be open to including an async client such as this? Happy to discuss if you have other ideas about how I should go about it. Thanks!

@chadawagner nice work!
In principle, I love the idea of Async client and from design POV, I don't see any issues.
Having said that, I haven't looked at Python code or kept up with Twirp in a good while, not enough to do a proper review.
Tagging @thecreator232 and @avinassh to take a look.

@chadawagner nice work!
In principle, I love the idea of Async client and from design POV, I don't see any issues.
Having said that, I haven't looked at Python code or kept up with Twirp in a good while, not enough to do a proper review.
Tagging @thecreator232 and @avinassh to take a look.

Hi @ofpiyush, @thecreator232, @avinassh just following up, any chance someone has some time for a review soon?

The PR looks great to me! but I don't have write/merge access anymore.
Tagging @thecreator232 @raghav39

The PR looks great to me! but I don't have write/merge access anymore.
Tagging @thecreator232 @raghav39

Thanks @avinassh!

@avinassh I pushed new changes to remove the auto-created client session (the caller is now required to provide a session either on init or per request). Just letting you know in case you'd like to take another look, I'll assume your approval still stands unless I hear otherwise 😄

@ofpiyush Looks like we have some consensus and a couple of approvals here, any chance we could merge and cut a 0.0.8 release soonish? Please lmk if there's any way I can help with that. Thanks!

Both @avinassh and I have moved on from the company and don't have write access anymore.
Tagging @thecreator232 and @raghav39 to possibly check with internal services and make a release.

@thecreator232 @raghav39 any hope for a merge/release here? This PR was opened 2 months ago 😭

@thecreator232 @raghav39 @avinassh @ofpiyush we seem to be at a standstill here. Is there any hope of getting a PR merge and release? Or is this repo officially abandoned?

Let me get this reviewed this week for the current services dependent and we will have this actioned.

Hi @ravipetlur, any luck?

LGTM. I tested the async client with internal services as well. Didn't spot any problems. We can merge this 👍🏻 The only issue is when running setup.py, it expects a version.txt. PEP440 doesn't allow for a version like 0.0.8 so maybe we can add a file there with a version number 0.1.0 or something?

Hi @WarrierRajeev ! Yeah I'm 👍 to increasing the version, is that something y'all can handle internally? Idk what your release pipeline looks like. In addition to whatever setup.py wants, there's some Pipfile and requirements.txt stuff in the example dir that probably need updating.

Hi again @WarrierRajeev @ravipetlur any updates on a merge and release? 😬

Friendly ping to @WarrierRajeev and @ravipetlur for any update on a possible release including this async client 😃


[Bug]: Right-click to export a single object and TABLE will be exported.

ODC version
ODC423
OB version
independent
What happened?
Right-click to export a single object and TABLE will be exported.

What did you expect to happen?
。
How can we reproduce it (as minimally and precisely as possible)?
。
Anything else we need to know?
No response
Cloud
No response

Component known issues


Default setup should support CORS

Expected Behaviour
On a default setup with the project archetype, the headers (Origin, Access-Control-Request-Method, Access-Control-Request-Headers) necessary for CORS to function should be passed through to render instances
Actual Behaviour
Those headers aren't passed to render instances, preventing CORS from working
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Setup a new project with the archetype. On your publish instance behind the dispatcher, add an osgi config allowing CORS access to, e.g. http://www.otherdomain.com, something like this:
{
  "supportedmethods":[
    "GET",
    "HEAD",
    "POST",
    "OPTIONS"
  ],
  "alloworiginregexp":[
    "http://localhost:.*",
    "http://www.otherdomain.com"
  ],
  "allowedpaths":[
    "/(content|conf)/my-app.*"
  ],
  "supportedheaders":[
    "Origin",
    "Accept",
    "X-Requested-With",
    "Content-Type",
    "Access-Control-Request-Method",
    "Access-Control-Request-Headers",
    "Authorization"
  ]
}

Now make a request with an origin header to simulate CORS, You can do this with curl
curl --verbose -H "Origin: http://www.otherdomain.com" http://www.mydomain.com/content/my-app.html
Notice that the origin header is never passed to the render instance, and that the response is missing the Access-Control-Allow-Origin response header
Platform and Version
Cloud
Notes
I'm happy to submit a PR for this, should just be a matter of adding 3 headers to https://github.com/adobe/aem-project-archetype/blob/develop/src/main/archetype/dispatcher.cloud/src/conf.dispatcher.d/clientheaders/clientheaders.any
"Origin"
"Access-Control-Request-Method"
"Access-Control-Request-Headers"

Although it may be better to add these to default_headers which is an immutable file.
May also want to consider adding the CORS response headers to default.farm in the /cache/headers section so that CORS responses on GET requests can be cached.

+1 to this. Configuration for headless is very difficult for customers (especially those new to AEM).


Show current STX USD value next to account balance

On the address page

:tada: This issue has been resolved in version 1.42.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Ci py3.10

wip

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Does it sound good to you @albertvillanova ?


Upgrade PHP version from 7 to 8.3

Thanks, @tobeycodes, I've added this to the Internal Tools working group agenda for discussion


Pretty Printing when saving a xml

Hi, first thank you for the module.
I use it to dynamical update my Visual Studio project file and it works great. One think I think could be improved. After saving the project file the xml is all in one line. It does not be a problem, but in git and if you look at the file with a editor it is not very readable.
it is possible to implement a pretty printing parameter which adds new lines to the xml string when saving it?
Thanks

I am not actively working on my Perl 6 modules at the moment, but I don't think it would be too difficult to add some form of pretty printing option when serializing. It's been a while since I looked at the code though, so I'm not sure exactly what it would entail. If I have a chance in the near future, I will take a look and see if I can add something.

Cool thanks. I would do it by myself but my perl6 foo is not great.

I tried to alter save function in order to write in pretty print. Though I stumbled upon one challenge.
I see that when loading a file with indentations, the format is preserved when saving as another file. But if I add elements, these are not indented. I would prefer that when loading, all indentation would be discarded altogether, or at least have an option for doing so. Writing back to file with pretty print, would then be a bit easier i think.


libxwiimote.so.2: cannot open shared object file: No such file or directory

On Gentoo Linux, ran ./autogen.sh, make -j$(nproc) and make install which all report succesful runs. xwiishow is available in path, but when running it I just get libxwiimote.so.2: cannot open shared object file: No such file or directory.
I have all the dependencies installed, what exactly is going wrong here?

I've since making this bug report moved on to Alpine Linux, where this problems doesn't happen. So closing.


App not responding

App is easily freezed when testing the app version app version: 6.31-379.
It's noted that the app is easily freezed in some scanarios:
eg. After access the external link opened in the default browser.
When downloading an individual content that takes a long time (#739)
Test the latest 6.32-380
Reproduce steps:

Install the app and download the Artist pack
Get into the Wikihow channel
Access a content
Roll down to the end of the page and access an external link
After it's opened by the default browser and go back to the app
Check if the app is still working

Result:
The app is not responding.
This issue cannot be reproduced in the Windows app.
Log:
app freezes.txt

I can reproduce this on ASUS CM3000DVA Chromebook (arm).
I check the log while I follow the reproduce steps.

Then, when I go back to Endless Key app, it cannot find the kolibri server process. Because, it is killed.
08-16 15:23:40.991  3122  3127 I g.endlessos.Ke: Thread[6,tid=3127,WaitingInMainSignalCatcherLoop,Thread*=0xb40000730c4ce800,peer=0x136000b0,"Signal Catcher"]: reacting to s
ignal 3
08-16 15:23:40.991  3122  3127 I g.endlessos.Ke:
08-16 15:23:41.286  3122  3127 W g.endlessos.Ke: sched_getscheduler(3231): No such process
08-16 15:23:41.286  3122  3127 W g.endlessos.Ke: sched_getparam(3231, &sp): No such process
08-16 15:23:41.294  3122  3127 W g.endlessos.Ke: sched_getscheduler(3236): No such process
08-16 15:23:41.294  3122  3127 W g.endlessos.Ke: sched_getparam(3236, &sp): No such process
08-16 15:23:41.297  3122  3127 W g.endlessos.Ke: sched_getscheduler(3235): No such process
08-16 15:23:41.297  3122  3127 W g.endlessos.Ke: sched_getparam(3235, &sp): No such process

log.txt

Very likely related to the thumbnail download going on in the background - so moving this to the in progress column.

Actually, this appears to be more that the server is being stopped by the activity lifecycle hooks, but they don't block.  This goes back to https://phabricator.endlessm.com/T34138. What makes this particularly bad is that Kolibri tries to cancel running tasks but it's really slow about it.
I honestly don't know what to do here. I actually ran into this same thing when playing with chaquopy. From what I could tell, only onCreate and onDestroy actually block other lifecycle events. But according to the docs, you'll only ever get to stopped before you're killed in the background. And part of having the server stop when the activity is stopped is so that it properly closes the databases without corrupting them.
In my chaquopy experiment I put the server in a bound service and it worked great. The activity could cycle quickly through states or be killed completely and the server would be unaffected until the activity was unbound either actively or by being killed. So, it would be great to have the server as a bound service, which is the opposite of what I suggested almost exactly a year to the day. Unfortunately, python-for-android makes it very hard to do any of that.
The other part that would be good would be to put the task workers in another service, possibly using WorkManager for scheduling the tasks. Learning Equality is actually doing that now, but talking with Richard it took quite a bit of hacking in python-for-android to get it working.
All that to say that this is going to be hard to fix this correctly with python-for-android. With chaquopy where you actually control the whole app it would be much easier.

I think in the very short term what to investigate is why it takes kolibri so long to cancel the download tasks. I think if the server can be stopped quickly this will be much less of an issue.
However, the issue with the app freezing outside of a lifecycle change is likely different.

Due to Android activity's life cycle issue, moving kolibri server as a bound service is a correct solution.

Apparently, you can't cancel running tasks in Kolibri, so the server (really the ServicesPlugin) will not stop until any running tasks have completed.
Alrighty then. What we ultimately want is to not have the tasks running from the server bus. Ideally that would be a separate Android bound service that could run and stop independently of the server. As mentioned above, getting that going in p4a would be rough. I did it for the WorkManager stuff, but then Richard had to make a bunch more nontrivial changes to get it to work right.
Maybe what we can do is start 2 process buses from the python code. One runs just the server and the other runs just the workers. It's all still in the same process with the main activity, but then we can stop just the server bus in the onActivityStop callback and only stop the worker bus in the onActivityDestroyed callback. Sometimes that won't be called and Android will just kill it, but that's the same as happens now. But at least the server bus can be handled gracefully most of the time. That's the most important thing.

Some tasks can be cancelled, and generally for long running tasks it is preferable that they be marked as such. Tasks that implement cancellation should (and in the case of Kolibri's built in content import tasks, do) check for cancellation during their run time code to ensure interruptability.
There is currently a bug (as linked by @dbnicholson) because these tasks are incorrectly canceled only via their futures objects, and not leveraging the more extended Kolibri mechanism for this.
On the whole though - it is precisely this sort of behaviour that prompted us to do the refactor to use WorkManager as the task executor - it completely avoids having to cancel and restart tasks based on app teardown, because you delegate execution of the task to Android.
Previously, the only alternative was to force a persistent foreground notification, which meant that the server and task runner never stopped - this could be ameliorated by adding an exit button to the persistent notification, but is still not great for battery life - and I have no idea how it interacts with Chrome OS.

On the whole though - it is precisely this sort of behaviour that prompted us to do the refactor to use WorkManager as the task executor - it completely avoids having to cancel and restart tasks based on app teardown, because you delegate execution of the task to Android.

+1000. I didn't get why you wanted WorkManager at the time, but I see it now. Even without WorkManager, having the workers run persistently in a separate bound service would be much more robust. I'm trying to avoid rearchitecting the app like you did at the moment because we're about to change focus away from Android for a bit. What I really want to do is stop applying duct tape to python-for-android and just port the whole thing to chaquopy. This would all be achievable there in a sane way.

I usually test with the Android emulator and I found there are a couple knobs to reduce the hardware resources with QEMU:
    -memory <size>                                                      physical RAM size in MBs
    -cores <number>                                                     Set number of CPU cores to emulator

That should help trigger ANRs more easily.

Moving out of current sprint. This should be re-tested when we switch to Chaquopy. #185

With the conversion to chaquopy landed now in https://github.com/endlessm/kolibri-installer-android/issues/185, I think this is testable again. I don't think there should be any ANRs since Kolibri runs in a separate service. The activity is just the webview and all interactions with the Kolibri service are asynchronous.
@vanessa-chang could you QA this again with 420 Narwhal 7.8 from internal testing?

I have not able to reproduce this issue today with 420 Narwhal 7.8. I will close this issue first.


SceneManager class error

I am trying to run two functions at the same time. One function is supposed to detect scenes from local video and the other should detect scenes from my webcam. Then I make some processing with these scenes. Here is the code snippet:
scenes_1 = []
scenes_2 = []

scene_manager1 = SceneManager()
scene_manager1.add_detector(ContentDetector(threshold=30.0))

scene_manager2 = SceneManager()
scene_manager2.add_detector(ContentDetector(threshold=30.0))

def callback_1(image, frame_num):
  global scenes_1
  print("callback_1: Found a scene on video 1.")
  scenes_1 += [(image, frame_num)]

def callback_2(image, frame_num):
  global scenes_2
  print("callback_2: Found a scene on video 2.")
  scenes_2 += [(image, frame_num)]

def function_1():
    video_capture_0 = BrowserVideoCapture(src=0)

    while True:
        ret0,frame0=video_capture_0.read()
        if(ret0):
            scene_manager1.detect_scenes(frame0, callback=callback_1)
        else:
            break
    video_capture_0.release()

def function_2():

    video_capture_1 = cv2.VideoCapture("Our Story.mp4")

    while True:
        ret1,frame1=video_capture_1.read()
        if(ret1):
            scene_manager2.detect_scenes(frame1, callback=callback_2)
            if cv2.waitKey(34) & 0xFF == ord('q'):
                break
        else:
            break
    video_capture_1.release()
    cv2.destroyAllWindows()

t1=threading.Thread(target=function_1)
t2=threading.Thread(target=function_2)

t1.start()
t2.start()
t1.join()
t2.join()

while True:
  for im, frame_num in scenes_2:
    tar_image_example = cv2.cvtColor(im, cv2.COLOR_BGR2RGB)
    tar_image_example = tar_image_example.astype(np.uint8)
    print("Found scene at frame %d in video 2." % frame_num)

  for im, frame_num in scenes_1:
    src_image_example = cv2.cvtColor(im, cv2.COLOR_BGR2RGB)
    src_image_example = src_image_example.astype(np.uint8)
    print("Found scene at frame %d in video 1." % frame_num)

But I get the following error:
Exception in thread Thread-28:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "<ipython-input-25-1d65acb7c14c>", line 54, in function_1
    scene_manager1.detect_scenes(frame0, callback=callback_1)
  File "/usr/local/lib/python3.7/dist-packages/scenedetect/scene_manager.py", line 626, in detect_scenes
    timecode=0, fps=frame_source.get(cv2.CAP_PROP_FPS))
AttributeError: 'numpy.ndarray' object has no attribute 'get'

---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
<ipython-input-25-1d65acb7c14c> in <module>()
    112     tar_image_example = cv2.cvtColor(im, cv2.COLOR_BGR2RGB)
    113     tar_image_example = tar_image_example.astype(np.uint8)
--> 114     print("Found scene at frame %d in video 2." % frame_num)
    115   for im, frame_num in scenes_1:

KeyboardInterrupt:

What's wrong with the SceneManager class?

I am going to preface this by saying that I have not used the library with a webcam before, but, looking at the code, it looks as though the detect_scenes function expects the cv2.VideoCapture object as the argument. In your case, you would pass video_capture_1 to the function rather than frame_1 like you currently do.
The SceneManager class calls the frame_source.read() function (a VideoManager function) that pulls the frames for analysis. In your code, you are passing a single frame from the camera to the detect_scenes function rather than the video source (video_capture_1).
Hope that helps.

Thank you very much!


cargo-i18n: 0.2.12 -> 0.2.13

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/cargo-i18n/versions.
meta.description for cargo-i18n is: Rust Cargo sub-command and libraries to extract and build localization resources to embed in your application/library
meta.homepage for cargo-i18n is: https://github.com/kellpossible/cargo-i18n
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.13 with grep in /nix/store/4jh7ag6hsyp37d9s2d4mxzjazn702syr-cargo-i18n-0.2.13
found 0.2.13 in filename of file in /nix/store/4jh7ag6hsyp37d9s2d4mxzjazn702syr-cargo-i18n-0.2.13

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

cargo-i18n

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4jh7ag6hsyp37d9s2d4mxzjazn702syr-cargo-i18n-0.2.13 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cargo-i18n https://github.com/r-ryantm/nixpkgs/archive/9e716b10358e8a7637ceae0507742133ac197e5f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9e716b10358e8a7637ceae0507742133ac197e5f#cargo-i18n

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4jh7ag6hsyp37d9s2d4mxzjazn702syr-cargo-i18n-0.2.13
ls -la /nix/store/4jh7ag6hsyp37d9s2d4mxzjazn702syr-cargo-i18n-0.2.13/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

cargo-i18n

Maintainer pings
cc @xrelkd for testing.

@NixOS/nixpkgs-merge-bot merge


Implement date-related java.time classes

Implement java.time.Period, java.time.LocalDate,
java.time.DayOfWeek and java.time.Month as well as
most classes in java.time.chrono.
Also add more tests for existing java.time classes.

Can one of the admins verify this patch?

Jenkins, test this please.
Review by @nicolasstucki

@ummels an important heads up. You will need to rebase on master because the test suite has become a cross compiling project (js/jvm). You will need to move your tests to testSuite/js/src.
For the next PR you could create tests testSuite/shared/src using JUnit, this will cross compile the tests and check them against the JVM implementation (testSuiteJVM/test to run them).

That is all.

Thanks, I rebased and moved the tests into testSuite/js/src. Could you test this please?

Jenkins, retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2475/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3202/
Test PASSed.

LGTM


Add 3.11 to test matrix

The package manifests specify support for any version 3.8>= but 3.11 is missing from the test matrix.
This will run the tests on Python 3.11

@tonybaloney Thanks for the PR!


Add Privacy Consideration note to Stock Price Checker challenge

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #43555
So excited to contribute to FCC!

Hello, I'm happy to make any changes necessary to get this PR approved, I commited one small change so far where I removed the external link, after realizing it is not best practice to do so.


Remove antiLeft

We should remove antiLeft entirely.
~The AntiLeft parser is complicated in that:~
~1. it is unnecessarily restrictive in the patterns which it accepts, and~
~2. the parser exposes its internal state in its return value.~

Blocked on https://github.com/runtimeverification/haskell-backend/issues/2371


Generalizing the Library

Hello and thanks for publishing this library! I've really enjoyed reading the design and discussion documents you have posted. However, I am now trying to apply this library in a somewhat broader context. Essentially, I am hoping to use it to improve the linear operator library. linear_operator. The idea of this library is to abstract how tensors are stored to be able to perform matrix operations much more efficiently. I'd really like to use torchtyping to add dimensional and storage type checks to help squash bugs in this code. Unfortunately, torchtyping is configured to run exactly on torch.Tensor objects. My first attempt was just to hack the library to pull out a few class checks. But, doing more reading, I feel like torchtyping could be cleanly improved by using protocols. PEP 544 – Protocols: Structural subtyping (static duck typing). The idea would be to have the library use an abstract tensor protocol rather than tensor directly. This would make the library much more general and I think it could help cleanup the code by making it explicit as to what tensor fields are being used. What do you think / do you have any suggestions on how to add this?
@dannyfriar @m4rs-mt

You might find my other project jaxtyping interesting. This is able to handle other array/tensor types -- at minimum it is tested to be able to handle JAX+numpy+pytorch+tensorflow. It uses a slightly different syntax, so that you can specify the array/tensor type explicitly, e.g. Float[torch.Tensor, "batch channel"].
Just as soon as I find the time, I actually intend to update TorchTyping, essentially by copy-pasting and tweaking the code from jaxtyping. [Whilst setting up some backward-compatible aliases, of course.] See also the discussions here and here on what the plan is. If you really like TorchTyping then I'd be happy to accept a PR doing this. Alternatively, you may be able to simply use jaxtyping directly for your project. (Even though you aren't using JAX!)

Interesting and thanks for the quick response! I will take a closer look at jaxtyping.

Thanks again for the suggestion. After looking at jaxtyping I decided that I didn't want to introduce a dependency on Jax since that adds quite a bit of complexity. So, I have gone ahead and submitted a PR where I switch the code to use a protocol class rather than torch.Tensor directly. I think this helps to generalize things in a clean way...


Improvement ideas

Some ideas on how to improve the project:
New features

[ ] Support do {...} while (...); statements.
[ ] Support variadic functions.
[ ] Support & on local and global variables in Shell backend.
[ ] Generate executables compatible with macOS and Windows. Bonus points if they are αcτµαlly pδrταblε εxεcµταblε.
[ ] ARM/RISC-V backends.

Code quality / Tech debt

[ ] Unify the way the environment is tracked in the shell and exe backends.
[ ] Add a CI/CD pipeline that tests Pnut on all supported platforms and makes releases for them.
[ ] Improve errors produced by Pnut.

Other

[ ] Improve README.md.
[ ] Make a landing page for Pnut on pnut.sh.
[ ] Add more examples.

I think it'd be impressive to add the tools over at https://git.suckless.org/sbase/files.html as examples. That'd also be exciting for people interested in writing pure SH scripts (scripts that don't call external commands). :)


Mutability detector integration

A great tool exists!
https://github.com/MutabilityDetector/MutabilityDetector
We should integrate it to test our classes immutability, especially in our goal for making Position immutable #174

Integrated successfully. It will help in #174 which is crucial for Chess stability.
Move & Piece made immutable.


fix(SharedElement): return callback(null) when no ref is not found

Sometimes I'd got this error when transitioning trough animations, so my colleague @robcoutinho found that maybe it wasn't being treated right when no reference was found on measure method.
I've tested it with this modification on my branch and since then I had no more error in my app! By simply returning this callback when no reference is found.

It seems it got an error on the CI when installing the dependencies @xotahal


Monorepo - reusable github workflows

Current dependencies on/for this PR:

main

PR #241

PR #242

PR #243

PR #244

PR #245   👈

This comment was auto-generated by Graphite.


Add database backup

add ability to backup database periodically.
Also make entire database exportable as csv/excel files?

We might want to consider using a cloud database service. This would deploy the database in the cloud with automatic back-ups. I haven't used Google Cloud, but it looks like this: https://cloud.google.com/sql would work.

That is how we have the st2 database setup.  I'm not necessarily opposed to that but the I was hoping to keep deployment of this app as containerized as possible.
lets explore both options

There also is a strong desire from PVACD to have a local copy of their data. Obviously its a cloud world but if we could have a simple mechanism where csv files are automatically send to them or they can manually download them I think that will satisfy them.

added prodrigestivill/postgres-backup-local