alf45tar / PedalinoMini

Wireless and Bluetooth MIDI Foot Controller
GNU General Public License v3.0
474 stars 83 forks source link

tag 3.2.0 requires $TMPDIR to build? #483

Closed zavorra closed 6 months ago

zavorra commented 6 months ago

Just checked out latest update on sponsor repo

if I just do "pio run" I get

PermissionError: Traceback (most recent call last):
  File "/usr/lib64/python3.12/pathlib.py", line 1311, in mkdir
    os.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/PedalinoMini/libdeps/lilygo-t-display-s3'

. . .

looking at platformio.ini I noticed that it refers to some env variable called TMPDIR. Defining that variable build succeeds.

alf45tar commented 6 months ago

It depends of your OS. It works on macOS and Windows but not in some Linux flavour. For example Ubuntu do not defines TMPDIR.

At the moment I have no plan to fix it because you can define TMPDIR yourself or delete (or modify) the following line

workspace_dir = ${sysenv.TMPDIR}/PedalinoMini

from platformio.ini