Giter Site home page Giter Site logo

Comments (3)

mbanders avatar mbanders commented on August 13, 2024

Every test uses self.dev to run commands on devices. So if that is failing, then all the tests should be failing.

Can you run a command like the following, obviously change "YourStationName" to the name of your station:

./bft -x connect -n YourStationName -e Uname

That will connect to your station and run one test which you can see uses self.dev to run a couple commands on the board: https://github.com/lgirdk/boardfarm/blob/master/boardfarm/tests/uname.py

Let me know how that goes.

from boardfarm.

dollysingh31 avatar dollysingh31 commented on August 13, 2024

Hi,
Thank you for the reply. I have gone through the steps you mentioned above. It was a little different with my setups. However, I debugged the issue, it previously showed me a none type as the value is not assigned to it and the variable went local, once I made it global the issue is now resolved.

Thank you for the support.

from boardfarm.

dollysingh31 avatar dollysingh31 commented on August 13, 2024

However, Now I see a new error where I am trying to use the curl command to open the URL and am storing the data obtained into a json file. I am not able to open the json file though, It is showing me a value error.
I am trying this:
data = json.load(open('file.json'))
Error:
ValueError: No JSON object could be decoded

Kindly provide me some inputs if possible to solve this issue.

from boardfarm.

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.