Code Monkey home page Code Monkey logo

Comments (11)

stephencelis avatar stephencelis commented on July 30, 2024

Are you in a repo directory or not?
Are you authenticated? (Have you run ghi config?)
What if you run ghi -v list?
What about ghi --no-pager list?

from ghi.

stephencelis avatar stephencelis commented on July 30, 2024

Also: what version of ghi are you running?

from ghi.

parkr avatar parkr commented on July 30, 2024

ghi version 0.9.0.20120427

I ran it again with ghi -v list in the repo dir (where I was originally) and it did this after spitting out some JSON:

ghi... wait, wut

Notice the terminal window on the right hand side which has really done some crazy shit. Before it went insane, it spat out a GET URI and loads of JSON, then the Terminal window lost its marbles.

ghi --no-pager list did nothing after several minutes, so I gave up.

from ghi.

stephencelis avatar stephencelis commented on July 30, 2024

Can you provide the exact transcript of ghi -v list? Basically everything from ghi -v list to the end of that stack trace?

from ghi.

stephencelis avatar stephencelis commented on July 30, 2024

Also, what repo are you running it from? Is it private?

from ghi.

parkr avatar parkr commented on July 30, 2024

It's private, but I should be authenticated (it's my own private repo).

When I ran ghi -v list > ghi_list.log, it produced what was below (which seems successful?). I ran just ghi -v list, hopeful that it was working, and then the terminal window crashed.

# parkr/CUGC-DB open issues

===> GET /repos/parkr/CUGC-DB/issues?per_page=100 

<=== 200: [{"pull_request":{"patch_url":null,"diff_url":null,"html_url":null},"title":"Add User.role","state":"open","comments":0,"user":{"avatar_url":"https://secure.gravatar.com/avatar/3b05198379f4b275d304fd27e6cb09ae?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/parkr","gravatar_id":"3b05198379f4b275d304fd27e6cb09ae","login":"parkr","id":237985},"url":"https://api.github.com/repos/parkr/CUGC-DB/issues/10","body":"To allow differentiation of admin accounts.","created_at":"2012-04-23T19:12:33Z","milestone":null,"assignee":null,"updated_at":"2012-04-23T19:12:33Z","number":10,"id":4247161,"html_url":"https://github.com/parkr/CUGC-DB/issues/10","closed_at":null,"labels":[{"url":"https://api.github.com/repos/parkr/CUGC-DB/labels/enhancement","name":"enhancement","color":"84b6eb"}]},{"pull_request":{"patch_url":null,"diff_url":null,"html_url":null},"title":"Add Import","state":"open","comments":0,"user":{"avatar_url":"https://secure.gravatar.com/avatar/3b05198379f4b275d304fd27e6cb09ae?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/parkr","gravatar_id":"3b05198379f4b275d304fd27e6cb09ae","login":"parkr","id":237985},"url":"https://api.github.com/repos/parkr/CUGC-DB/issues/9","body":"Add import for `Members` and `Gifts`. \r\n\r\n`Members` import will also import its related models, such as `Email`, `PhoneNumber`, `MailingAddress`, etc.","created_at":"2012-04-23T19:07:22Z","milestone":null,"assignee":null,"updated_at":"2012-04-23T19:07:22Z","number":9,"id":4247050,"html_url":"https://github.com/parkr/CUGC-DB/issues/9","closed_at":null,"labels":[{"url":"https://api.github.com/repos/parkr/CUGC-DB/labels/enhancement","name":"enhancement","color":"84b6eb"}]},{"pull_request":{"patch_url":null,"diff_url":null,"html_url":null},"title":"Add Search","state":"open","comments":0,"user":{"avatar_url":"https://secure.gravatar.com/avatar/3b05198379f4b275d304fd27e6cb09ae?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/parkr","gravatar_id":"3b05198379f4b275d304fd27e6cb09ae","login":"parkr","id":237985},"url":"https://api.github.com/repos/parkr/CUGC-DB/issues/8","body":"Allow searching from each model. Perhaps it would be prudent to also create a search function for ALL models on the front page. Place search box on `index` page of each module.","created_at":"2012-04-23T19:05:54Z","milestone":null,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/3b05198379f4b275d304fd27e6cb09ae?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/parkr","gravatar_id":"3b05198379f4b275d304fd27e6cb09ae","login":"parkr","id":237985},"updated_at":"2012-04-23T19:05:54Z","number":8,"id":4247017,"html_url":"https://github.com/parkr/CUGC-DB/issues/8","closed_at":null,"labels":[{"url":"https://api.github.com/repos/parkr/CUGC-DB/labels/enhancement","name":"enhancement","color":"84b6eb"}]}]
  10: Add User.role [enhancement]
   9: Add Import [enhancement]
   8: Add Search [enhancement] @

from ghi.

parkr avatar parkr commented on July 30, 2024

I'm using a TerminalColours plugin (the SIMBL one). Any chance that is causing this? I saw that your screenshot has some wild colors.

from ghi.

stephencelis avatar stephencelis commented on July 30, 2024

So TerminalColours should be uninstalled, definitely, for your terminal. Lion added the ability to define ANSI colors natively and supports xterm-256color natively, as well. I'll try to playback this JSON and see if I can reproduce, but I haven't had problems otherwise, and I haven't heard any other complaints from ghi users.

Can you uninstall TerminalColours and try again?

from ghi.

nijikokun avatar nijikokun commented on July 30, 2024

If you are doing anything in Terminal, I would suggest using iTerm2, nothing else compares to the features and functionality it has.

from ghi.

stephencelis avatar stephencelis commented on July 30, 2024

Closing this for now, assuming it's a SIMBL issue.

I tend to use Terminal.app (with no trouble), but iTerm 2 is definitely a viable alternative.

from ghi.

parkr avatar parkr commented on July 30, 2024

I'm not interested in iTerm2 at the moment. I'm happy with Terminal.app.

Just deleted TerminalColours SIMBL bundle and it all works perfectly. Might be something to include in a wiki somewhere. Thanks!

from ghi.

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.