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

OPCUA logs error #729

Closed
danielpeintner opened this issue Mar 31, 2022 · 8 comments
Closed

OPCUA logs error #729

danielpeintner opened this issue Mar 31, 2022 · 8 comments
Labels
binding-opcua Issues related to opc ua protocol binding bug Something isn't working

Comments

@danielpeintner
Copy link
Member

danielpeintner commented Mar 31, 2022

when running OPC-UA tests I see logs like

Error: Cannot find enumeration with type Variant
    at getEnumeration (C:\Projects\WoT\thingweb\thingweb.node-wot-danielpeintner\node_modules\node-opcua-data-value\node_modules\node-opcua-factory\source\factories_enumerations.ts:94:15)
    at figureOutSchema (C:\Projects\WoT\thingweb\thingweb.node-wot-danielpeintner\node_modules\node-opcua-data-value\node_modules\node-opcua-factory\source\factories_structuredTypeSchema.ts:79:37)
    at buildField (C:\Projects\WoT\thingweb\thingweb.node-wot-danielpeintner\node_modules\node-opcua-data-value\node_modules\node-opcua-factory\source\factories_structuredTypeSchema.ts:97:20)
    at Array.map (<anonymous>)
    at new StructuredTypeSchema (C:\Projects\WoT\thingweb\thingweb.node-wot-danielpeintner\node_modules\node-opcua-data-value\node_modules\node-opcua-factory\source\factories_structuredTypeSchema.ts:162:38)
    at buildStructuredType (C:\Projects\WoT\thingweb\thingweb.node-wot-danielpeintner\node_modules\node-opcua-data-value\node_modules\node-opcua-factory\source\factories_structuredTypeSchema.ts:327:12)
    at Object.<anonymous> (C:\Projects\WoT\thingweb\thingweb.node-wot-danielpeintner\node_modules\node-opcua-data-value\source\datavalue.ts:215:66)

@erossignon

@danielpeintner danielpeintner added the binding-opcua Issues related to opc ua protocol binding label Mar 31, 2022
@relu91 relu91 added the bug Something isn't working label Mar 31, 2022
@danielpeintner
Copy link
Member Author

For the time being I "disabled" testing, see cb37619

This needs to be undone...

@erossignon
Copy link
Contributor

Hi Daniel, I can't reproduce on master... is that something specific to 0.8.1 that is not yet merged ?

@erossignon
Copy link
Contributor

I am on it, working on Daniel's branch

@erossignon
Copy link
Contributor

erossignon commented Apr 1, 2022

Fix with PR danielpeintner#2

How to fix ? :

 npm run ncu:opcua -ws
 npm install
 npm dedupe

@danielpeintner
Copy link
Member Author

fixed by 9746075

@danielpeintner
Copy link
Member Author

npm run ncu:opcua -ws

Updating is fine, but "why" wasn't there any issue with CI tests... shouldn't they report a problem. You changed patch AND minor version..

@relu91
Copy link
Member

relu91 commented Apr 8, 2022

Can we close this?

@erossignon
Copy link
Contributor

yes,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding-opcua Issues related to opc ua protocol binding bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants