Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Win error #4

Closed
veskohard opened this issue Aug 20, 2015 · 0 comments
Closed

Win error #4

veskohard opened this issue Aug 20, 2015 · 0 comments

Comments

@veskohard
Copy link

I heve problem

When i write tis all is ok:

from canard import can
from canard.hw import cantact
from canard.proto.uds import UdsInterface
dev = cantact.CantactDev("COM7")
dev.set_bitrate(125000)

dev.start()

but after adding ''p = UdsInterface(dev)" after dev.start()

i got error:
File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 66, in open
raise SerialException("could not open port %r: %r" % (self.portstr, ctyp
es.WinError()))
raise SerialException("could not open port %r: %r" % (self.portstr, ctypes.WinEr
ror()))
serial.serialutilserial.serialutil..SerialExceptionSerialException: : ccould not
open port 'COM7': WindowsError(5, 'Access is denied.')ould not open port 'COM7'
: WindowsError(5, 'Access is denied.'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants