Giter Club home page Giter Club logo

Comments (14)

capps avatar capps commented on July 19, 2024

I was getting this too on any heroku command. Uninstalling and reinstalling this version fixed it too

from legacy-cli.

ddollar avatar ddollar commented on July 19, 2024

This should be fixed in 1.18.0, let me know if it works for you.

from legacy-cli.

did avatar did commented on July 19, 2024

hi all,
I've got this issue with Heroku 1.18.3. Looks like Fixnums can not be converted into json. Weirdly, it works well in local.
thanks.

Did

from legacy-cli.

ddollar avatar ddollar commented on July 19, 2024

Could you try this again and see if it's still failing for you?

from legacy-cli.

did avatar did commented on July 19, 2024

@ddollar. One more information. If I require 'json/pure' at the very top of the app launch (in the application.rb file before Bundler), the error is not there. I precise that I'm using heroku 1.18.3.

from legacy-cli.

did avatar did commented on July 19, 2024

no errors at all with heroku 1.18.2. Correction: it didn't work in local with the 1.18.3 version.
Hope it helps

from legacy-cli.

ddollar avatar ddollar commented on July 19, 2024

I recently updated the server side, could you try again with 1.18.3?

from legacy-cli.

did avatar did commented on July 19, 2024

still the same problem with 1.18.3 in both the local (normal since the gem didn't change) and heroku envs (btw I disabled require 'json/pure'). sorry :-(

from legacy-cli.

ddollar avatar ddollar commented on July 19, 2024

Try running the command with --debug appended and open a Heroku support ticket with the output. It will help as well if you grant us access to your database to try to reproduce.

Include the output of the following in the ticket:

gem list --local
gem env

from legacy-cli.

metasoarous avatar metasoarous commented on July 19, 2024

I'm having the same issue here and need to be able to move some data around from my stage to my production app. Has there been any progress? I tried adding

require "json/pure"

in my application.rb, but that didn't work. Neither did the solution here - http://blog.ethanvizitei.com/2010_11_01_archive.html, that is putting

class Fixnum
   def to_json(options = nil)
     to_s
   end
end

in an initializer, which seemed to work for him, but not for me.

from legacy-cli.

ddollar avatar ddollar commented on July 19, 2024

Could you try installing the latest heroku and taps gems with:

gem install heroku --pre
gem install taps --pre

And let me know if you still get this error?

from legacy-cli.

metasoarous avatar metasoarous commented on July 19, 2024

No - different error now, and not getting as far either. Breaks on "Receiving schema" with the following trace - http://pastie.org/1693805. Is there any chance I should be using a different version of json or something?

from legacy-cli.

ddollar avatar ddollar commented on July 19, 2024

I just pushed up 0.3.20.pre2 for taps, could you give that a shot?

from legacy-cli.

metasoarous avatar metasoarous commented on July 19, 2024

Golden! Working just fine now. Thanks!

from legacy-cli.

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.