Skip to content

Troubleshooting

Rollbacke edited this page Jan 4, 2023 · 1 revision

[Linux] Cannot open serial port: permission error

  • Symptoms: When running the program the following error appears:
    [Errno 13] Permission denied: '/dev/ttyACM0'
  • Cause: your user does not have permanent access to TTY devices created by your system
  • Fix: adding your user to the group dialout, on Ubuntu & Debian the command is sudo usermod -a -G dialout $USER
    On ArchLinux the group is uucp, the command is sudo usermod -a -G uucp $USER

[Windows] Cannot load LibreHardwareMonitor.dll: loadFromRemoteSources

  • Symptoms: When running program on Windows, the following error appears at launch:
System.NotSupportedException: An attempt was made to load an assembly from a network location 
which would have caused the assembly to be sandboxed in previous versions of the .NET Framework.
This release of the .NET Framework does not enable CAS policy by default, so this load may be
dangerous. If this load is not intended to sandbox the assembly, please enable the
loadFromRemoteSources switch.
<configuration>  
   <runtime>  
      <loadFromRemoteSources enabled="true"/>  
   </runtime>  
</configuration>  

[Windows] Running python.exe opens the Microsoft Store

  • Symptoms: Running python.exe from a command line opens the Microsoft Store instead of actually running a Python shell.
  • Cause: Python has been installed from official website, not from Microsoft Store
  • Fix: Use py.exe instead, or disable python.exe & python3.exe App Execution Aliases : Windows 10 or Windows 11

Clone this wiki locally