!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

520 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant136 Servers

Load older messages


SenderMessageTime
2 Aug 2021
@hexa:lossy.network@hexa:lossy.network
machine # [   19.309961] zigbee2mqtt[882]: Building Zigbee2MQTT... (initial build), failed
machine # [   19.322058] zigbee2mqtt[882]: (node:882) UnhandledPromiseRejectionWarning: Error: Command failed: npm run build
machine # [   19.323645] zigbee2mqtt[882]: /bin/sh: npm: command not found
machine # [   19.324600] zigbee2mqtt[882]:     at ChildProcess.exithandler (child_process.js:308:12)
machine # [   19.327325] zigbee2mqtt[882]:     at ChildProcess.emit (events.js:314:20)
machine # [   19.328799] zigbee2mqtt[882]:     at maybeClose (internal/child_process.js:1022:16)
machine # [   19.330959] zigbee2mqtt[882]:     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
machine # [   19.333815] zigbee2mqtt[882]: (node:882) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
machine # [   19.340992] zigbee2mqtt[882]: (node:882) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
machine # [   19.372681] systemd[1]: zigbee2mqtt.service: Succeeded.
(3.29 seconds)
00:42:51
@hexa:lossy.network@hexa:lossy.network
All of these home automation tools are just shitting into their own workspace all the time.. I'm tracking zigbee2mqtt myself an packaging it with npmlock2nix and recently that piece of excellent software started running npm run build on startup... If computers haven't killed us all in 10y we surely have lost control of how to actually run software offline by then.
00:45:33
@schnecfk:ruhr-uni-bochum.deCRTifiedYeah that looks like a horrible trend...00:46:23
@hexa:lossy.network@hexa:lossy.network *

All of these home automation tools are just shitting into their own workspace all the time.. I'm tracking zigbee2mqtt myself an packaging it with npmlock2nix and recently that piece of excellent software started running npm run build on startup... If computers haven't killed us all in 10y we surely have lost control of how to actually run software offline by then.

https://matrix.to/#/!QhvgabMQzwEQeWehhZ:lossy.network/$bu3ZzKHt4_oXlTZiga_CFvhyUjHyY8W27LFmmPGhCR4?via=lossy.network&via=matrix.org&via=nixos.dev

00:47:01
@hexa:lossy.network@hexa:lossy.network *

All of these home automation tools are just shitting into their own workspace all the time.. I'm tracking zigbee2mqtt myself an packaging it with npmlock2nix and recently that piece of excellent software started running npm run build on startup... If computers haven't killed us all in 10y we surely have lost control of how to actually run software offline by then.

https://matrix.to/#/!QhvgabMQzwEQeWehhZ:lossy.network/$bu3ZzKHt4_oXlTZiga_CFvhyUjHyY8W27LFmmPGhCR4?via=lossy.network&via=matrix.org&via=nixos.dev

00:47:09
@noah:matrix.chatsubo.cafeChurchWell that's horrific00:58:27
@noah:matrix.chatsubo.cafeChurchGuess we have to patch the package.json?00:58:45
@hexa:lossy.network@hexa:lossy.networkI'm open to ideas01:03:14
@hexa:lossy.network@hexa:lossy.networkdo you have a specific patch in mind?01:04:17
@noah:matrix.chatsubo.cafeChurchHmm, lemme see03:04:50
@noah:matrix.chatsubo.cafeChurch hexa https://github.com/Koenkk/zigbee2mqtt/blob/master/index.js Could comment out/remove line 69 03:07:15
@noah:matrix.chatsubo.cafeChurchThat calls checkDist which calls the run build. 03:07:34
@zhaofeng:zhaofeng.liZhaofeng LiCan we send a patch upstream to add an option? It was just added 10 days ago and they don't look very frenck-y to me04:25:50
@noah:matrix.chatsubo.cafeChurchDefinitely an option I think.05:59:25
@noah:matrix.chatsubo.cafeChurchWe can see how open they are.05:59:34
@andi:kack.it@andi:kack.ithttps://github.com/Koenkk/zigbee2mqtt/issues/814508:45:28
@andi:kack.it@andi:kack.it That fix they provided is sufficient to fix it in my package. I could remove the hack I added last week when this first appeared. You should always have a dist/hash file in your output that contains unknown now. That is sufficient for the application to not do any of the weird stuff during startup. 08:52:29
@hexa:lossy.network@hexa:lossy.networkthanks09:18:01
@hexa:lossy.network@hexa:lossy.networkodd, that is already in 1.21.009:20:15
@andi:kack.it@andi:kack.itDid you update the packaging to also do the typescript compilation? This might have been the first release where you have seen that. Not sure what versions are in nixpkgs.09:48:49
@hexa:lossy.network@hexa:lossy.networknope09:55:11
@hexa:lossy.network@hexa:lossy.networknot if node2nix didn't handle it :)09:55:27
@andi:kack.it@andi:kack.it Looks like you've to call npm run build somewhere in that expression. node2nix apparently only does npm install? 09:57:54
4 Aug 2021
@hexa:lossy.network@hexa:lossy.network
============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /build/source, configfile: pyproject.toml
plugins: aiohttp-0.3.0, mock-3.6.1, rerunfailures-10.1, xdist-2.3.0, forked-1.3.0, requests-mock-1.9.3, anyio-3.3.0, hypothesis-6.14.0
gw0 [13939] / gw1 [13939] / gw2 [13939] / gw3 [13939] / gw4 [13939] / gw5 [13939] / gw6 [13939] / gw7 [13939] / gw8 [13939] / gw9 [13939] / gw10 [13939] / gw11 [13939] / gw12 [13939] / gw13 [13939] / gw14 [13939
] / gw15 [13939] / gw16 [13939] / gw17 [13939] / gw18 [13939] / gw19 [13939] / gw20 [13939] / gw21 [13939] / gw22 [13939] / gw23 [13939] / gw24 [13939] / gw25 [13939] / gw26 [13939] / gw27 [13939] / gw28 [13939]
 / gw29 [13939] / gw30 [13939] / gw31 [13939]
........................................................................ [  0%]
........................................................................ [  1%]
......................................................................... [  1%]
........................................................................ [  2%]
........................................................................ [  2%]
........................................................................ [  3%]
........................................................................ [  3%]
........................................................................ [  4%]
....................F................................................... [  4%]

._.

20:41:51
@hexa:lossy.network@hexa:lossy.network *
============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /build/source, configfile: pyproject.toml
plugins: aiohttp-0.3.0, mock-3.6.1, rerunfailures-10.1, xdist-2.3.0, forked-1.3.0, requests-mock-1.9.3, anyio-3.3.0, hypothesis-6.14.0
gw0 [13939] / gw1 [13939] / gw2 [13939] / gw3 [13939] / gw4 [13939] / gw5 [13939] / gw6 [13939] / gw7 [13939] / gw8 [13939] / gw9 [13939] / gw10 [13939] / gw11 [13939] / gw12 [13939] / gw13 [13939] / gw14 [13939
] / gw15 [13939] / gw16 [13939] / gw17 [13939] / gw18 [13939] / gw19 [13939] / gw20 [13939] / gw21 [13939] / gw22 [13939] / gw23 [13939] / gw24 [13939] / gw25 [13939] / gw26 [13939] / gw27 [13939] / gw28 [13939]
 / gw29 [13939] / gw30 [13939] / gw31 [13939]
........................................................................ [  0%]
........................................................................ [  1%]
......................................................................... [  1%]
........................................................................ [  2%]
........................................................................ [  2%]
........................................................................ [  3%]
........................................................................ [  3%]
........................................................................ [  4%]
....................F................................................... [  4%]

._. (home-assistant, I'll be seeing that traceback in 15-20 minutes)

20:46:06
5 Aug 2021
@ajz229:matrix.orgajz changed their display name from ajz229 to Mate Hajzso.11:44:20
6 Aug 2021
@hexa:lossy.network@hexa:lossy.networkworking on v2021.8.3, they keep their releases coming fast … and there were some test errors I had to still look into20:59:30
@hexa:lossy.network@hexa:lossy.networkwith 30 minutes iteration cycles this is getting somewhat annoying, but running the tests does uncover issues, so they're worth it20:59:57
7 Aug 2021
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/13294600:47:39
10 Aug 2021
@lgcl:lgcl.delgcl joined the room.14:23:45

Show newer messages


Back to Room ListRoom Version: 6