dualsense-led-configurator icon indicating copy to clipboard operation
dualsense-led-configurator copied to clipboard

FileNotFoundError when trying to do anything

Open Decapitater opened this issue 2 years ago • 11 comments

hi , software is non functional getting errors based on /sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/usb5/5-4/5-4:1.0/bluetooth/hci0/hci0:256/0005:054C:0CE6.000C/leds/input:white:player-1/brightness or any other @cow-killer

Decapitater avatar May 07 '22 04:05 Decapitater

Are you running the script as root?

the-outcaster avatar May 07 '22 15:05 the-outcaster

yes

Decapitater avatar May 07 '22 16:05 Decapitater

Can you send me the text that you get from the terminal when trying to run the application?

the-outcaster avatar May 07 '22 16:05 the-outcaster

sure

Decapitater avatar May 07 '22 16:05 Decapitater

Its just like this for every options (this one is for LED2 toggle)

Traceback (most recent call last):
  File "~/dualsense-led-configurator/ds_led.py", line 418, in led_clicked
    self.toggle_individual_led(data[0])
  File "~/dualsense-led-configurator/ds_led.py", line 232, in toggle_individual_led
    wr = open(
FileNotFoundError: [Errno 2] No such file or directory: '/sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/usb5/5-4/5-4:1.0/bluetooth/hci0/hci0:256/0005:054C:0CE6.000C/leds/input:white:player-2/brightness'

Decapitater avatar May 07 '22 16:05 Decapitater

@linuxgamingcentral what is wrong ?

Decapitater avatar May 07 '22 16:05 Decapitater

Is that just for LED 2 or does that apply to any of the buttons you click?

the-outcaster avatar May 07 '22 17:05 the-outcaster

any

Decapitater avatar May 07 '22 17:05 Decapitater

maybe folder names are hardcoded ?

Decapitater avatar May 07 '22 17:05 Decapitater

@cow-killer ? , @linuxgamingcentral anything ?

Decapitater avatar May 08 '22 05:05 Decapitater

@Decapitater, can you please test with the latest code? I believe I had this same error once, but it no longer appears after PR #5.

ivanbratovic avatar Mar 03 '23 15:03 ivanbratovic