Skip to content

Bug Description #770

@CrabbyPete

Description

@CrabbyPete

First ensure you are using a camera that is currently supported by Open GoPro. Any other tickets will be rejected.

Component
What is the bug in?
Python

Describe the bug
I copied the code livestream.py but I changed for my Raspberry Pi. It works great, but I need to make run as a service. When I do that I get the following error:

Jun 05 20:24:35 golive SRV_GOLIVE[2103]: [2025-06-05 20:24:35,937] {gopro_wireless.py:427} ERROR - Error while opening: PermissionError(13, 'Permission denied')
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: Traceback (most recent call last):
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: File "/home/pi/venv/lib/python3.11/site-packages/open_gopro/gopro_wireless.py", line 391, in open
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: await self._open_ble(timeout, retries)
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: File "/home/pi/venv/lib/python3.11/site-packages/open_gopro/gopro_wireless.py", line 605, in _open_ble
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: await self._ble.open(timeout, retries)
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: File "/home/pi/venv/lib/python3.11/site-packages/open_gopro/network/ble/client.py", line 120, in open
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: await self._controller.pair(self._handle)
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: File "/home/pi/venv/lib/python3.11/site-packages/open_gopro/network/ble/adapters/bleak_wrapper.py", line 264, in pair
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: with open(temp_file, "wb") as fp:
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: ^^^^^^^^^^^^^^^^^^^^^
Jun 05 20:24:35 golive SRV_GOLIVE[2103]: PermissionError: [Errno 13] Permission denied: '/tmp/pexpect.log'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds to be reviewed and assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions