"Unhandled exception in script" message when installing DeviceHub for Windows in ShipAccel
Products affected: ShipAccel
Issue
When installing DeviceHub for Windows, the message "Unhandled exception in script" appears.
Resolution
If the message says "No module named 'tokenize'", then the error is due to a previous version of DeviceHub that needs to be uninstalled.
- Uninstall the previous version of DeviceHub. Before proceeding, make sure that the C:\ProgramData\PB\ folder was removed. For instructions, see:
- Install the latest version of DeviceHub. For instructions, see:
If the message says "This version of Windows is not supported", then the error is due to an unsupported version of the Windows operating system. DeviceHub for Windows is only supported with Windows 10 or higher.
If the message says "[Errno 13] Permission denied", then the error is caused by Windows security or third-party anti-virus protection that is blocking access to DeviceHub. Contact your IT department or Windows System Administrator and have them review the DeviceHub networking requirements:
The features and options you see may vary depending upon your role and subscription. If you have any questions regarding your permissions, please contact your administrator.
UPDATED: October 31, 2025