GithubHelp home page GithubHelp logo

minty's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

minty's Issues

`minty accounts` seems to output /1000

Running minty accounts from the command line seem to output in thousands. So if I had $1000 on a credit card, it outputs like this:

CREDIT CARD | Credit | $ 1.00 |

Thanks,
zeninfinity

"Session has expired" error message

It seems like authentication is now failing.

I've tried removing the ~/.minty file and performing a fresh login, I've tried running it from another machine, I've tried logging onto mint in my browser to initiate a new session, but no luck.

user:dashing user$ minty login
You are already logged in, [email protected].
user:dashing user$ minty accounts
/Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse': 757: unexpected token at '<error><code>1</code><description>Session has expired.</description><name></name><type></type></error>' (JSON::ParserError)
  from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse'
  from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/client.rb:41:in `block in accounts'
  from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/client.rb:91:in `login'
  from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/client.rb:39:in `accounts'
  from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/cli/accounts.rb:55:in `accounts'
  from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/cli/accounts.rb:41:in `exec'
  from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/bin/minty:11:in `<top (required)>'
  from /Users/user/.rbenv/versions/2.2.3/bin/minty:23:in `load'
  from /Users/user/.rbenv/versions/2.2.3/bin/minty:23:in `<main>'

Attempting to get this working

When running minty login --help I get:

[user@machine minty]$ minty login --help
/home/user/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/pstore.rb:315:in transaction': undefined methodlocked?' for nil:NilClass (NoMethodError)
from /home/user/prog/minty/lib/minty/credentials.rb:56:in save' from /home/user/prog/minty/lib/minty/credentials.rb:14:inrescue in load'
from /home/user/prog/minty/lib/minty/credentials.rb:11:in load' from /home/user/prog/minty/lib/minty/cli/command.rb:11:ininitialize'
from /home/user/prog/minty/bin/minty:9:in new' from /home/user/prog/minty/bin/minty:9:in<top (required)>'
from /home/user/.rvm/gems/ruby-1.9.3-p448/bin/minty:23:in load' from /home/user/.rvm/gems/ruby-1.9.3-p448/bin/minty:23:in

'
from /home/user/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in eval' from /home/user/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in'

Is there a place I'm suppose to put my login information?

Thanks.

Removed from RubyGems?

Unable to install-

ERROR: Could not find a valid gem 'minty' (>= 0) in any repository

Default user/password to nil

I wasn't sure the best place to put this so I'll throw it in an Issue... If I'm running an app that uses Minty on, say, Heroku, where I don't have a ~/.minty file, I need to use Minty::Credentials.new rather than Minty::Credentials.load so it'll default to the ENV variables. However, since the user and pass arguments to Credentials.initialize are required, I have to explicitly pass nil. It would make sense to me to have those arguments default to nil, so one can just call Minty::Credentials.new without arguments and have it source from the ENV rather than the .minty file.

It's a small enough change that I didn't wanna create a branch and do it myself, and I also didn't want to include it in the transaction-uploading branch in case you were adverse to the idea.

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.