Comments (5)
Original comment by Travis Travelstead (Bitbucket: travis_travelstead, GitHub: Unknown):
Hello,
Let me see if I can help.
the "/ect/" folder is used during boot, but I also have the config file in "/root/" for when I am testing the files after the system is already booted. So if you are waiting for the system to boot and then you are executing the files yourself, I would suggest to put then in "/root/" or whatever user you currently are logged in as.
Hope that helps
from python-can.
Original comment by grend Julien (Bitbucket: Julien24, GitHub: Unknown):
Hi,
I am working on can interface with python-can and I've the same problem that Travis :
raise ImportError("CAN interface not found")
I put my can.conf file in /ect
I work with python2.7 and i'm root.
When I test my interface with candump or CanSend function. can0 interface works
Why python-can fonction doesn't detect my can interface ?
thanks
from python-can.
Original comment by Brian Thorne (Bitbucket: hardbyte, GitHub: hardbyte):
No worries. Please submit further issues as they come up. Contributions are welcome if you think the documentation could be clearer too!
from python-can.
Original comment by Travis Travelstead (Bitbucket: travis_travelstead, GitHub: Unknown):
Brian, you have been amazing with the support of your product.
This solves my immediate problem. I do thing the option to use the config would be nice over being required.
Thanks again!
from python-can.
Original comment by Brian Thorne (Bitbucket: hardbyte, GitHub: hardbyte):
If you are planning to use as both a non privileged user and as root I would put the config in your global configuration directory /etc/can.conf
.
It is also possible to use environment variables as well, see can/util.py
from python-can.
Related Issues (20)
- Mac OS: Deleting two separate PCAN buses simultaneously causes hard python script exit (assertion failed)
- Not able to send CANFD message in "pcan" interface HOT 2
- BLFWriter append messages to an existing log file does not take effect HOT 2
- Could not import vxlapi: function 'xlCanReceive' not found
- SYSTEC: sending remote frame does not respect dlc value
- Issues with UdpMulticastBus and MacOS
- Could not import vxlapi: Could not find module 'vxlapi64' (or one of its dependencies). HOT 2
- Tx CANFD data sending Causes BUS-OFF State HOT 2
- CAN "Transmit Buffer Full" Error HOT 1
- Export signals from .trc files HOT 1
- Tx messages can not be received with AsyncBufferedReader()
- Listener.stop() method breaks API since declared abstract HOT 2
- How to stop the log recording using can.logger and blfWriter? HOT 2
- Single millisecond send resolution with python-can, Vector HOT 2
- ASCWriter not writing CAN Frames in Vector compatible format (and therefore ASCReader fails to read file back) HOT 3
- Align with the new CAN frame structure for socketcan adding optional DLC element
- CAN FD for Vector Hardware Interface HOT 1
- Is there any reason why the version installed by conda or pip is very old? HOT 1
- Crash in ASCReader HOT 1
- SizedRotatingLogger Filename Format Bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-can.