Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pg3 crashing after latest update

Featured Replies

Posted

Here are the packages that were updated:

The following 4 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	node: 17.0.1_1 -> 18.2.0 [udi]
	npm: 8.10.0 -> 8.12.1 [udi]
	py38-pip: 22.1.1 -> 22.1.2 [udi]
	py38-setuptools: 57.0.0 -> 62.1.0 [udi]

Here are the Pg3 logs after the update (this pattern continues every few seconds):

6/5/2022, 15:00:29 [pg3] info: Starting PG3 version 3.0.62
6/5/2022, 15:00:29 [pg3] info: Using Workdir /var/polyglot/pg3/
6/5/2022, 15:00:29 [pg3] debug: Created PID file: /var/polyglot/pg3/pg3.pid
6/5/2022, 15:00:32 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: udi_interface in /var/polyglot/.local/lib/python3.8/site-packages (3.0.46)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (from udi_interface) (0.11.0)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: python-dotenv in /var/polyglot/.local/lib/python3.8/site-packages (from udi_interface) (0.20.0)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: pyisy!=2.1.5,<3.0.0,>2.0 in /var/polyglot/.local/lib/python3.8/site-packages (from udi_interface) (2.1.4)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: markdown2 in /var/polyglot/.local/lib/python3.8/site-packages (from udi_interface) (2.4.3)
Requirement already satisfied: paho-mqtt in /var/polyglot/.local/lib/python3.8/site-packages (from udi_interface) (1.6.1)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: requests in /usr/local/lib/python3.8/site-packages (from pyisy!=2.1.5,<3.0.0,>2.0->udi_interface) (2.27.1)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: python-dateutil in /usr/local/lib/python3.8/site-packages (from pyisy!=2.1.5,<3.0.0,>2.0->udi_interface) (2.8.2)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.8/site-packages (from python-dateutil->pyisy!=2.1.5,<3.0.0,>2.0->udi_interface) (1.16.0)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests->pyisy!=2.1.5,<3.0.0,>2.0->udi_interface) (1.26.9)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests->pyisy!=2.1.5,<3.0.0,>2.0->udi_interface) (2022.5.18.1)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: charset_normalizer~=2.0.0 in /usr/local/lib/python3.8/site-packages (from requests->pyisy!=2.1.5,<3.0.0,>2.0->udi_interface) (2.0.12)

6/5/2022, 15:00:33 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests->pyisy!=2.1.5,<3.0.0,>2.0->udi_interface) (3.3)

6/5/2022, 15:00:35 [pg3] debug: NSChild: PythonInterface /usr/local/bin/pip3 install udi_interface --user: exited with cause code: 0

 

Solved by bpwwer

Go to solution

Yup it does.  It appears that PG3 (or rather one of it's dependencies) doesn't work with the new version of Node.js.

You'll have try rolling back the version of node to 17.x or wait until I can get PG3 updated to work with node 18.

  • Author
57 minutes ago, bpwwer said:

You'll have try rolling back the version of node to 17.x or wait until I can get PG3 updated to work with node 18.

I'll give you some time before I panic and make a mess of things...  ?

  • Author

Thank-you @bpwwer, I’m back in business!  On a Sunday evening, no less!

  • Solution

I was just about to post here that I pushed out a new version, updated to work with node 18.  But I see you noticed.  Thanks for letting me know that it's working.

So, it now works with .18, and .17, or only .18?

* Orest

1 hour ago, oskrypuch said:

So, it now works with .18, and .17, or only .18?

* Orest

PG3 3.0.62 works with Node 17.x

PG3 3.0.63 works with Node 18.x

If you update the packages on the Polisy, it should update both PG3 and Node so they are in sync.   If you force it to update only one, PG3 will not work.

There is no difference between versions 3.0.62 and 3.0.63 other than updating the dependent Node libraries to work with Node 18.x

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.