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.

UI freezes clicking in Purchase screen

See original GitHub issue

Problem/Motivation

On the Purchase tab, after I make the selection and click on the OK button, the UI hangs.

Expected behavior

Should have added the product to inventory.

Actual behavior

Screen hangs

I tried to even investigate the logs but cannot see any error messages.

Got the below error from Chrome Dev Console: image

Log (Error msg in 3rd and 5th Line)

[01/Jun/2020:21:43:12 +0530] 204 192.168.1.13, 172.30.32.1(172.30.32.2) PUT /api/user/settings/auto_night_mode_enabled HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36)
[01/Jun/2020:21:44:13 +0530] 200 192.168.1.13, 172.30.32.1(172.30.32.2) GET /api/system/db-changed-time HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36)
2020/06/01 21:44:13 [error] 1293#1293: *262 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: nextInputSelector in /data/grocy/viewcache/23b0f6eb24ccc18da3d06dcd04960ed02aab5979.php on line 10PHP message: PHP Notice:  Undefined variable: hintId in /data/grocy/viewcache/23b0f6eb24ccc18da3d06dcd04960ed02aab5979.php on line 11" while reading response header from upstream, client: 172.30.32.2, server: a0d7b954-grocy, request: "GET /purchase HTTP/1.1", upstream: "fastcgi://127.0.0.1:9002", host: "192.168.1.200:8123", referrer: "http://192.168.1.200:8123/api/hassio_ingress/Crhgx51-Y3A31URZ5d9pBkzQIQig-OIk_wMU8lLeZAY/purchase"
[01/Jun/2020:21:44:13 +0530] 200 192.168.1.13, 172.30.32.1(172.30.32.2) GET /purchase HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36)
2020/06/01 21:44:13 [error] 1293#1293: *262 open() "/var/www/grocy/public/node_modules/bootstrap-switch-button/css/bootstrap-switch-button.css" failed (2: No such file or directory), client: 172.30.32.2, server: a0d7b954-grocy, request: "GET /node_modules/bootstrap-switch-button/css/bootstrap-switch-button.css?v=2.7.1 HTTP/1.1", host: "192.168.1.200:8123", referrer: "http://192.168.1.200:8123/api/hassio_ingress/Crhgx51-Y3A31URZ5d9pBkzQIQig-OIk_wMU8lLeZAY/purchase"
[01/Jun/2020:21:44:13 +0530] 404 192.168.1.13, 172.30.32.1(172.30.32.2) GET /node_modules/bootstrap-switch-button/css/bootstrap-switch-button.css?v=2.7.1 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:31 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
dibyadip-dascommented, Jun 12, 2020

@fusion44 I resolved it by reinstalling the newer version of groccy but at the cost of losing all my stock data. At least I managed to take a backup of my products and categories using the rest API and scripts written Python. I guess this is mostly an upgrade issue.

0reactions
berrndcommented, Jan 1, 2021

@ami232 please open new issues for new problems, this is maybe about the same end result, but totally unrelated to what’s mentioned above.

And no, I cannot reproduce this (please also always try the demo instances first to ensure that’s nothing about a configuration problem on your side) but optimized the if statement in https://github.com/grocy/grocy/commit/fe665ac7668906de943d7b2ef4a342e46b40bfcd.

Read more comments on GitHub >

github_iconTop Results From Across the Web

windows applications UI freeze after no activity
1- click on Application window such as Google chrome or VSCode to change the tab or change pointer position or any action that...
Read more >
NWBC UI is freezing - SAP Community
From Change request, Click on company code \ purchasing org details and IE opens up in another window in a second and then...
Read more >
How to Fix the Windows 10 Freezes Randomly Issue - TechLoris
Next, choose 'Recovery' from the left pane. Under 'Go back to the previous version of Windows 10', click 'Get Started.' Follow any on-screen ......
Read more >
Windows 11 Freezes or Crashes Randomly? Here's How to ...
To fix your issue, you can try to reduce the screen resolution. Step 1: Click Start > Settings to open the Windows Settings...
Read more >
How to Fix Freezing Issues on Windows 11 - MakeUseOf
Right-Click on the windows icon and open Device Manager. · Scroll down to the sub-menu labeled Display Adapters. · Here, you will see...
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