Code Monkey home page Code Monkey logo

Comments (7)

kiskoza avatar kiskoza commented on August 16, 2024

hi, thanks for reporting this issue. Could you give us the gem versions as well (caxlsx, caxlsx_rails and rubyzip)? Are you using the rubyzip in any other places? You don't need to add it to the gemfile anymore as it's a dependency of caxlsx recently

from caxlsx_rails.

simicvm avatar simicvm commented on August 16, 2024

hi, thanks for reporting this issue. Could you give us the gem versions as well (caxlsx, caxlsx_rails and rubyzip)? Are you using the rubyzip in any other places? You don't need to add it to the gemfile anymore as it's a dependency of caxlsx recently

Gem versions:
caxlsx = 3.4.1
caxlsx_rails = 0.6.3
rubyzip = 2.3.2

I temporarily solved this issue by removing selenium and selenium-webdriver gems. However, I need those gems for testing, so I will need to put them back in.

from caxlsx_rails.

straydogstudio avatar straydogstudio commented on August 16, 2024

What versions of selenium and selenium-webdriver are you using? They must be changing the effective rubyzip.

You might post the output of "gem dependency -R zip" here

from caxlsx_rails.

simicvm avatar simicvm commented on August 16, 2024

We are using:

selenium (0.2.11)
selenium-webdriver (4.3.0)

This is the output of the command:

Gem rubyzip-2.3.2
  coveralls (~> 0.7, development)
  minitest (~> 5.4, development)
  pry (~> 0.10, development)
  rake (~> 12.3, >= 12.3.3, development)
  rubocop (~> 0.79, development)
  Used by
    caxlsx-3.4.1 (rubyzip (>= 1.3.0, < 3))

from caxlsx_rails.

kiskoza avatar kiskoza commented on August 16, 2024

I'm going to try to reproduce this. Btw, I found an old issue with the same errors and gems: randym/axlsx#312

from caxlsx_rails.

kiskoza avatar kiskoza commented on August 16, 2024

It looks like selenium 0.2.11 depends on jar_wrapper 0.1.8 (>0) which dependes on zip 2.0.2 (>0), but it's not the same as rubyzip.

Unfortunately the github repo / homepage seems to be missing for zip and its last version came out in 2010, so though the problem is definitely a conflict in between these gems, it's hard to track down and fix the issue.

I'm not sure how your project looks like and how you're using the selenium gem, but I would check if you still need it - as far as I know, selenium-webdriver could do the browser automation alone without the other gem.

from caxlsx_rails.

straydogstudio avatar straydogstudio commented on August 16, 2024

The selenium gem was last released in 2013. I expect there is an alternate way to make sure the server is running.

Selenium-webdriver is current.

from caxlsx_rails.

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.