Kong 0.5.0 Delete consumer succeeds but returns HTTP 500

Hi,
We have migrate to the new Kong v0.5.0, when deleting a consumer, the consumer is removed from Cassandra, but the endpoint DELETE /consumers/xyz returns 500.
In order to be sure that it's not related to the migration from 0.4.2 > 0.5.0 a new Kong instance has been setup with a clean Cassandra.  Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/e17d718b-a83b-4336-c338-d74001e6afb2 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:04:36 [error] 2279#0: *10 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/0bb73132-0606-4493-c461-0081d507e816 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:04:36 [error] 2279#0: *10 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/7a6912db-bfb2-45db-c587-108fc89b5176 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:04:36 [error] 2279#0: *10 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/f53e004d-9d64-4a22-cac7-7aad6b4a0e84 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:04:37 [error] 2279#0: *10 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/41b44b1a-7008-4318-c3d5-099fc2ec725b HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:04:37 [error] 2279#0: *10 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/e6d5308b-b9f1-4424-c44b-7e137e445e39 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:04:37 [error] 2279#0: *10 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/5a548d7e-24d2-4c22-ccd1-c687ee1821b7 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:10:49 [error] 2279#0: *60 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/17f99daa-e6fe-41ca-c192-657061fe9e95/ HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:11:25 [error] 2279#0: *71 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/b149c5ce-7fee-4257-c20e-8c0b1bed0344 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:11:25 [error] 2279#0: *71 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/dd15f59f-6244-4de6-cdf1-a3d1f31793e5 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:11:25 [error] 2279#0: *71 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/91d43ebb-8484-498f-c9f5-46aca4ec1956 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:11:25 [error] 2279#0: *71 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/162270c3-70b0-4d11-cde5-b6ae8019ea03 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:11:26 [error] 2279#0: *71 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/2dbd93f7-1f98-4445-c45e-52db517a99d5 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:11:26 [error] 2279#0: *71 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/5efd7c96-ef11-4673-c6b6-1345e3369872 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:11:26 [error] 2279#0: *71 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/1711c9fb-1230-4745-c748-453e7431dffa HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:16:06 [error] 2279#0: *122 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/0b6a2cb9-5c67-437f-c331-b22313bf6f04 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:16:06 [error] 2279#0: *122 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/147489ec-b812-4e0c-cec4-3119ee19effc HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:16:06 [error] 2279#0: *122 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/43aca4e2-2cd8-4377-c3bd-a1ac935083a1 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:16:07 [error] 2279#0: *122 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/11d685d4-ceec-47b6-c767-bae321872993 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:16:07 [error] 2279#0: *122 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/49a894e1-31a6-40f1-c026-92b8538cfeb3 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:17:49 [error] 2279#0: *165 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/9f4b7bc7-1bd5-4b8c-cbea-93d10ecb0240 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:19:17 [error] 2278#0: *174 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/ConsumerA HTTP/1.1", host: "acc.apim.t1t.be:8001"
2015/10/01 04:19:39 [error] 2278#0: *185 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/customidrandom1 HTTP/1.1", host:
"acc.apim.t1t.be:8001"
2015/10/01 04:20:35 [error] 2278#0: *197 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/apicuser HTTP/1.1", host: "acc.apim.t1t.be:8001"
2015/10/01 04:21:28 [error] 2278#0: *208 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/251b06e9-2442-4b9b-cb79-5531bccd91d7 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:21:48 [error] 2278#0: *216 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/9b81a0ba-f302-43d5-c357-f02bbc3a3332 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:24 [notice] 2800#0: signal process started
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:74: init_plugins():
Discovering used plugins
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: ssl
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: jwt
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: acl
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: cors
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: oauth2
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: tcp-log
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: udp-log
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: file-log
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: http-log
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: key-auth
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: hmac-auth
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: basic-auth
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: ip-restriction
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: mashape-analytics
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: request-transformer
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: response-transformer
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: request-size-limiting
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: rate-limiting
2015/10/01 04:22:25 [notice] 2846#0: [lua] kong.lua:94: init_plugins(): Loading
plugin: response-ratelimiting
2015/10/01 04:22:38 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/d7d8e13a-9203-4a11-ca0f-e97ca57ce102 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:38 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/c37d70e9-b6d2-4212-c2d7-da5cd3a41703 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:38 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/a4d5cb8f-39e8-436e-c376-56d17a495750 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:39 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/f339085c-bb2d-45cb-c533-bb8a7e933a5a HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:39 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/646efda8-be20-4a96-ca3f-c25dc26d1813 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:39 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/098aee22-9865-442e-c428-27447133d390 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:40 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/c29dde31-40c7-4306-c353-0d8e1cacb4a8 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:40 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/98992a4b-08d9-46b8-c687-c662e4261bbb HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:40 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/4ba70910-9917-47a1-c763-5f5d0024b6a1 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:40 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/34ddb388-d49c-48b7-c8e0-3f5a339941e6 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:41 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/26371072-b81e-4930-c9b8-f5f9b1ae4f7b HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:22:41 [error] 2848#0: *1 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/00297135-0e5c-46af-c608-71b4c1982460 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:23:16 [error] 2848#0: *91 lua coroutine: runtime error: don't know
how to respond to DELETE
stack traceback:
coroutine 0:
[C]: ?
coroutine 1:
[C]: in function 'resume'
/usr/local/share/lua/5.1/lapis/application.lua:652: in function 'handler'
/usr/local/share/lua/5.1/lapis/application.lua:393: in function 'resolve'
/usr/local/share/lua/5.1/kong/api/app.lua:96: in function 'handler'
/usr/local/share/lua/5.1/lapis/application.lua:393: in function 'handler'
/usr/local/share/lua/5.1/lapis/application.lua:404: in function
</usr/local/share/lua/5.1/lapis/application.lua:400>
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/lapis/application.lua:400: in function 'dispatch'
/usr/local/share/lua/5.1/lapis/nginx.lua:181: in function 'serve'
content_by_lua(nginx.conf:136):8: in function
<content_by_lua(nginx.conf:136):1>, client: <IP_ADDRESS>, server: , request:
"DELETE /plugins/ HTTP/1.1", host: "acc.apim.t1t.be:8001"
2015/10/01 04:25:33 [error] 2848#0: *93 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/dd575c47-d6bd-4b42-cb5b-c0e8c9024e80 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:25:34 [error] 2848#0: *93 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/bd671d91-8734-48c9-c8d4-f14eec6f8dd1 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:25:34 [error] 2848#0: *93 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/d68edee3-c69f-4148-c111-77511aded2a8 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:25:34 [error] 2848#0: *93 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/2f2fd183-73b1-48e0-c8bc-0cc3c94b0769 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:25:34 [error] 2848#0: *93 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/837d6cdd-1bc2-41bf-c14d-03e49ef07dc2 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:25:34 [error] 2848#0: *93 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/c4bb17d6-6b0c-4e90-cece-37f3d3d799f1 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:25:35 [error] 2848#0: *93 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/d75d1a3a-297b-4323-c3a4-e6703026075b HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:25:35 [error] 2848#0: *93 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/270d3a25-49cf-4ce2-cc9f-6cd5d672af67 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:25:35 [error] 2848#0: *93 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/0d84bf29-6bf9-4b3f-cbe1-240e5eef132d HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:28:11 [error] 2848#0: *154 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/7f8da1fd-4348-45bc-c52d-f17edf414cd1 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:28:11 [error] 2848#0: *154 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/2be17fbb-60e6-4ab2-cad9-021ce7b5b276 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:28:11 [error] 2848#0: *154 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/91c0ef44-967a-44f0-c449-0d128d1ef005 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:28:11 [error] 2848#0: *154 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/154d8076-6cc5-4792-c7f1-fc3728ebcf29 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:28:11 [error] 2848#0: *154 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/0657cc62-e688-42fc-c265-8ed8913d0c00 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:28:12 [error] 2848#0: *154 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/d53e3e9e-56d5-408a-c0d5-31f2a62383d7 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:28:12 [error] 2848#0: *154 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/e4762f53-3ea7-45d6-c5e2-aca4fbd73f67 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:28:12 [error] 2848#0: *154 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/7e6fb215-9733-43cc-c340-0608cf16f267 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:28:13 [error] 2848#0: *154 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/547fee12-0dac-4a68-ca35-66fb2a6544d6 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:39:31 [error] 2849#0: *221 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/ace585d0-682f-4786-c718-68d1d22333ee HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:39:31 [error] 2849#0: *221 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/4aff7a50-6d01-4a38-cafb-0ce944690d34 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:39:31 [error] 2849#0: *221 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/b929c1d3-7a6b-4f21-cfc9-b05efe5342fd HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:39:31 [error] 2849#0: *221 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/8a19a390-4710-4400-c4be-b018c5a533ad HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:39:31 [error] 2849#0: *221 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/402739d9-2084-4ecf-cef8-2bce41a28cb9 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:39:32 [error] 2849#0: *221 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/735625fe-22c2-4068-c057-3e1443e86171 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:39:32 [error] 2849#0: *221 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/502af0b5-5bcc-4d24-cdab-7a0b503bd0b9 HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:39:32 [error] 2849#0: *221 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/03f591ac-0e05-491d-c980-5b67bbc7cfab HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:39:33 [error] 2849#0: *221 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/819e33e2-8361-4f2a-cfa0-858ad0d3ed5c HTTP/1.1",
host: "acc.apim.t1t.be:8001"
2015/10/01 04:43:53 [error] 2848#0: *299 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/ConsumerA HTTP/1.1", host: "acc.apim.t1t.be:8001"
2015/10/01 05:02:16 [error] 2848#0: *308 [lua] responses.lua:61: handler():
Cassandra error: Failed to prepare statement: "SELECT * FROM
hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid):
unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: ,
request: "DELETE /consumers/sometestuserx HTTP/1.1", host:
"acc.apim.t1t.be:8001"
2015/10/01 05:02:23 [error] 2848#0: *314 lua coroutine: runtime error: don't
know how to respond to DELETE
stack traceback:
coroutine 0:
[C]: ?
coroutine 1:
[C]: in function 'resume'
/usr/local/share/lua/5.1/lapis/application.lua:652: in function 'handler'
/usr/local/share/lua/5.1/lapis/application.lua:393: in function 'resolve'
/usr/local/share/lua/5.1/kong/api/app.lua:98: in function 'handler'
/usr/local/share/lua/5.1/lapis/application.lua:393: in function 'handler'
/usr/local/share/lua/5.1/lapis/application.lua:404: in function
</usr/local/share/lua/5.1/lapis/application.lua:400>
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/lapis/application.lua:400: in function 'dispatch'
/usr/local/share/lua/5.1/lapis/nginx.lua:181: in function 'serve'
content_by_lua(nginx.conf:136):8: in function
<content_by_lua(nginx.conf:136):1>, client: <IP_ADDRESS>, server: , request:
"DELETE /consumers HTTP/1.1", host: "acc.apim.t1t.be:8001"

With Kong 0.5.0:
$ http :8001/consumers username=foo
HTTP/1.1 201 Created

{
    "created_at":<PHONE_NUMBER>000,
    "id": "f82ba8ac-c7bf-45e0-c52b-645bc8da47e4",
    "username": "foo"
}

$ http DELETE :8001/consumers/foo
HTTP/1.1 204 No Content

Could you post some replication steps?

Last login: Tue Oct  6 06:03:47 on ttys003
d54c6508a:~ michallispashidis$ curl -X POST http://acc.apim.t1t.be:8001/consumers/ --data "username=sometestuser"
{"username":"sometestuser","created_at":1444106528000,"id":"14cc0795-c821-4b57-cb29-ad04375774f4"}
d54c6508a:~ michallispashidis$ curl -X DELETE http://acc.apim.t1t.be:8001/consumers/sometestuser
{"message":"An unexpected error occurred"}
What I get from the Kong logs:
2015/10/06 04:42:44 [error] 3209#0: *9 [lua] responses.lua:61: handler(): Cassandra error: Failed to prepare statement: "SELECT * FROM hmacauth_credentials WHERE consumer_id = ?". Cassandra returned error (Invalid): unconfigured columnfamily hmacauth_credentials, client: <IP_ADDRESS>, server: , request: "DELETE /consumers/sometestuser HTTP/1.1", host: "acc.apim.t1t.be:8001"

Could you run the following queries in your Cassandra cluster and share the output?
USE <your_keyspace>;
DESCRIBE TABLES;
SELECT * FROM schema_migrations;

That would help. Thanks

I will reset all and try with Kong 0.5.1, I'll let you know if the issue is still there; I think it has to do something with https://github.com/Mashape/kong/pull/602

The issue is solved with Kong 0.5.1 :-)


questions about number of trainning epochs

how many epochs do I need to train the Kinetics400 model using train_kinetics.py to get 72.8 accuary?
https://github.com/cypw/PyTorch-MFNet/blob/master/train_kinetics.py#L67   says 10000?
Is this 10000 too large?

The training steps is shown here.
I set the --end-epoch=10000 just because I want to manually terminate the training when validation accuracy saturated.


pipenv using wrong python with pyenv

pipenv is using python 3.5.3 instead of 3.6.2 for some reason
$ pipenv --version
pipenv, version 8.0.7

$ python --version
Python 3.6.2

$ which python
/Users/johria/.pyenv/shims/python

$ pipenv install --dev
Creating a virtualenv for this project…
⠋Using base prefix '/Users/johria/.pyenv/versions/3.5.3'
New python executable in /Users/johria/.local/share/virtualenvs/context-generator-d3x1ENAX/bin/python3.5
Also creating executable in /Users/johria/.local/share/virtualenvs/context-generator-d3x1ENAX/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /Users/johria/.local/share/virtualenvs/context-generator-d3x1ENAX
Installing dependencies from Pipfile.lock…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 25/25 — 00:00:44
To activate this project's virtualenv, run the following:
 $ pipenv shell
$ pyenv versions
  system
  2.7.13
  3.5.3
* 3.6.2 (set by /Users/johria/Development/heliograf/apps/context-generator/.python-version)

@AlJohri what is the value returned from python3 --version? Also do you have python_requires in your Pipfile?
It looks like you have pyenv configured to give 3.5 precedence for python3.

pipenv doesn't look at .python-version or runtime.txt files to determine which python version to look for, as @nateprewitt mentioned add python_requires to your Pipfile, otherwise be explicit: pipenv --python 3.6.2 install --dev

@nateprewitt It's 3.6.2.
My global python is also not 3.5.2, it is:
$ pyenv versions
  system
* 2.7.13 (set by /Users/johria/.pyenv/version)
  3.5.3
* 3.6.2 (set by /Users/johria/.pyenv/version)

$ cat ~/.pyenv/version
3.6.2:2.7.13

@audiolion I do have python_requires in my Pipfile already:
[requires]
python_version = "3.6"

Still seems to be using the wrong version

Ok if you have python_version in there then it looks like a bug. I don't think pipenv respects what version pyenv has set, and uses the system so python3 --version would tell you what pipenv looks for, it could be that pipenv isn't finding the pyenv shims and so decides to use 3.5 because its all it can find? seems like it still shouldn't do that

I'm not at a computer right now so I can't test this out but this sounds like either a very recent regression or some sort of configuration hiccup on your machine. I look at this tonight if no one else gets it first.

use python_full_version.

See if that changes anything.

Pipfile and Pipfile.lock: https://gist.github.com/AlJohri/7e7b68ddad1f9ac6cb1c64dbc8a45670
$ which python
/Users/johria/.pyenv/shims/python
$ which python2
/Users/johria/.pyenv/shims/python2
$ which python3
/Users/johria/.pyenv/shims/python3

$ python --version
Python 3.6.2

cat .python-version
3.6.2

(python2: command not found is due to the .python-version file)
$ python2 --version
pyenv: python2: command not found

The `python2' command exists in these Python versions:
  2.7.13

$ python3 --version
3.6.2

wait, I'm sorry - It seems I was looking at the wrong Pipefile - I didn't have python_requires in this one. Fixing and trying again.

Yeah, it still seems like there's a bug somewhere but it gave me a proper message now:
$ pipenv install
Warning: Your Pipfile requires python_version 3.6, but you are using 3.5.3 (/Users/johria/.local/share/v/c/bin/python).
  $ pipenv check will surely fail.
Pipfile.lock out of date, updating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock!
Installing dependencies from Pipfile.lock…

Doesn't seem like there is a python_requires in there..?

The confusing part is that I don't have 3.5.3 set anywhere - I pretty much don't use it. It's not in my global pyenv or local.
@audiolion yeah, sorry I was looking at an incorrect Pipfile - I posted the updated message above https://github.com/kennethreitz/pipenv/issues/729#issuecomment-332543907.

Let me try python_full_version.

Same message:
$ pipenv install
Warning: Your Pipfile requires python_version 3.6, but you are using 3.5.3 (/Users/johria/.local/share/v/c/bin/python).
  $ pipenv check will surely fail.
.....

We search through all Pythons that Pyenv has installed, and look for effectively (python --version).startswith(your_version), and return that.

you'll have to do a pipenv --rm to start over.

$ pipenv --rm
$ pipenv install
$ Creating a virtualenv for this project…
Using /Users/johria/.pyenv/versions/3.6.2/bin/python3.6m to create virtualenv…

fixed! thank you all! 🎉

@kennethreitz so the odd behavior was because it was using the first python that starts with python "3" by default since I didn't have python_version or python_full_version?

sounds like it.

I propose honouring either the .python-version or python --version or anything else that would make pipenv use the currently active python instead of picking the first python3 it finds. Should I open a new issue for this instead of continuing this existing one?

@aleksijohansson The .python-version proposal was already rejected a while ago because we want to avoid supporting non-standard stuff if possible. Use pipenv --python=$PYENV_ROOT/bin/python if you want to hook into the .python-version configuration.

@uranusjr I understand and that makes sense. Relying on python --version could be good though. Thanks for the suggested workaround!

@kennethreitz I noticed you mentioned that you look for the highest python version pyenv has installed and default to that. I think it could make sense to check if there is a system python version higher than the pyenv pythons too.
I only use pyenv to install old python versions and pipenv defaulted to using one of those instead of my systems python3.6 install, which was quite unexpected as user and gave me a bit of a debugging session. Thanks for the great project btw!

@techalchemy @uranusjr RE this behavior change

Would be nice, is much harder than it sounds. We have a library for this which actually handles it correctly but integration into the codebase is a huge hurdle.

Someone integrate PythonFinder please!

I do this:
/home/ubuntu/morpheus$ pipenv install --python=3.6
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…
Virtualenv already exists!
Removing existing virtualenv…

Even though Python 3.6 exists.

I believe this might be the root cause: https://github.com/pypa/pipenv/issues/4431#issuecomment-766566500

I believe this might be the root cause: https://github.com/pypa/pipenv/issues/4431#issuecomment-766566500

Started running into this also, in AWS CodeBuild, which uses pyenv. The project's Pipfile is only locked to python_version = "3", intentionally. The python version is controlled through the CodeBuild buildspec runtime-versions, instead.
pipenv kept selecting python 3.9, instead of the pyenv global python 3.8 version from the PATH, or pipenv's own runtime. This workaround gets me past the problem: pipenv --python=$(which python3)

@lorengordon as kennethreitz42 mentioned

We search through all Pythons that Pyenv has installed, and look for effectively (python --version).startswith(your_version), and return that.

So, it looks like if you only specify python_version = "3" then pipenv takes the first version starting with 3 that it finds.

@SergiyKolesnikov I did see that, so I understand what is happening. Sorry, I only meant to offer a different workaround for others experiencing this issue. I had tried pipenv --python=$PYENV_ROOT/shims/python from this comment, but that didn't work for me because PYENV_ROOT is not in my env. pipenv --python=$(which python3) is what I ended up using, instead.

Hi All,
I am facing the same issue, when I try to run the make command, can any one help me to fix it.
Warning: Your Pipfile requires python_version 3.7, but you are using None (/home/s/.local/share/v/t/bin/python).
$ pipenv check will surely fail.
Loading .env environment variables…
Traceback (most recent call last):
File "/usr/bin//pipenv", line 11, in
load_entry_point('pipenv==11.9.0', 'console_scripts', 'pipenv')()
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/cli.py", line 505, in lock
core.ensure_project(three=three, python=python)
File "/usr/lib/python3/dist-packages/pipenv/core.py", line 616, in ensure_project
'{0}: Your Pipfile requires {1} {2}, '
TypeError: str returned non-string (type NoneType)
Traceback (most recent call last):
File "/usr/bin//pipenv", line 11, in
load_entry_point('pipenv==11.9.0', 'console_scripts', 'pipenv')()
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/cli.py", line 602, in run
core.do_run(command=command, args=args, three=three, python=python)
File "/usr/lib/python3/dist-packages/pipenv/core.py", line 2234, in do_run
os.execl(command_path, command_path, *args)
File "/usr/lib/python3.8/os.py", line 536, in execl
execv(file, args)
FileNotFoundError: [Errno 2] No such file or directory
make[2]: *** [Makefile:31: build_deploy] Error 1
make[2]: Leaving directory '/home/sg0309559/Linuxhome/REPO/aws-teardown-v2/aws-teardowns/functions/teardown_dispatcher'
make[1]: *** [Makefile:4: archive_teardown_dispatcher] Error 2
make[1]: Leaving directory '/home/sg0309559/Linuxhome/REPO/aws-teardown-v2/aws-teardowns/functions'
make: *** [Makefile:6: archive_lambdas] Error 2

@AlJohri Please guide me how you did it

;TLDR for those who ran into this problem:
pipenv --rm
pipenv install --python V

Replace V with the value of the python_version parameter from your Pipfile
If you are just starting a new project and do not have a Pipfile yet, replace V with the Python version that you set up for this project with asdf, pyenv, or whatever tool you are using to manage Python versions.

$ pipenv --rm
$ pipenv install
$ Creating a virtualenv for this project…
Using /Users/johria/.pyenv/versions/3.6.2/bin/python3.6m to create virtualenv…

fixed! thank you all! tada

Your 2017 fix, helped a 2021 problem :)

Thank you.

Hello, my system python version is 3.10, but I wanna run python 3.6 project and I can't figure out how to
roman@romans-MacBook-Air arkoil % pipenv --rm
Loading .env environment variables...
Removing virtualenv (/Users/roman/.local/share/virtualenvs/arkoil-3G2nlaxt)...

roman@romans-MacBook-Air arkoil % python3 --version
Python 3.10.7
roman@romans-MacBook-Air arkoil % python3.6 --version
Python 3.6.8
roman@romans-MacBook-Air arkoil % pipenv --python=$(which python3.6)
Loading .env environment variables...
Warning: the environment variable LANG is not set!
We recommend setting this in ~/.profile (or equivalent) for proper expected behavior.
Creating a virtualenv for this project...
Pipfile: /Users/roman/Desktop/pycharm_projects/arkoil/Pipfile
Using /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 (3.6.8) to create virtualenv...
⠼ Creating virtual environment...created virtual environment CPython3.6.8.final.0-64 in 263ms
  creator CPython3Posix(dest=/Users/roman/.local/share/virtualenvs/arkoil-3G2nlaxt, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/roman/Library/Application Support/virtualenv)
    added seed packages: pip==21.3.1, setuptools==59.6.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
✔ Successfully created virtual environment!
Virtualenv location: /Users/roman/.local/share/virtualenvs/arkoil-3G2nlaxt

roman@romans-MacBook-Air arkoil % pipenv shell
Loading .env environment variables...
Loading .env environment variables...
Launching subshell in virtual environment...
 . /Users/roman/.local/share/virtualenvs/arkoil-3G2nlaxt/bin/activate
roman@romans-MacBook-Air arkoil %  . /Users/roman/.local/share/virtualenvs/arkoil-3G2nlaxt/bin/activate

(arkoil) roman@romans-MacBook-Air arkoil % python --version
Python 3.6.8
(arkoil) roman@romans-MacBook-Air arkoil % pipenv install
Loading .env environment variables...
Pipfile.lock not found, creating...
Locking [packages] dependencies...
Building requirements...
✘ Locking Failed!

Traceback (most recent call last):
  File "/opt/homebrew/Cellar/pipenv/2022.9.24/libexec/lib/python3.10/site-packages/pipenv/resolver.py", line 816, in <module>
    main()
  File "/opt/homebrew/Cellar/pipenv/2022.9.24/libexec/lib/python3.10/site-packages/pipenv/resolver.py", line 790, in main
    _ensure_modules()
  File "/opt/homebrew/Cellar/pipenv/2022.9.24/libexec/lib/python3.10/site-packages/pipenv/resolver.py", line 16, in _ensure_modules
    spec.loader.exec_module(pipenv)
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/homebrew/Cellar/pipenv/2022.9.24/libexec/lib/python3.10/site-packages/pipenv/__init__.py", line 58, in <module>
    from .cli import cli
  File "/opt/homebrew/Cellar/pipenv/2022.9.24/libexec/lib/python3.10/site-packages/pipenv/cli/__init__.py", line 1, in <module>
    from .command import cli  # noqa
  File "/opt/homebrew/Cellar/pipenv/2022.9.24/libexec/lib/python3.10/site-packages/pipenv/cli/command.py", line 7, in <module>
    from pipenv.cli.options import (
  File "/opt/homebrew/Cellar/pipenv/2022.9.24/libexec/lib/python3.10/site-packages/pipenv/cli/options.py", line 3, in <module>
    from pipenv.project import Project
  File "/opt/homebrew/Cellar/pipenv/2022.9.24/libexec/lib/python3.10/site-packages/pipenv/project.py", line 1
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

You can run a Python 3.6 project on your Python 3.10 system in several ways:

Create a virtual environment with Python 3.6: This will allow you to run the project in an isolated environment with the specific version of Python you need.
OR

Use a version manager like pyenv or conda: These tools let you switch between different Python versions on your system, so you can run your Python 3.6 project without affecting other projects.
OR

Run the project in a Docker container: This allows you to run the project in an isolated environment with the specific version of Python you need.

OR

Simply use poetry by following this link
https://stackoverflow.com/questions/60580113/change-python-version-to-3-x


Problem using setChainedProxy

Hello I tried to use the chained proxy option with no luck.
The server just does nothing.
I know the server works because it can blacklist and whitlist websites that worked for me.
but when I set chained proxy even manually with inetsocketaddress.
It just does nothing.
I checked my ip with www.whatismyip.com
and nothing
what am i doing wrong
Thanks
server = new BrowserMobProxyServer(Port);
    while(true)
    {
    Double RandomDouble=Math.floor(Math.random() * salesData.length-1) + 0;
    int Random=RandomDouble.intValue();
    String IP;
    int PORT;
    IP=salesData[Random].substring(0, salesData[Random].indexOf(":"));
    PORT=Integer.parseInt(salesData[Random].substring(salesData[Random].indexOf(":")+1));
    InetSocketAddress Address = new InetSocketAddress(IP, PORT);
    System.out.println(IP);
    System.out.println(PORT);
    if(testConnection(IP))
    {
    	server.setChainedProxy(Address);
    	server.start();
    	break;
    }

The way you're assigning the chained proxy address is a bit confusing, but as long as a proxy is listening at the InetSocketAddress you specify, calling setChainedProxy does work. Perhaps the address you're setting it to isn't what you think it is?


Generated code produces warnings for empty tables with Rust 1.77

For example:
warning: field `0` is never read
     --> app-core/src/game/planus_serialization.rs:13349:33
      |
13349 |         pub struct TouchRef<'a>(::planus::table_reader::Table<'a>);
      |                    --------     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |                    |
      |                    field in this struct
      |
      = note: `TouchRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
      |
13349 |         pub struct TouchRef<'a>(());
      |                                 ~~

Where TouchRef is the generated struct for an empty table:
table Touch {
}

I am unable to replicate this after 5 minutes of trying.
Can you maybe expand a bit upon your setup? Do you perhaps have enabled non-default lints or something?
I would also ask you to tell me the version of the planus cli you used to generated this. I don't expect this to be the cause, but would be good to be sure to minimize any potential misunderstandings.
However it turns out that the planus cli does not have a version subcommand. I've filed #231 for this.

Given commit ebcb3a0, should I assume that you have identified and solved the issue?

Unfortunately not. I tried to write a test to see if I had actually fixed the issue and I was unable to trigger it even without that commit.

If this is a deficiency in our testing, I want to get that deficiency resolved, so we actually catch these kinds of issues in the future.
If this turns out to be something specific to your setup, then I'll still want to fix it (probably using that commit), but not until we add testing to make sure it doesn't come back. Or at the very least, I want to run it on the entire repo manually to find related problems.

My planus-cli install command is: cargo install<EMAIL_ADDRESS>I did not see any specific lint being used. I guess the next step is to make a minimal reproducible test case.

So I can confirm that if I take my planus-generated rs file and I copy it to a fresh repository, with Rust 1.77 I can reproduce the issue. Now I'll try to get a minimal file.

The test case is here: https://github.com/stephanemagnenat/planus-230

Thanks!
I can confirm that this is fixed on main. I'll leave this issue open for now until we do a new release.

We've done a new release with this fix.


M1102

What are you trying to do?

How is it done today, and what are the limits of current practice?

What is new in your approach and why do you think it will be successful?
Who cares? If you are successful, what difference will it make?
What are the risks?
How much will it cost?

How long will it take?
What are the mid-term and final “exams” to check for success?

Closing as it appears that this was opened by mistake.


More accurate ranking algorithm

In case 1, the icons - tray and extension - gnome phrases got 0.5 weight, but it's clearly noticeable that extension - gnome is a more important phrase than icons - tray. The two phrase's occurrence is equal but the gnome word itself has more hit than icon or tray words. Follow this logic, the extension - gnome weight should be > 0.5 and < 1.
But this logic should not make that side effect what happens in case 2, all phrases become important what contains the word gnome.
Case 1 and case 2 are correct, so they shouldn't be modified but a new algorithm is required what implement the above logic. It should be a new, third Algorithm interface implementation: SupervisedAlgorithm or ComparatorAlgorithm.
Case 1, FindPhrases method result from ranked text by AlgorithmDefault

Phrase: gnome - shell, Occurrence: 5, Weight: 1
Phrase: icons - tray, Occurrence: 3, Weight: 0.5
Phrase: extension - gnome, Occurrence: 3, Weight: 0.5
Phrase: dock - dash, Occurrence: 2, Weight: 0.25

Case 2, FindPhrases method result from ranked text by AlgorithmMixed

Phrase: gnome - shell, Occurrence: 5, Weight: 1
Phrase: gnome - caffeine, Occurrence: 2, Weight: 0.8
Phrase: gnome - takes, Occurrence: 1, Weight: 0.73333335
Phrase: gnome - commonly, Occurrence: 1, Weight: 0.73333335

Done in PR #5
New algorithm name is ChainAlgorithm and MixedAlgorithm has been removed.


drop safe_yaml gem in favor of YAML.safe_load in Ruby stdlib

This may have to wait until we drop Ruby 2.5. However, many major Linux distributions are still shipping Ruby 2.5 in their LTS release streams. So it may be too soon to drop Ruby 2.5.

I think if safe_load is not available, we should just map it to regular load. That way, we can move forward without having to break Ruby 2.5 outright.

I think if safe_load is not available, we should just map it to regular load.

The issue isn't about YAML.safe_load being absent, but having different keyword parameters. I added an adapter.


Redirects not working in production

I've got following code wrapped in a <Switch>
      <Route
        path="/dashboard/:route"
        render={routerProps => {
          if (!navigator.onLine) notificationOffline();
          const status = getSessionStatus();
          switch (status) {
            case "VISITOR":
            case "LOGOUT":
              return <Redirect to="/logout" />;
            case "ONBOARDING":
              return <Redirect to={getOnboardingStepLink()} />;
            default:
              return <Dashboard {...routerProps} />;
          }
        }}
      />

Works as expected when I'm in development (Hot module reloading), but once I build it and run in prod, it only gets as far as concrete case statement, but doesn't seem to execute a redirect. I am really lost here.

EDIT: Adding push param to redirect doesn't seem to help. Also it looks like url changes, yet no component under that route is rendered.

Your Route is returning the same component, so React is re-using the instance. Redirect doesn't do anything when props update. The easiest way to get around that is to add keys:
      <Route
        path="/dashboard/:route"
        render={routerProps => {
          if (!navigator.onLine) notificationOffline();
          const status = getSessionStatus();
          switch (status) {
            case "VISITOR":
            case "LOGOUT":
              return <Redirect key="logout" to="/logout" />;
            case "ONBOARDING":
              return <Redirect key="onboarding" to={getOnboardingStepLink()} />;
            default:
              return <Dashboard {...routerProps} />;
          }
        }}
      />


Should we take string "mount" and "network" into account for LinuxNamespaceType::Mount and LinuxNamespaceType::Network ?

As the title described, some secanios might not using "mnt" or "net" for LinuxNamespaceType::Mount and LinuxNamespaceType::Network, but using "mount" and "network". In such case, we can not use LinuxNamespaceType::try_from(namespace) to get enum LinuxNamespaceType from "mount" or "network", as in such cases, errors occur.
For these cases, I propose that add
- "mnt" => Ok(LinuxNamespaceType::Mount),
+ "mount" | "mnt" => Ok(LinuxNamespaceType::Mount),
...
- "net" => Ok(LinuxNamespaceType::Network),
+ "network" | "net" => Ok(LinuxNamespaceType::Network),

Thx @saschagrunert @utam0k Looking forward to your information.

Is the OCI spec in the same way flexible? I'm wondering which use case you have.

Is the OCI spec in the same way flexible? I'm wondering which use case you have.

Thx @saschagrunert !
In my case, I need converse to LinuxNamespace::Mount from string namespace type "mount" but not string "mnt"  and similar the case of string type "network" to LinuxNamespace::Network.
IMO, no matter "mount" or "mnt", "network" or "net" to LinuxNamespace::Mount or LinuxNamespaceNetwork, it will not break or affect the existing Enum LinuxNamespace, as they are conversed by LinuxNamespace::try_from(ns_str)?

Is the OCI spec in the same way flexible?

In spec-go, the LinuxNamespace::Mount is defined with string "mount" and LinuxNamespace::Network  with string "network". With this aspect, we'd better align it with definitions in spec-go ?


azcopy has vulnerability GHSA-m425-mq94-257g due to a library it uses #6703

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
AzCopy 10.21.1
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
Scan high image vuln with trivy, in an image that contains the latest version of azcopy downloaded (curl -L https://aka.ms/downloadazcopy-v10-linux ) and installed
What problem was encountered?
AzCopy is built with go and the google.golang.org/grpc  library has a vulnerability:  https://github.com/advisories/GHSA-m425-mq94-257g
How can we reproduce the problem in the simplest way?
Scan high image vuln with trivy.
./trivy image --severity HIGH --exit-code=1  name_image
Report :
usr/local/bin/azcopy (gobinary)
Library  :   google.golang.org/grpc
Vulnerability  :   GHSA-m425-mq94-257g
Severity :  HIGH
Installed Version :  v1.53.0
Fixed Version : 1.56.3, 1.57.1, 1.58.3
Title  : gRPC-Go HTTP/2 Rapid Reset vulnerability ,  https://github.com/advisories/GHSA-m425-mq94-257g
Have you found a mitigation/solution?
build AzCopy with library  google.golang.org/grpc  fixed version : 1.56.3, 1.57.1, 1.58.3

Hi @fouomene I have a PR out upgrading this dependency, https://github.com/Azure/azure-storage-azcopy/pull/2432
This will be fixed in our next release.

Closing this issue for now since it will be fixed in our next release.

@gapra-msft, would you be able to propagate this fix to your @azure-tools/azcopy-* packages? It's currently not available for us on @azure-tools/azcopy-node.


Defaulting users to Firefox's dark theme

When using ShadowFox, users need to select the built in dark theme provided by Firefox.
One way to avoid this would be to add the following lines to a user.js file that resides in the profile directory:
user_pref("lightweightThemes.selectedThemeID", "firefox-compact-dark@mozilla.org");
user_pref("devtools.theme", "dark");

The first line is for the browser theme, the second is for the developer tools.
In terms of implementation, we would probably need to first check if the file exists.  If so, check whether the lines are already present and either write/don't write them to it.  If not, create the file with the corresponding lines.
Do you think trying to add this into the updater would be worthwhile or not a good idea/worth the effort?
user.js is often used to harden security/privacy preferences for Firefox (e.x: ghacks user-js), so I'm not sure whether or not users would have any concern with a script writing to this file either..

It could definitely be done, and doesn't seem very complicated to implement. I guess we could add it as another option on the GUI just like generating the UUIDs.
As soon as i get some spare time ill look into it.

Sounds great, thanks!

Sorry it took that long, but v1.6.0 hopefully has this implemented

No worries at all, thanks for them implementation!
Just tested it out and it seems to work great.
Website should be updated for v1.6.0 as well.


Problem with Android and chunked http transfer encoding

I think that Jsoup on Android (from Jelly Bean to Lollipop) can't handle correctly an http chunked response.
The same code that I'm using on Android, works fine on Java 7 desktop.
I already tried so many different things on the Android code that I can be almost sure that the server is not dealing in different ways when receiving request from the desktop code and the Android one.
I get no errors on Android though, but I can access only the very first part of the html response given me from the server.
On desktop as I have already said, I can access the whole page.
Here's the server response (to my POST request), that leads to chunked http transfer encoding:
HTTP/1.1 200 OK
Set-Cookie: various cookies
Server: Apache-Coyote/1.1
Allow: GET, HEAD, POST
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Transfer-Encoding: chunked
Date: Mon, 23 Feb 2015 22:56:51 GMT
Last but not least, I get the same truncated response when using the last Apache HttpClient on Android, so maybe this problem is a deep one.

Hi,
I haven't been able to reproduce this. I hadn't heard of other issues reported on this, or come across it myself, so I wrote a specific test (in my Android jsoup benchmark tool). I verified against www.amazon.com (http & https) which I confirmed was using chunked transfer encoding, with gzip. I verified I get the full content body.
I verified on a Nexus 6 (L) and Moto G (K).
Do you have a full code snippet that I can check and try to ID what's going wrong?


Intermittent BadMapError creating new records

I have been running Mimic 1.7.4 because upgrading led to a lot of BadMapErrors originating from this line fetching the tenant of a new record. I have been printing the value of record.__metadata__ in the record variable and found that occasionally it is nil, so that Map.get(record, :__metadata__, %{}) gives nil, and I get a BadMapError.
Trying to debug something else related to Mimic (protocol undefined for nil of type Atom) I just tried upgrading to v1.10.0 but the BadMapErrors prevent using it. Each run of my test suite gives maybe a dozen such errors but which tests fail is random - seems like a race condition.
The call to Ash.Changeset.new normally works, __metadata__ is %{} and the stack trace dumped just before getting the tenant is:
 [
   {Process, :info, 2, [file: ~c"lib/process.ex", line: 864]},
   {Ash.Changeset, :new, 1,
    [file: ~c"lib/ash/changeset/changeset.ex", line: 395]},
   {Ash.Changeset, :for_create, 4,
    [file: ~c"lib/ash/changeset/changeset.ex", line: 1241]},
   {MyApp.MyModule, :create!, 2,
    [file: ~c"deps/ash/lib/ash/code_interface.ex", line: 682]},
   ...
 ]

Then when it fails, __metadata__ is nil and the stack trace looks like:
 [
   {Process, :info, 2, [file: ~c"lib/process.ex", line: 864]},
   {Ash.Changeset, :new, 1,
    [file: ~c"lib/ash/changeset/changeset.ex", line: 395]},
   {Ash.Changeset, :for_create, 4,
    [file: ~c"lib/ash/changeset/changeset.ex", line: 1241]},
   {MyApp.MyModule.Mimic.Original.Module, :create!, 2,
    [file: ~c"deps/ash/lib/ash/code_interface.ex", line: 682]},
   ...
 ]

Perhaps it is a problem with Ash itself, but Mimic 1.7.4 doesn't exhibit this behaviour.

I made a PR #80 that seems to fix this - though I don't know why it was intermittent.

Thanks @spacebat will check it out!

Mimic 1.10.1 has this bugfix! Thanks for hunting this down!


Simplify pitest configuration in README

Thanks to https://github.com/szpak/gradle-pitest-plugin/pull/55

Coverage remained the same at 95.077% when pulling 9d13cb4234b51f3743adb5892988fb112064c70d on szpak:patch-1 into 667fc82f276d15e5dc60bb8cc51754f6ea675ab5 on kt3k:master.

This is great. Thanks!


Training cellpose on  brightfield images (R, G, and B channels)

Hi,
For training a cellpose model on brightfield images (Hematoxylin-DAB, H&E staining) based on Cellpose Training Template script what are modification required?
Thanks,

Dean

Dear @danidean,
This will depend on what you want to do. If you want to do a training on the RGB image itself, you need to use the all_channels flag, but there is currently a bug with it on the cellpose side

Hi @danidean ,
Have you managed to train cellpose as you wanted? I can give you our current workaround, otherwise I will close this ticket as it is unrelated to the extension itself, but rather to cellpose proper.

Hi, I also have the same issue and couldn't find a way to run CellPose in the Brighfield image. I always received an error message with the not found channel: ERROR: No channel found with name DAB.
I did the debug and confirmed that DAB is among the channels together with Hematoxylin, Optical density sum

If you do not set any channels in the builder, it will send the whole RGB image to cellpose


Fix mockgen issue on name conflict

What changed?
Fix mockgen issue on name conflict

Why?
https://github.com/uber-go/cadence-client/issues/1023

How did you test it?
Manual test

Potential risks
No

Pull Request Test Coverage Report for Build 48eaa7fe-0208-4a81-89f6-783ad7c3552e

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 74.683%

Totals

Change from base Build eb38dc50-9093-4cc3-887e-8ecb617b4b72:
0.04%

Covered Lines:
9366

Relevant Lines:
12541

💛  - Coveralls


[V4] Feat: Import raw js (no module)

I'm trying to reuse code from an old html/js project.
Most of the js expects a global context in which to define things.  For instance:
// someTool.js
function doThing() { alert("Thing Done"); }

The tool above has no exports, and I can not make it have exports without breaking the site.  The best quick solution is to be able to import the raw js as part of the bundle.
import from "raw::/public_html/js/someTool.js"

Anything imported this way could be prepended to the bundle in order of import.

As an alternative, for the time being, I'm just going to modify my webIndex template to include a bunch of script paths in the <HEAD>.  It would be so much nicer to be able to include these files in the bundle though.

I've got a better idea.

Oh, it does do regexp.  Just need to update docs now.

@SephReed should we keep it open? Has it been solved?

I'm going to leave this open for a bit while I think about it.  I think the solution I have right now is a little bit hacky.

Closed due to inactivity.


Chevrotain Visual Studio extension

Greetings,
Just wanted to share this project: chevrotain-vscode which I am currently developing in order to ease my own programming experience  with Chevrotain inside Visual Studio Code.
I would like to ask if the current licensing is okay? This is my first open-source project which relates to third party software.
Anyone is free to help improve it via pull request if they so wish it.
Best regards,
Ricardo

This is nice, what other kinds of features have you thought of adding?

I don't think there are any licensing constraints here.

So far what comes to my mind is  code snippets and pre-configurations for running and debugging typescript/javascript.

@bd82 Yes, I believe this is possible. Visual Studio Code allows us to define problem matchers which use a regular expression to match the output of a run task and extract the file, line and column of the error and present the error to the user as a diagnostic (like semantic errors are displayed as you type).
I will add an issue regarding this to my repository.

The problem is that those Error messages produced by Chevrotain do not include a line/column number as they run on the pure data structure.
The feature of custom apis exposes utilities to validate and even create those internal data structures.
Perhaps those utilities could be used to "simulate" the Chevrotain "compilation" on augmented data structures that also contain line/column information.
Although that would not be as simple as just integrating with some VSCode APIs
another example is to run some regExps on the source text to detect the (probable) location of the
error.
I use the second option (regExp) in the Chevrotain playground which is like an IDE.
But it seems this may have stopped working at some point as I can't reproduce it right now 😄

Closing this for now, I think the discussion has ended 😄


mapping rule questions

Hello, i have questions around upload_mapping_rule, set_mapping_rule

upload_mapping_rule - so this process works for the first time, say i named test, OAUTH and test.js mapping rule js file . If i try to upload another mapping rule with test2,OAUTH and same test.js mapping rule js file it doesnt work.
set_mapping_rule - do you have any template available to make this role work? i tried but not able to update any of the existing mapping rule. if you have any templates which can show how to update existing mapping rules it would be great.

upload() function idempotency simply checks to see if existing rule has been uploaded, whereas set() will upload if missing and if already uploaded will compare values to see if a replace is required. Here is a sample call to set_mapping_rule:
    - role: set_mapping_rule
      tags: ["mapping", "rule", "set"]
      set_mapping_rule_category       : "OAuth"
      set_mapping_rule_name           : "SamplePostTokenGeneration"
      set_mapping_rule_filename       : "{{sample_post_rule}}"
      set_mapping_rule_upload_filename: "{{rules_dir}}/{{sample_post_rule}}"

Thanks, i will try to use set_mapping_rule

so i tried above example

name: setting mapping rule
hosts: all
connection: local
roles:

role: start_config
role: set_mapping_rule
tags: ["mapping", "rule", "set"]
set_mapping_rule_category       : "OAuth"
set_mapping_rule_name           : "ram_test"
set_mapping_rule_filename       : "{{filename}}"
set_mapping_rule_upload_filename: "{{filelocation}}"

usr/local/bin/ansible-playbook -i @inventories/0-DFLT @general/set_mapping_rule_1.yml l ***.com -e "filename=test_v3.js filelocation=/opt/scm/udeploy/agent/var/work/wd.atm.1.webseal-devops-tar/wd.atm.1.webseal-devops-tar/scripts/isam9_ansible/MYCIGNA/0-DFLT/INFORMATION_MAPS/test_v3.js force=true" -vvv --vault-password-file=~/.vault_pass.secret | sed 's/\n/\n/g'
The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_GcETN4/ansible_module_isam.py", line 143, in
main()
File "/tmp/ansible_GcETN4/ansible_module_isam.py", line 110, in main
ret_obj = eval(func_call)
File "", line 1, in
File "/usr/local/lib/python2.7/site-packages/ibmsecurity/isam/aac/mapping_rules.py", line 86, in set
return update(isamAppliance, name=name, content=content, check_mode=check_mode, force=force)
File "/usr/local/lib/python2.7/site-packages/ibmsecurity/isam/aac/mapping_rules.py", line 150, in update
"/iam/access/v8/mapping-rules/{0}".format(id),
UnboundLocalError: local variable 'id' referenced before assignment
fatal: [***.com]: FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Traceback (most recent call last):
File "/tmp/ansible_GcETN4/ansible_module_isam.py", line 143, in
main()
File "/tmp/ansible_GcETN4/ansible_module_isam.py", line 110, in main
ret_obj = eval(func_call)
File "", line 1, in
File "/usr/local/lib/python2.7/site-packages/ibmsecurity/isam/aac/mapping_rules.py", line 86, in set
return update(isamAppliance, name=name, content=content, check_mode=check_mode, force=force)
File "/usr/local/lib/python2.7/site-packages/ibmsecurity/isam/aac/mapping_rules.py", line 150, in update
"/iam/access/v8/mapping-rules/{0}".format(id),
UnboundLocalError: local variable 'id' referenced before assignment
",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 0
}
to retry, use: --limit<EMAIL_ADDRESS>PLAY RECAP **********************************************************************************************************************************************************************************************************************************
***com : ok=1    changed=0    unreachable=0    failed=1

Looks like the role is using the function update(isamAppliance, name=name, content=content, check_mode=check_mode, force=force).  It should be using the set() function. Not sure why that is the case for you?

we have latest role refresh and code refresh as well, no clue what can be done here, is this role working for you guys?

so this role working as expected for you guys at your lab?


How to get entity with its id at client side

I want Product Id ,
As click on Generate Key button of selected Serial Number
now I  am stuck over there . Plz tell me how to get product id which is selected

check this https://volkanceylan.gitbooks.io/serenity-guide/content/howto/how_to_add_a_row_selection_column.html

@fzhenmei  thanks for reply but my problem is somewhat different.
SerialNumbers grid is as follows

After selecting a perticular row when i click on Generate Key button , then dialog opens as follows.

In above image
Im getting Serial Number on the form but not getting other values.
Product Value text box is  empty as follows

My code on button click is as follows.
 buttons.Add(new ToolButton
            {
                Title = "Generate Key",
                CssClass = "add-button",
                OnClick = delegate
                {

                    var dlg = new GenerateKeyDialog();

                    InitEntityDialog(dlg);

                    long id = 0;
                    long i = 0;
                    List<string> rs = rowSelection.GetSelectedKeys();

                    foreach (string str in rs)
                    {
                        id = (long)str.ToInt64();
                        i = i + 1;
                    }
                    if (id == 0 )
                    {
                        Q.Alert("Please select serial number !");
                    }

                    else
                    {

                        if (i > 1)
                        {
                            Q.Alert("Please select only one serial number !");
                        }
                        else
                        {

                            dlg.LoadEntityAndOpenDialog(new GenerateKeyRow
                            {
                                IdSerialNumber = SerialNumbersRow.Lookup.Items.First(x => x.IdSerialNumber == id).Serial ,
                                ProductId = SerialNumbersRow.Lookup.Items.First(x => x.IdSerialNumber == id ).IdProduct ,
                                ProductProductValue = SerialNumbersRow.Lookup.Items.First(x => x.IdSerialNumber == id).IdProductProductValue
                            });
                        }

                    }

                }
            });

The table structure of SerialNumbers table and Products table is as follows

How to get Product Id and Product Value on New Generate Key dialog.

Why are you not using LoadById, but LoadEntity then?

I dont want entire entity of Serial Number to be open in dialog , rather i want some fields value of Serial Number of selected row to be shown on Generate Key dialog which is different from Serial Number

Then access current row in grid with this.ItemAt(row) fill in values in your entity

hello,
is there any example of this question


Suggested addition to BLEServer for requestMtu callback

I've been trying to get mtu increase working and found this helpful. Line numbers are approximate since my version is a couple of weeks old
BLEServer.cpp
(line 294)
case ESP_GATTS_MTU_EVT: {
if (m_pServerCallbacks != nullptr) {
m_pServerCallbacks->onMtuRequest(this);
}
break;
(line 419)
void BLEServerCallbacks::onMtuRequest(BLEServer* pServer) {
ESP_LOGD("BLEServerCallbacks", ">> onMtuRequest(): Default");
ESP_LOGD("BLEServerCallbacks", "Device: %s", BLEDevice::toString().c_str());
ESP_LOGD("BLEServerCallbacks", "<< onMtuRequest()");
} // onMtuRequest
BLEServer.h
(line 118)
virtual void onMtuRequest(BLEServer* pServer);

Sure, why not. But may i ask what it can be user for?

So far I'm using it for troubleshooting since I'm having some issues getting the requestMTU to work. I'm assuming that there will be negotiation on mtu size depending on connected device. Reading large value length seems to be working without having to do additional work. Writing not so much - so I need to understand the mtu in order to size packets on server (esp) characteristic updates.
My understanding is that increasing mtu effects both send/receive length but haven't been able to make that work to date

Well, there may be bug in library code, so if you could share logs with use we could try to figure it out together.

@rweller59 I have a question, are you trying to connect with windows PC, disconnect and then connect with some other device like android?

Just updated espidf and cpp_utils a couple of hours ago and have been working with code that's a couple of weeks old if anything has changed around mtu. Outbound (from esp server) values were getting truncated previously. I will remove the 20 byte packet logic and see what's going on now. Even so, from what I understand, different devices have different max mtu values so seems like both client and server will need to know what mtu they are working.

Looks like esp is no longer truncating on outbound values - at least no indications. Not receiving the longer values on client side though so I'll have to try and figure out where things are breaking down.

Ok, looks like things are working with bigger mtu - inbound and outbound.
I'll close this but could you comment... if different client devices have different max mtu values, and I want to send/receive values with a length greater than the clients's max mtu, how would this work? Is there a way to get the mtu so that values can be chunked to not exceed mtu?

During connection peer divices are exchanging information about max MTU value they can work with. When this info is exchanged then both devices will set lower value as MTU used to communicate with each other. If characteristic needs to be read or write and value of that message is longer than MTU value -2 if i remember, then message is split into a parts and send in few part. This is called segmentation. Then all parts are connected after receiving (defragmentated). Only issue can be with notifications/indications, they cant be segmentated and are truncated to MTU-3 value.

@rweller59 There was bug related to MTU but i think its solved with the latest patch, i have to change one more thing and its waiting to make PR


Metadata not shown on large files

Describe the bug
I noticed a large file wasn't showing any exif data on my phone, but when I looked at the same image on another device that hadn't updated Aves in a while, it showed just fine. I tested with different versions and found that whatever change broke it was made in 1.11.2. Any previous version works as expected.
To Reproduce
Steps to reproduce the behavior:

Tag a large file (~100MB) with exiftool or an older version of Aves
Open file in Aves 1.11.2+
Swipe down to the file info
Tags are missing along with other exif data

Expected behavior
The tags and exif data should be shown like in previous versions of Aves.
Screenshots
Aves 1.11.1Aves 1.11.2

System information and logs:
Package: deckers.thibault.aves.libre
Installer: com.mixplorer
Aves version: 1.11.2-libre, build 12102
Flutter: stable 3.22.2
Android version: 10, API 29
Android build: QP1A.190711.020.G981U1UES1BTJ1
Device: samsung SM-G981U1
Support: dynamic colors=false, geocoder=true, HDR=true
Mobile services: not available
Connectivity: wifi
System locales: en_US
Storage volumes: /storage/emulated/0/
Storage grants:
Error reporting: false
aves-logs-20240923_010932.txt
Additional context
This zip file has a 104MB test image with "TestSubject" as a tag. Aves 1.11.1 correctly shows the tag and 1.11.2 does not, as seen in the screenshots.
test.zip

For reference, the related commit: https://github.com/deckerst/aves/commit/681f834e04fdeac2e1a178ef497b3deaa35efd6f
Apparently I knew the downsides as I wrote the commit comment: "provide stream size, fixes 1037 but regression with other files".


Add principles documenation to Storybook

Moving/tweaking/pruning our principles documentation for addition to Storybook.
There's the trade-off between writing in JS and having information stored in config automatically up-to-date vs. writing in markdown and having everyone on the team empowered to update the documentation.
I came down in favour of the latter – thoughts?

I think these are a little dated, what about splitting it into something we can use as a validate if we're doing it right. Suggestions?
Accessible

Performant
Clear
WCAG
SEO (support different channels, RSS?)
Promotes and facilitates diversity

Measurable

Value / Impact
Health
Reactive (RUM)
List of measures we have under these titles

Serendipitous
Something about cross promoting content to audiences that might not know we do certain things

Could we just create a root folder called docs to be more aligned to other projects?
So we would have /docs/principles.md?

I wonder if having the verbose description of each philosophy is too restricting, as it talk a lot about implementation... Maybe we can get rid of those?

@wellcometrust/experience-dev how're we feeling about this?
Shall we all spend a bit of time refining the docs?
The main thing is to have a set of guidelines that we can use when we need to make decisions, and also be able to iterate and add to those as we go on... Do we feel like this is helping with that?

This PR allows for any .md file added to the docs directory to be displayed in the 'Documentation' section in Storybook.
The principles.md document itself might need a rewrite – we could either

clear it out and leave it with a TODO: (and/or the headings @jamesgorrie suggested above)
remove it completely and add it at a later date when we're more certain about what we want to say

Thoughts?


⚠ Digital Ocean - https://status.digitalocean.com/ has degraded performance

In df43e00, Digital Ocean - https://status.digitalocean.com/ (https://status.digitalocean.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 279 ms

Resolved: Digital Ocean - https://status.digitalocean.com/ performance has improved in 2e6253d after 3 days.


Overrides Feature

Asciinema demo of feature: https://asciinema.org/a/w7hy8hMWwEdjAc1CPcayy8Lqo
This branch represents both the local interactive peril --override CLI command, as well as the runtime CI/CD logic needed to validate and process the GPG-signed override files generated by the CLI admins.
Trusted admins will need to export their public GPG keys and provision these into CI, as documented in the README.

Thanks for the review, @aiwilliams! I'll make the proposed changes under separate PR.


Create raumberg-gumpenstein.txt

Please add our school to your list!

@semarw Pull request merged. Thank you!


[Feat]: featured projects slider section

What feature?
I'm a GSSOC'23 contributor and have an idea of adding a featured projects section before the footer section on the home page . I created a design you can see it here (https://www.canva.com/design/DAFk85l5j0c/UPE6SJ1WHrPuZIWRrJsBTA/edit?utm_content=DAFk85l5j0c&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton).
Please assign this issue to me.
Add screenshots
https://github.com/priyankarpal/ProjectsHut/assets/125040386/e4f1aa89-063e-4314-a58e-176a6080b24d
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

hey, we don't want to add the feature right now.
It is best practice to mention that you have taken the idea from the previous issue.https://github.com/priyankarpal/ProjectsHut/issues/443 (you just edited the image)


MXnet with cuda wont install on windows 10!

Is gpu really supported in windows ?
tried using 1.6.0,1.5.0 with python 3.6,3.7,3.8 with cuda installed (verified using nvcc --version) and no matter what it wont impor t!
Cant find dlls, or OSError: [WinError 126] The specified module could not be found or new everytime!!

My MXNet with win10 is OK(although quite slow compared to Linux)
have you ever tried calling nvidia-smi?

My MXNet with win10 is OK(although quite slow compared to Linux)
have you ever tried calling nvidia-smi?

Yes, i call it every day -l 1

My MXNet with win10 is OK(although quite slow compared to Linux)
have you ever tried calling nvidia-smi?

Yes, i call it every day -l 1

If nvidia-smi is callable, the CUDA should be installed properly.
(you could check the "CUDA Version") slot to ensure it.
neutron@Neutron:/me$ nvidia-smi
Tue Jun 16 16:29:00 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82       Driver Version: 440.82       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1060    On   | 00000000:01:00.0 Off |                  N/A |
| N/A   80C    P2    78W /  N/A |   2270MiB /  6078MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1003      G   /usr/lib/Xorg                                 38MiB |
|    0     96256      C   python                                      2227MiB |
+-----------------------------------------------------------------------------+

If the CUDA is installed properly, I don't know what would cause MXNet failed to load.
maybe pdb could help telling you what happened.
import pdb
pdb.set_trace()
import mxnet

save the following script into a test.py then execute python test.py, the python would enter pdb mode, then, using either s(step), n(next) or r(execute until return) to control the pdb procedure.
It may help you to find which dll is missing. and you may manually edit the .py script of MXNet to ensure a successful load.

@mxnet-label-bot add [windows]

[WinError 126]Because you lost some DLL dependencies.use https://github.com/lucasg/Dependencies/releases check depend with  mxnet_xx.dll


Added an option to ignore falsy headers

fixes #181

@mcarans
Please take a look.
WDYT is ignore_falsy_headers argument is clear enough?

I think ignore_blank_headers would be clearer

Tested and works ok (but recommend different arg name as in previous comment)

@mcarans
Thanks - great idea. Also in following to renaming I've narrowed blank header to be None or empty string.

Tesed, works. Thx alot!


CTRL button stops working after some time

VS Code Version: 1.55.2 (user setup)
OS Version: Windows 10 19042.928

Steps to Reproduce:

Use VSCode
CTRL button stops working.  e.g. Cannot copy + paste

Does this issue occur when all extensions are disabled?: I don't know.  I have WaveVS enabled and that's it.

Let's first try to find out what command executes on your machine, with your settings and your keybindings when pressing <ctrl+f>. Could you please try the following:

Run the command Developer: Toggle Keyboard Shortcuts Troubleshooting
This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.
Press exactly the keybinding you desire (<ctrl+f>)
check what VS Code detects and what command is invoked.

If you are having trouble understanding the output, please feel free to paste here and I can try to help.


Need to elborate on support for EventHubs

EventHubs support was added recently and this doc does not cover details

Send calls are tracked
Receive calls are not tracked
Explain batching scenarios
Connecting producer to consumer is not possible yet if the report to different ikeys, but should be available early next year

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c396b396-6738-2f14-f288-3f6eadee57c3
Version Independent ID: e534e854-ee08-302c-9b58-d1dfd432af66
Content: Azure Application Insights - Azure Functions Supported Features
Content Source: articles/azure-monitor/app/azure-functions-supported-features.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @TimothyMothra
Microsoft Alias: tilee

@lmolkova Thank you for the feedback!  We are investigating this and will get back to you shortly.

@lmolkova Thanks for calling this out. I will make an  internal work item for this and sync with @TimothyMothra.
@please-close


[self-tests] failures against Python 3.10.0

2 tests of pathlib2 fail with Python3.10.0:
============================= test session starts ==============================
platform linux -- Python 3.10.0, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 -- /usr/src/RPM/BUILD/python3-module-pathlib2-2.3.6/.tox/py3/bin/python
cachedir: .tox/py3/.pytest_cache
rootdir: /usr/src/RPM/BUILD/python3-module-pathlib2-2.3.6, configfile: pytest.ini, testpaths: tests
collecting ... collected 0 items / 2 errors

==================================== ERRORS ====================================
___________________ ERROR collecting tests/test_pathlib2.py ____________________
tests/test_pathlib2.py:57: in <module>
    TESTFN = support.TESTFN
E   AttributeError: module 'test.support' has no attribute 'TESTFN'
____________________ ERROR collecting tests/test_unicode.py ____________________
tests/test_unicode.py:11: in <module>
    from test_pathlib2 import support_skip_unless_symlink
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/usr/lib/python3/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
    exec(co, module.__dict__)
tests/test_pathlib2.py:57: in <module>
    TESTFN = support.TESTFN
E   AttributeError: module 'test.support' has no attribute 'TESTFN'
=========================== short test summary info ============================
ERROR tests/test_pathlib2.py - AttributeError: module 'test.support' has no a...
ERROR tests/test_unicode.py - AttributeError: module 'test.support' has no at...
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 0.27s ===============================

with https://bugs.python.org/issue40275 support.TESTFN is no longer alias for os_helper.TESTFN.
https://docs.python.org/3/library/test.html#module-test.support.os_helper

Could you check if this is fixed by https://github.com/jazzband/pathlib2/pull/75/? I suspect it will.

@mcmtroffaes, thanks.
I ran tests on top of the aforementioned PR against Python3.10.0, all passed.

Awesome, thanks for testing. I hope it can be merged soon.

Should be fixed now in develop.


More docs on prerelease compat

We had some questions about semver compat of prereleases when discussing https://github.com/unicode-org/icu4x/issues/4445, figured I'd document our findings.

@bors r+
Note that https://github.com/rust-lang/rfcs/pull/3493 will be changing the semantics

:pushpin: Commit 200e9f6e7f5907e6718fddd59488d051669ae4d8 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 200e9f6e7f5907e6718fddd59488d051669ae4d8 with merge 55f6aeb020b6aa0aecf4e3ce6c274072e9b0c6f4...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 55f6aeb020b6aa0aecf4e3ce6c274072e9b0c6f4 to master...


Duplicate of mastadon and others

Title says it all smh

Closing as its not a duplicate of "mastadon", it is a duplicate of "mastodon" it is it's own unique project with its own advantages.  Learn to spell smh.


Has the jar been published since v0.10?

Hi,
I was wondering if the jar has been published since v0.10?
I was previously bringing in kafka-security-manager_2.12 as a dependency to my project with:
    <dependency>
      <groupId>com.github.simplesteph.ksm</groupId>
      <artifactId>kafka-security-manager_2.12</artifactId>
      <version>0.9-SNAPSHOT</version>
    </dependency>

and

  <repositories>
    <repository>
      <id>beyondthelines</id>
      <url>https://dl.bintray.com/beyondthelines/maven/</url>
    </repository>
    <repository>
      <id>sonatypes-repo</id>
      <url>https://oss.sonatype.org/content/groups/public/</url>
    </repository>
  </repositories>

This (0.9-SNAPSHOT) has stopped working due to the grpc dependency issue, but I am unable to find version 0.11.0-SNAPSHOT or 0.10, even after changing the groupId to com.github.conduktor.ksm.
Are you able to publish these new versions if this has not been done?
Apologies if this is just me doing something wrong.
Thanks,
Mark

Should be fixed now, sorry for the delay :)
https://repo1.maven.org/maven2/io/conduktor/kafka-security-manager_2.12/0.11/
Try
<dependency>
      <groupId>io.conduktor</groupId>
      <artifactId>kafka-security-manager_2.12</artifactId>
      <version>0.11</version>
    </dependency>