Platform: MS Windows OS: Windows 8.1 x64bit KDevelop version: 4.90.90 KDE Framework: 5.18.0 Qt: 5.5.1 Error: Though a valid username and password was provided, KDevelop says "Authentication failed,! Please, try again" Error: KDevelop crashes and prompts the user to forcefully close it. Please view the attached evidences for the above steps. and the error log file as well for the program crash. Reproducible: Always Steps to Reproduce: Steps to reproduce: 1. Open KDevelop, navigate to Help menu > Loaded Plugins 2. Make sure "GitHub Provider" plugin is loaded. Close the window. 3. Navigate either to Project menu > Fetch Project option or Fetch Project button on the dashboard. 4. Make sure Source drop-down is GitHub, within source section click the 'Github account Configuration' icon. Then click on Authorize button. 5. Enter a valid github username and password, click OK. Error: Though a valid username and password was provided, KDevelop says "Authentication failed,! Please, try again" 6. In the search field, enter a valid github username. Select either of the repositories, and click "Get" button. Error: KDevelop crashes and prompts the user to forcefully close it. Please view the attached evidences for the above steps. and the error log file as well for the program crash. Actual Results: 1. Authentication failed,! Please, try again 2. KDevelop.exe has stopped working. A problem caused the program to stop working correctly Windows will close the program and will notify you if a solution is available. Expected Results: Should be able to pass through the authentication and get all the necessary artifacts from github. Attached error log files and screenshot evidences.
Created attachment 97920 [details] ScreenShot evidence
Created attachment 97921 [details] KDevelop_github_AuthErrors
Attachment "KDevelop_github_AuthErrors" is of application's event log. I couldn't find any log files for KDevelop.
Can't reproduce on Linux. Will need to check. @Pratik: You could try installing DebugView to monitor the KDevelop output (https://technet.microsoft.com/en-us/sysinternals/debugview.aspx). Start DebugView, then start KDevelop, make it crash. Then please post the outputp. Thanks a lot for your detailed bug report!
Created attachment 97947 [details] DebugView_log_and_screenShotEvidence @Kevin, Thank you for DebugView. It seems that Git and GitHub plugins are not getting loaded to Help > Loaded Plugins menu (Screenshot evidence attached) after adding those from Settings > Configure KDevelop preferences. DebugView log is attached as well.
Created attachment 97949 [details] Another DebugView Detailed Here's another detailed log of debug view.
Git commit cc395b8fb25d6b3b7a6e8a3afa05eac51e91ae05 by Kevin Funk. Committed on 17/11/2016 at 23:48. Pushed by kfunk into branch '5.0'. GitHub: Improve authentication handling Make sure we create a unique token name per KDevelop session. Initial patch by David Oldford, thanks! Split up the patch; bug fix goes to 5.0, changes to user-visible strings go to master. Related: bug 372144 FIXED-IN: 5.0.3 M +3 -1 providers/ghprovider/ghdialog.cpp M +1 -1 providers/ghprovider/ghdialog.h M +16 -4 providers/ghprovider/ghresource.cpp M +5 -2 providers/ghprovider/ghresource.h http://commits.kde.org/kdevelop/cc395b8fb25d6b3b7a6e8a3afa05eac51e91ae05
@Reporter: Please try again with 5.0.3.