"Reading is not permitted" error #1

Open
opened 2023-10-19 12:15:19 +02:00 by mattiacolombomc · 1 comment

Can you help me understand what's going on?
Thank you for the great work!

❯ ./phomemoprinter -file /Users/mattiacolombo/Desktop/Untitled-1.png
2023/10/19 12:11:18 Attempting to print file /Users/mattiacolombo/Desktop/Untitled-1.png...
2023/10/19 12:11:18 Scanning for Bluetooth devices...
2023/10/19 12:11:22 Found device:  da833a44-9ab7-0aff-4612-bb2f73f75d0c -54 M02 Pro
2023/10/19 12:11:22 Trying to print /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/toprint.jpg
2023/10/19 12:11:23 Connected to  da833a44-9ab7-0aff-4612-bb2f73f75d0c
2023/10/19 12:11:23 Discovering all services on device...
2023/10/19 12:11:23 - service 0000ff00-0000-1000-8000-00805f9b34fb
2023/10/19 12:11:23 args [-c /usr/local/bin/python3 /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/phomemo-filter.py /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/toprint.jpg > /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/toprint.jpg.pho]
2023/10/19 12:11:24 -- writing file /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/toprint.jpg to characteristic 0000ff01-0000-1000-8000-00805f9b34fb
2023/10/19 12:11:25 -- reading from to characteristic 0000ff02-0000-1000-8000-00805f9b34fb
2023/10/19 12:11:25      Reading is not permitted.
2023/10/19 12:11:26 disconnected
Can you help me understand what's going on? Thank you for the great work! ``` ❯ ./phomemoprinter -file /Users/mattiacolombo/Desktop/Untitled-1.png 2023/10/19 12:11:18 Attempting to print file /Users/mattiacolombo/Desktop/Untitled-1.png... 2023/10/19 12:11:18 Scanning for Bluetooth devices... 2023/10/19 12:11:22 Found device: da833a44-9ab7-0aff-4612-bb2f73f75d0c -54 M02 Pro 2023/10/19 12:11:22 Trying to print /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/toprint.jpg 2023/10/19 12:11:23 Connected to da833a44-9ab7-0aff-4612-bb2f73f75d0c 2023/10/19 12:11:23 Discovering all services on device... 2023/10/19 12:11:23 - service 0000ff00-0000-1000-8000-00805f9b34fb 2023/10/19 12:11:23 args [-c /usr/local/bin/python3 /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/phomemo-filter.py /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/toprint.jpg > /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/toprint.jpg.pho] 2023/10/19 12:11:24 -- writing file /var/folders/m0/3rlcnv7j6mb1_bnn3jqhj4ym0000gn/T/phomemo/toprint.jpg to characteristic 0000ff01-0000-1000-8000-00805f9b34fb 2023/10/19 12:11:25 -- reading from to characteristic 0000ff02-0000-1000-8000-00805f9b34fb 2023/10/19 12:11:25 Reading is not permitted. 2023/10/19 12:11:26 disconnected ```
Owner

Apologies for the big delay, I forgot to take a look at open issues!
It looks like a security issue? Perhaps your user doesn't have the correct Bluetooth access?

Did you enable Bluetooth access in Privacy & Security > Bluetooth by adding the phomemoprinter binary?

Apologies for the big delay, I forgot to take a look at open issues! It looks like a security issue? Perhaps your user doesn't have the correct Bluetooth access? Did you enable Bluetooth access in Privacy & Security > Bluetooth by adding the phomemoprinter binary?
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wgroeneveld/phomemo-printer#1
No description provided.