Giter VIP home page Giter VIP logo

Comments (8)

jerry57 avatar jerry57 commented on August 15, 2024

Are you able to do a pip install -r requirements.txt where the txt file contains just robotframework? The above error looks like the robotframework install failed, which in turn caused the db library to fail.

from robotframework-database-library.

edbrannin avatar edbrannin commented on August 15, 2024

Everything works if I pip install robotframework first. Here's why:

The above error is thrown when pip is reading setup.py in each package to check for dependencies.

  1. Robotframework's setup.py is read without incident
  2. robotframework-databaselibrary tries to from DatabaseLibrary import __version__
  3. DatabaseLibrary/__init__.py imports from connection_manager
  4. connection_manager line 16 imports from Robot: from robot.api import logger
  5. Robotframework isn't installed yet, so this fails.

from robotframework-database-library.

edbrannin avatar edbrannin commented on August 15, 2024

Related: see this Stack Overflow answer.

from robotframework-database-library.

jerry57 avatar jerry57 commented on August 15, 2024

Can you please submit a pull request with the changes needed? This does sound like it will resolve the issue nicely.

from robotframework-database-library.

edbrannin avatar edbrannin commented on August 15, 2024

I'm finishing that up now -- shouldn't this maybe also declare a dependency on robotframework?

from robotframework-database-library.

edbrannin avatar edbrannin commented on August 15, 2024

Oh, I see you had already tried to depend on robotframework, but it's not working.

from robotframework-database-library.

edbrannin avatar edbrannin commented on August 15, 2024

(I've also made a branch for the dependency fix, but it depends on PR #44's changes so I'm going to let that get sorted first.)

from robotframework-database-library.

jerry57 avatar jerry57 commented on August 15, 2024

Closing, this issue should now be resolved and will get PyPi updated soon.

from robotframework-database-library.

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.