purpledot / polar-rcx5-datalink

Command-line program to export Polar RCX5 training sessions or upload them to Strava
The Unlicense
16 stars 2 forks source link

"Insufficient permissions" error on Mac #10

Closed JWJoubert closed 4 years ago

JWJoubert commented 4 years ago

Hi, does anyone maybe have advice. I am trying to run rcx5 export using python 3.8.2:

While I get a similar error trace as #8, my trace ends with

 ...
  File "/Users/jwjoubert/.pyenv/versions/3.8.2/lib/python3.8/site-packages/usb/backend/libusb1.py", line 811, in claim_interface
    _check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
  File "/Users/jwjoubert/.pyenv/versions/3.8.2/lib/python3.8/site-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

Any advice, please? I'm attaching the whole error log too. error.log

I did try sudo rcx5 export, but to no avail.

JWJoubert commented 4 years ago

Let me close this issue as I will not be able to solve it. It seems that my DataLink USB device is faulty as I cannot connect it, even with the (newest) WebSync software.

JakubkoM88 commented 4 years ago

Hi, before you throw away your Datalink USB try to find some old version of WebSync. I had also problem with latest version. Rcx5 is no longer supported by polar so maybe websync is now blocking connection... With older version of websync you can still download data to computer.

JWJoubert commented 4 years ago

Much appreciated @JakubkoM88 - I will definitely try it and report back.

JWJoubert commented 4 years ago

Much appreciated @JakubkoM88 - I will definitely try it and report back.

@JakubkoM88 that was great advice, thanks. Working on an older Macbook (High Sierra) and WebSync 2.9.0 allows me to a) connect to the RCX5, and b) download the training files as hrm type files.

So, I started the process all over again, making sure to install python 3.7.3 and libusb 1.0.21... but, still no joy. Still getting the dreaded error.

usb.core.USBError: [Errno 13] Access denied (insufficient permissions)
JakubkoM88 commented 4 years ago

I got rcx5 this year from friend and also tryed to run this solution. I am not sure but maybe with the same result. Something with permissions. But i only want to upload activities to strava and this can be done with gpx and hrm data from websync(converted to tcx file).

JWJoubert commented 4 years ago

Indeed, thanks @JakubkoM88. I also, eventually, manually converted the hrm files using an online tool en then importing it into Strava. If you have another tool you can recommend, that would be appreciated, but I am now closing this issue and moving on.