GithubHelp home page GithubHelp logo

Comments (11)

gharlan avatar gharlan commented on July 24, 2024

Please try gh > logout and then gh > login <user>.

from alfred-github-workflow.

thogg4 avatar thogg4 commented on July 24, 2024

I should have mentioned. I tried that as well as deleting the cache.

from alfred-github-workflow.

gharlan avatar gharlan commented on July 24, 2024

Hmm, ok. You can try this:

  1. Open Alfred Workflow preferences, right click on "GitHub command", "Show in Finder".
  2. Edit workflow.php line 22 to ini_set('display_errors', true);.
  3. Open Terminal in this directory and run this command: php search.php ""

Is there any error message in the output?

from alfred-github-workflow.

thogg4 avatar thogg4 commented on July 24, 2024

I don't think so. Here is what I got:

<?xml version="1.0"?>
<items><item uid="56dfe8cbd30155d0d328f3d777767991" autocomplete=" my " valid="no"><icon>icon.png</icon><title>my &#x2026;</title><subtitle>Dashboard, settings, and more</subtitle></item></items>

from alfred-github-workflow.

gharlan avatar gharlan commented on July 24, 2024

Does this file exist? ~/Library/Application Support/Alfred 2/Workflow Data/de.gh01.alfred.github/cookies
The file should contain three cookie keys: "logged_in", "_gh_sess" and "spy_user".

from alfred-github-workflow.

thogg4 avatar thogg4 commented on July 24, 2024

Yeah, it is there. Here are the contents:

# Netscape HTTP Cookie File
# http://curl.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.

#HttpOnly_.github.com   TRUE    /   FALSE   2002996218  logged_in   no
#HttpOnly_github.com    FALSE   /   TRUE    1672531200  _gh_sess    [...]

i tried again to logout and login, and it said i was logged in.

from alfred-github-workflow.

gharlan avatar gharlan commented on July 24, 2024

Don't post the session hash (I've deleted it in your message).

After logout and re-login, I can reproduce the problem now. So I will look into this deeper…

from alfred-github-workflow.

thogg4 avatar thogg4 commented on July 24, 2024

Thanks. And thanks for looking into it.

from alfred-github-workflow.

gharlan avatar gharlan commented on July 24, 2024

Please update the workflow (gh > update) and try again logout/login.

Thanks for reporting the issue and debugging!

from alfred-github-workflow.

thogg4 avatar thogg4 commented on July 24, 2024

Thanks, it works great. Will I have to turn debugging off now?

from alfred-github-workflow.

gharlan avatar gharlan commented on July 24, 2024

No, it turned off automatically by the update.

from alfred-github-workflow.

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.