Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump serialport package version to ^11.0.0 #501

Merged
merged 1 commit into from
Aug 20, 2023

Conversation

AlessandroAU
Copy link
Contributor

@AlessandroAU AlessandroAU commented Jun 26, 2023

There is an upstream error with a certain binary release of the serialport package. It was caused by a maintainer updating libc and this broke cross-compilation on ARM targets and hence a faulty release binary was circulated into the wild. (It was fixed here: fix: update build tools and fix arm64 build for rpi by reconbot · Pull Request #111 · serialport/bindings-cpp).

Some additional reports are here:
node-red-node-serialport node makes the Docker container infinite boot cycle · Issue #894 · node-red/node-red-nodes

[email protected] fails in docker container on rpi · Issue #2438 · serialport/node-serialport

Node-RED (Docker) crashes when /dev/ttyACM0 is configured in flow - Raspberry Pi 4 · Issue #3461 · node-red/node-red

The issue is fixed in version 11.0.0

Bump version to fix an issue on ARM platforms
@yaacov
Copy link
Owner

yaacov commented Aug 20, 2023

Thanks !

@yaacov yaacov merged commit f62b36d into yaacov:master Aug 20, 2023
@Jalle19
Copy link

Jalle19 commented Aug 29, 2023

Can you make a new release?

@Jalle19
Copy link

Jalle19 commented Aug 29, 2023

The test suite is broken since this was merged

@Jalle19
Copy link

Jalle19 commented Aug 29, 2023

Ah, it was apparently ninja-fixed in 33b52c0

@yaacov
Copy link
Owner

yaacov commented Aug 29, 2023

Can you make a new release?

https://www.npmjs.com/package/modbus-serial/v/8.0.12 🎉

@Jalle19
Copy link

Jalle19 commented Aug 29, 2023

Sadly, after bumping from 8.0.11 to 8.0.12, Modbus RTU no longer works properly:

2023-08-29T09:54:22.765Z [modbus] debug: Retrieving device information...
2023-08-29T09:54:22.767Z [modbus] debug: Reading coil address 16, length 1
2023-08-29T09:54:22.784Z [modbus] debug: Reading coil address 72, length 1
2023-08-29T09:54:22.799Z [modbus] debug: Reading holding register address 154, length 1
2023-08-29T09:54:22.815Z [modbus] debug: Reading holding register address 171, length 1
2023-08-29T09:54:27.816Z [modbus] error: Failed to read holding register address 171, length 1
2023-08-29T09:54:27.816Z [main] error: An exception occurred: TransactionTimedOutError: Timed out

@yaacov
Copy link
Owner

yaacov commented Aug 29, 2023

Sadly, after bumping from 8.0.11 to 8.0.12, Modbus RTU no longer works properly:

2023-08-29T09:54:22.765Z [modbus] debug: Retrieving device information...
2023-08-29T09:54:22.767Z [modbus] debug: Reading coil address 16, length 1
2023-08-29T09:54:22.784Z [modbus] debug: Reading coil address 72, length 1
2023-08-29T09:54:22.799Z [modbus] debug: Reading holding register address 154, length 1
2023-08-29T09:54:22.815Z [modbus] debug: Reading holding register address 171, length 1
2023-08-29T09:54:27.816Z [modbus] error: Failed to read holding register address 171, length 1
2023-08-29T09:54:27.816Z [main] error: An exception occurred: TransactionTimedOutError: Timed out

can you find the issue ?
do I need to remove this release ?

@Jalle19
Copy link

Jalle19 commented Aug 29, 2023

I'm not sure, it must be related to the serialport version bump. I'd pull the release for now.

@yaacov
Copy link
Owner

yaacov commented Aug 29, 2023

ok 8.0.12 is detracted

@Jalle19
Copy link

Jalle19 commented Aug 29, 2023

#505 similar report

yaacov pushed a commit that referenced this pull request Aug 29, 2023
Bump version to fix an issue on ARM platforms
@yaacov
Copy link
Owner

yaacov commented Aug 29, 2023

@Jalle19
Copy link

Jalle19 commented Aug 29, 2023

Seems to work! I can't find the relevant commits here on GitHub though, what did you change?

@yaacov
Copy link
Owner

yaacov commented Aug 29, 2023

I reverted #507

@yaacov
Copy link
Owner

yaacov commented Aug 29, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants