Code Monkey home page Code Monkey logo

Comments (17)

immackay avatar immackay commented on July 17, 2024 1

@Aeirex, the AUR package was not updated until today as I've been on vacation. Can you try now and report whether the problem still exists?

from desktop.

shiftkey avatar shiftkey commented on July 17, 2024

@Aeirex thanks for the report!

Could you attach the full log files? The Help | Show Logs in your File Manager menu items should open the logs folder, and inside those are the log files generated by day. This will provide some more information to help troubleshoot.

from desktop.

Helladen avatar Helladen commented on July 17, 2024

I had this happen on Arch Linux as well.

I can't find any logs.

from desktop.

shiftkey avatar shiftkey commented on July 17, 2024
install.ts:23 `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
/opt/GitHubDesktop/resources/app/git/libexec/git-core/git-remote-https: /lib64/libcurl-gnutls.so.4: no version information available (required by /opt/GitHubDesktop/resources/app/git/libexec/git-core/git-remote-https)

This is likely why Git operations against your private repository are not working. I've found a workaround here for Fedora that might work for you: #21 (comment)

There also appear to be some networking errors when interacting with the GitHub API - Desktop needs libsecret on Linux to manage credentials, and it's not clear to me whether you have gnome-keyring or kwallet or neither installed - there's more details over in #7 about this.

from desktop.

Helladen avatar Helladen commented on July 17, 2024

@shiftkey I looked through my logs and see nothing useful. I also have already done this, it is already symbolic linked.

Here's all my logs.
2018-0.zip

from desktop.

shiftkey avatar shiftkey commented on July 17, 2024

@Helladen thanks for the log - looking at the most recent entry I see you've now got a valid token and can clone things down:

2018-05-03T12:28:11.272Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/KDE/kdeconnect-android.git - Aeirex (has token)

However I'm still puzzled why private repositories are returning a 404 for you - we should be using that same token here:

2018-05-03T12:28:13.737Z - warn: [ui] fetchRepository: 'HitsparkInteractive/Nin-Online-2.0' returned a 404

from desktop.

Helladen avatar Helladen commented on July 17, 2024

I got it working after signing out and back in.

from desktop.

Helladen avatar Helladen commented on July 17, 2024

Update. This bug still happens. I noticed that I can login to my GitHub account, but it only displays website. It doesn't show my private repositories. I also can't pull a repository like I can using bash. It will say I am not authenticated. I even logged out and back in fine. So the problem lies with the authentication system working with the login part.

from desktop.

Helladen avatar Helladen commented on July 17, 2024

@immackay I'm using Fedora now. I use Git in terminal to clone and then add it to GitHub Desktop. It doesn't allow me to commit or fetch. I've logged in and out of the client using my GitHub account. It just lacks permissions to do anything.

from desktop.

Helladen avatar Helladen commented on July 17, 2024

I have private repositories that do not show also.

from desktop.

shiftkey avatar shiftkey commented on July 17, 2024

@Aeirex are they private GitHub or GitHub Enterprise repositories?

from desktop.

Helladen avatar Helladen commented on July 17, 2024

https://github.com/HitsparkInteractive

It's not Enterprise, we just pay $25/m for private repositories. This happens on Ubuntu 19.04, too. It seems to be a Linux problem.

from desktop.

Helladen avatar Helladen commented on July 17, 2024

@shiftkey when I add the Repository it won't let me push it either. It says the repository doesn't exist. Although using Git in the terminal I can pull and push them fine.

from desktop.

Helladen avatar Helladen commented on July 17, 2024

Still a problem. I am using Ubuntu 18.04.2 and this happens on multiple distros. I have been using SmartGit to pull repos as well as git in the terminal. It does not correctly load the repository though.

image

from desktop.

shiftkey avatar shiftkey commented on July 17, 2024

@Aeirex apologies for the delay in replying.

I believe this is related to organizations restricting access to third party applications, which would block Desktop from being able to push/pull to the repositories belonging to an organization.

This build of the app does not behave the same as the macOS and Windows versions because of #72, and I don't have a timeline on when this will be resolved as it's something that would be part of "official support" by GitHub.

The likely reason this works fine from the command line is because that results in a different way of authentication (i.e. personal access token or basic credentials) that are not tied to an OAuth application.

I know it's been a while, but would you be able to re-test with 2.4.0 and confirm this is the behaviour:

  • able to fetch repositories owned by the user after signing in
  • unable to fetch repositories owned by an organization after signing in

from desktop.

Helladen avatar Helladen commented on July 17, 2024

It still happens @shiftkey

from desktop.

shiftkey avatar shiftkey commented on July 17, 2024

@Aeirex thanks for following up.

I'm going to close this out because #72 is the root cause of this behaviour. Please follow along with that issue.

from desktop.

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.