Closed dimsa closed 7 years ago
Mh strange. Without the errors in question it's a bit hard to guess. Can you reproduce them?
Which packages did you try? Some have errors(which is a mistake made by the package-author). Can you try VirtualTreeView?
Yes, I can reproduce it on another computer.
Seatle Upd 1. 1) Installed XE6 Delphinus package 2) Created new multi-device application 3) Opened Delphinus. 4) Tried to download VirtualTreeView. Got Error: Downloading Virtual Treeview Version 6.3.0 Error: failed to download deleting tempfiles Error: Installation failed 5) Closed Delphi. 6) Opened Delphi. Opened Delphinus in tools. Pressed refresh button. Got Progress bar with list of packages, but no one is appeared in list.
Can you attach the Debugger to the Ide and check what happens?
DN.PackageProvider.GitHub.pas TDNGitHubPackageProvider.Download
You might have to step into the HTTPClient which internally uses WinHTTP and check the errorcode if the Download fails. (Yes, i am sorry that i am not logging it. I'll work on that!)
But maybe it fails when extracting or something else in the Download-Method.
EDIT: Is your IDE started as Admin? (This is ofcourse not required but mine usually is. maybe there is a problem with it?)
Token from github.com wrote in Delphinus settings?
Sorry i understand only German and English :(
Same here, after i updated to latest version, packages are not show anymore.
delphi seattle update 1.
After reinstall the problem has been solved.
@ms301 Yes, the OAuthToken is written to the Settings(Which is in the registry). The token is used across all Delphinus instances (i.e. When using multiple IDEs in paralell) for the current windows user.
I am currently a bit confused as on where this fails. Is there a difference if you use/not use the OAuthToken?
@ms301 I tested it on the current Starter (Berlin) and everything works fine. Can you dig into it using the Debugger?
@Memnarch, now Delphinus working. All good!
Hello! I've tried it again. Same problem.
I Installed Delphinus, then Installed VirtualTreeView and all was fine, but after reboot of Delphi Seattle Update 1, I've got clean list. Sorry, I didn't try to debug Delphinus. In Installed Packges I see VirtualTreeView.
Does this occur with the latest master? Please debug a bit into the PackageProvider.Github unit.
HTTP Result checking FTW. ;)
TDNGitHubPackageProvider.GetReleaseText returns false because the client gets a 403. If you fire the request in the browser you get something like this:
{ "message": "API rate limit exceeded for <ip address>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)", "documentation_url": "https://developer.github.com/v3/#rate-limiting" }
And then it just exits with False and does not add anything to the overview.
I think setting the OAuth-Token has worked for me so far
how to set oauth token?
Once Delphinus is installed, when you open the dialog, there is an options button at the top. Follow the link on this wiki page to create your own OAuth token and paste it there :) (Section: Configuration) https://github.com/Memnarch/Delphinus/wiki/Installing-Delphinus
May be it's only my trouble, but I've got the following: 1) I installed delphinus XE6 in Seatle Upd 1 2) Open it in tools(I was in the Delphinus.bpl project), tried to install something(aggpas or something another that I knew) 3) I've got some error (didn't remember it, I thought that it was because of BPL project). 4) I pressed Create new cross-platform application 5) Opened Delphinus from tools. 6) Tried to install some packages. Got error on each package "Can not download package" 7) Closed Delphi. 8) Opened Delphi. Pressed Create New cross-platform application. 9) Opened Delphinus from tools and pressed refresh button 10) I've got progress bar that has enumerated packages. 11) But nothing appeared in list with packages
Then I tried to uninistall and install Delphinus, but nothing had changed.
That's all.