Git Product home page Git Product logo

Comments (5)

hardbyte avatar hardbyte commented on June 18, 2024

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.

hardbyte avatar hardbyte commented on June 18, 2024

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.

hardbyte avatar hardbyte commented on June 18, 2024

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.

hardbyte avatar hardbyte commented on June 18, 2024

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.

hardbyte avatar hardbyte commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.