Giter Club home page Giter Club logo

Comments (3)

tobischo avatar tobischo commented on May 24, 2024 1

Hmm, I checked installing it from a fresh Gemfile without having a version defined and it went to the latest release.

As you figured it out, I'd consider the issue resolved for now

from epics.

tobischo avatar tobischo commented on May 24, 2024

HI @sebgrebe

so that means it stopped working at commit 211677a?
Or did you just go back to where the unit tests seemed to pass on the CI?

I just tested against latest master with ruby 2.6.3 and the EBICS test server provided by subsembly that I still have access to. Everything worked for that test case.
If you can tell me a bit more about your environment, I can run the init steps which would be closer to your environment.
E.g. which nokogiri version do you have in use, which ruby version, which exact commit did you experience the issue on

Generally, based on the line you pointed to, it seems a bit odd - as bugs usually do.

The INI call is executed here:

post(url, Epics::INI.new(self).to_xml).body.ok?

where the current client is passed in to the INI object (which inherits from the GenericRequest):
self.client = client

which builds up the XML object
def to_xml

which is then referenced at the line you mentioned as the request is executed

from epics.

sebgrebe avatar sebgrebe commented on May 24, 2024

@tobischo, I found the cause of the issue:

  • When I call client.INI, it fails on this line because env["body"] is nil.
  • This is an older commit though, even behind the current release. Instead, it should look like this.
  • Checking my Gemfile.lock, I could see that when simply adding epics to my Gemfile and running bundle install, the epics version is resolved to 1.7.2, which is this commit, at which point we still get the offending line
  • If I run bundle update epics, it resolves to the latest version 1.8.1, at which point I don't get that issue anymore

So the cause of the issue was that by default it resolves to 1.7.2. Not sure whether that is a general issue or down to my Gemfile.

from epics.

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.