question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error updating tranformer with multiple nodes.

See original GitHub issue

I’m setting multiples nodes (Class: Text - Konva) by their reference to a parent transformer using:

parentTransformerRef.current.nodes(elements);

The first time it adds correctly the nodes and their individual transformers, I can drag the parent transformer and all the nodes inside including their individual transfomer:

Screen Shot 2021-11-08 at 18 08 13

But the second time, if I add or remove nodes using again “parentTransformerRef.current.nodes(elements)” to update the nodes list, I can drag all the nodes inside, but the old node’s tranformers doens’t move:

Screen Shot 2021-11-08 at 18 11 28

I tried updating every node transformer after, but then the parent transformer shows a weird behavior it can be drag but returns to the initial position.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lavrtoncommented, Nov 15, 2021

Fixed with konva@8.2.4

1reaction
lavrtoncommented, Nov 9, 2021

Make online demo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

launch error for multi-node training · Issue #218 - GitHub
My working environment is as follows: torch: 1.10.0 transformers: 4.16.0.dev0 accelerate: 0.6.0.dev0 GPU on computer one: NVIDIA TITAN RTX ...
Read more >
node.js Failed to construct transformer: Error: error:0308010C ...
A potential issue that's causing this problem could be related to your node version. If you're using nvm to manage your node versions...
Read more >
Trainer - Hugging Face
The API supports distributed training on multiple GPUs/TPUs, mixed precision ... The Trainer class is optimized for Transformers models and can have ...
Read more >
gatsby-transformer-sharp
Incompatible library version: sharp.node requires version X or later, but Z provides version Y. This means that there are multiple incompatible versions of...
Read more >
BIP4000-4999: Runtime components - Built-in nodes - IBM
No updates have been made to the configuration of the execution group. ... Severity: 20 : Error; Explanation: Two label nodes within a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found