microsoft / VoTT

Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos.
MIT License
4.28k stars 834 forks source link

"An error occured while rendering the application" dozens of times in one session #921

Open apetkov opened 4 years ago

apetkov commented 4 years ago

image

I labeled a few thousand images the last 3 hours and received this error message at least 40 times. The message was prompted when i switched to the next image (via Arrow Down key). After clicking "OK", I was able to proceed with my work (VoTT did not close), but the locked label wasn't locked anymore.

898 sounds similar, even though I didn't label videos.

Does VoTT write any logs, dumps, etc. that I can provide?

Desktop

kurmanadhvalla commented 4 years ago

Even I am facing the same issue.Any ideas to resolve this issue would be great.

HaxThePlanet commented 4 years ago

Same issue. Constantly, especially with 4k images.

wakefieldcooper commented 4 years ago

I am encountering the same issue, I can't seem to find a pattern as to what causes it. Seems to be random

jeongjinhwi commented 4 years ago

I have same issue. I think this error might be occurred load new frame.

wbreza commented 4 years ago

Can you try turning on the developer tools from the View > Toggle Developer Tools option. From here you should see more information about the error in the console.

ecounce commented 4 years ago

I see this constantly for both pictures and videos under heavy CPU load. The root cause seems to be somewhere in Electron. An ugly workaround is to disable the titlebar menu in titleBar.tsx and rebuild.

+++ b/src/react/components/shell/titleBar.tsx
@@ -71,7 +71,7 @@ export class TitleBar extends React.Component<ITitleBarProps, ITitleBarState> {
                         {typeof (this.props.icon) !== "string" && this.props.icon}
                     </div>
                 }
-                {this.state.platform === PlatformType.Windows &&
+                {this.state.platform === PlatformType.Windows && false &&
                     <div className="title-bar-menu">
                         <Menu ref={this.menu}
                             mode="horizontal"

Building with Node 12 and up also requires a node-sass dependency update: 4.14.1 works.

mcdjork commented 3 years ago

is there a fix planned for this?

Antoine-Cate commented 3 years ago

The same issue occurs when trying to open "Project Settings". It makes using the app very impractical. Uninstalling v2.2.0 and installing 2.1.0 solved the problem.