-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest OneGet install seems to break PowerShellGet on Windows 7/PowerShell 4.0 #112
Comments
How very strange. I'll look into it right now. |
Does Find-Package work? |
and can you run : $debugPreference = "Continue"
find-module -verbose And show me the output? |
1845# Find-Module -Verbose |
Ah perfect, I see what happened. Role got turned into Roles -- I didn't realize that PowerShellGet used that. I'll have the developer take a look at that today. G |
Sweet! Thanks. :D |
try the latest: http://oneget.org/install-oneget-1.15.68.37192.exe (close powershell before installing if you want to skip the reboot) This one should work now; I fixed the bug, and sync'd with the latest PowerShellGet code (hopefully that's not introducing problems ;P ). G |
Thank you! The new version is now installed. |
Hmm. It's possible that I wasn't supposed to grab that version yet. Gimme a day to find out what's going on... |
No problem. Thanks again. At least I can filter by name now and get something sensible. |
Ah crap. I think I found another bug.. If a dependency hasn't got a version, it's abending the whole request. FFS. |
The latest build : http://oneget.org/install-oneget-1.15.69.22059.exe should fix that last problem G |
Thanks Garrett. Find-Module now appears to work as expected. However attempting to install a module with this version and the newest version, 1.15.69.28170, I see the following errors but The modules do appear to install correctly. 2030# Install-Module pester
The property 'SourceNotFound' cannot be found on this object. Verify that the property exists.
At C:\Program Files (x86)\WindowsPowerShell\Modules\powershellget\PSGet.psm1:121 char:16
+ $SourceNotFound = $LocalizedData.SourceNotFound
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
+ FullyQualifiedErrorId : PropertyNotFoundStrict
The property 'RepositoryIsNotTrusted' cannot be found on this object. Verify that the property exists.
At C:\Program Files (x86)\WindowsPowerShell\Modules\powershellget\PSGet.psm1:123 char:17
+ $RepositoryIsNotTrusted = $LocalizedData.RepositoryIsNotTrusted
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
+ FullyQualifiedErrorId : PropertyNotFoundStrict
The property 'SourceNotFound' cannot be found on this object. Verify that the property exists.
At C:\Program Files (x86)\WindowsPowerShell\Modules\powershellget\PSGet.psm1:121 char:16
+ $SourceNotFound = $LocalizedData.SourceNotFound
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
+ FullyQualifiedErrorId : PropertyNotFoundStrict
The property 'RepositoryIsNotTrusted' cannot be found on this object. Verify that the property exists.
At C:\Program Files (x86)\WindowsPowerShell\Modules\powershellget\PSGet.psm1:123 char:17
+ $RepositoryIsNotTrusted = $LocalizedData.RepositoryIsNotTrusted
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
+ FullyQualifiedErrorId : PropertyNotFoundStrict
The package(s) come from a package source that is not marked as trusted.
Are you sure you want to install software from 'https://www.powershellgallery.com/api/v2/'?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): |
grr. I must have missed something when merging from the internal repo. Gimme a few minutes, I'll see what I can do. G |
Try the latest build : http://oneget.org/install-oneget-1.15.72.26175.exe Note: recent changes have broken get-package for PowerShellGet -- I don't think that should break anything else tho; |
You're way too quick! ;-) I see you posted another later release on Twitter. I'm guessing I should test that one? What's the difference between x.26175 and x.28306? |
I'm incrementally fixing bugs... the last one changes the way that -IncludeDependencies works -- a few days ago I made a change where when a provider returns a package they can now return dependency references with the package (which can even be cross-provider dependencies!), and then a new API that for finding arbitrary dependencies based on those references. For an example, run: # show the dependency references for zlib
(find-package -provider nuget -source http://nuget.org/api/v2 zlib ).Dependencies
#show a package with it's dependencies:
find-package -provider nuget -source http://nuget.org/api/v2 zlib -includedependencies | fl
# look at the .Status to see which are dependencies
|
@fearthecowboy The latest experimental build, 1.15.79.25169, PowerShellGet appears to be broken again. Both
|
Ah, ok. We had a set of internal changes that went thru the end of last week; I think I have to sync my copy of PowerShellGet again. |
Try now! #OneGet EXPERIMENTAL build available: http://oneget.org/install-oneget-1.15.82.35272.exe |
Hi, this still seems to be a problem under Windows 8.1. I don't want to install any experimental builds, especially old ones, so, how can I download and install oneget? I've done what it says, less changing to the wip branch, and it seems to do get to the tests, but it fails on 'Invoke-Pester':
I'm not sure what I'm to do now. When I go back into the ISE, and click on the Accept button here: I get an Maxx |
Invoke-Pester is from the Pester module, you'll need to install that if you want to run the tests. Beyond that, I don't know why you'd be getting an error with the NuGet provider. My suggestion would be to install the down-level (pre)release bits which seem to be the latest until the WMF 5 Release is fixed. You can follow the links from the PowerShellGallery front page. |
Hi Ma-XX-oN. The .exe that you are using install a very old version of OneGet. If you want the latest build, you can get it from the master branch. We updated it about 2 weeks ago. |
I tried
Find-Module
and get:PS> Find-Module
WARNING: The property 'Role' cannot be found on this object. Verify that the property exists.
The version installed is 1.15.65.21517. I have not tested on Windows 8.1/Server 2012 R2.
The text was updated successfully, but these errors were encountered: