openwrap / openwrap-shell Goto Github PK
View Code? Open in Web Editor NEWProvides the bootstrapping environment used by OpenWrap's command-line interface, o.exe
Home Page: http://openwrap.org
Provides the bootstrapping environment used by OpenWrap's command-line interface, o.exe
Home Page: http://openwrap.org
I have not been able to get the help menu to display, I have tried:
o
o -help
o /help
o --help
Whenever I issue o get-help clean-wrap I get "An unkown error has occured"
Is o logging anywhere?
I guess a non-Windows shell is a fairly rare use-case...?
~/profile/Downloads
$ ./o.exe i
The OpenWrap shell is not installed on this machine. Do you want to:
(i) install the shell and make it available on the path?
(c) use the current executable location and make it available on the path?
(n) do nothing?
OpenWrap bootstrapping failed.
System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
at System.Console.ReadKey(Boolean intercept)
at System.Console.ReadKey()
at OpenWrap.ConsoleNotifier.InstallOptions()
at OpenWrap.BootstrapRunner.InstallFreshVersion()
at OpenWrap.BootstrapRunner.Run(String[] args)
(from @petermounce)
OpenWrap Shell 2.0.0.10
Copyright c naughtyProd Limited 2009-2011
Using C:\Users\peter.mounce\AppData\Local\openwrap\wraps_cache\OpenWrap-2.0.2.97970098\bin-net35\OpenWrap.dll (2.0.0.1)
The term '-shellInstall' is not a recognized command or alias. Check the spelling or enter 'get-help' to get a list of available commands.
See https://gist.github.com/1723563 for full output
"build-wrap" from master gives error: duplicate attributes:
Still have to cleanup the AssemblyInfo files after having those generated?
[This is only on Win Server 2008 R2, Win 7 works OK]
After installation/upgrade of o.exe (1.1.x), invoking o.exe continually fails with the following output:
Downloading http://wraps.openwrap.org/index.wraplist [.................]
Downloading http://wraps.openwrap.org/openfilesystem-1.0.0.61263243.wrap [................]
Downloading http://wraps.openwrap.org/openwrap-1.0.0.53270092.wrap [................]
Downloading http://wraps.openwrap.org/sharpziplib-0.85.5.452.wrap [...................]
Downloading http://wraps.openwrap.org/tdnet-framework-2.0.0.48555719.wrap [....................]
Could not find OpenWrap assemblies in either current project or system repository.
System.EntryPointNotFoundException: Could not find OpenWrap assemblies in either current project or system repository.
at OpenWrap.BootstrapRunner.Run(String[] args)
The current process always takes the last available package with the correct name. A small dependency resolver ought to be implemented to try and respect version ranges (min/max and = only)
I guess a non-Windows shell is a fairly rare use-case...?
~/profile/Downloads
$ ./o.exe i
The OpenWrap shell is not installed on this machine. Do you want to:
(i) install the shell and make it available on the path?
(c) use the current executable location and make it available on the path?
(n) do nothing?
OpenWrap bootstrapping failed.
System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
at System.Console.ReadKey(Boolean intercept)
at System.Console.ReadKey()
at OpenWrap.ConsoleNotifier.InstallOptions()
at OpenWrap.BootstrapRunner.InstallFreshVersion()
at OpenWrap.BootstrapRunner.Run(String[] args)
Shorter vanity info
The unzip should occur as part of the load, not as part of the remote download
Two type of passwords may be needed by the shell. The first is the proxy password in case of BASIC/DIGEST kind of proxy, the second is the proxy to access the actual server (in case that server requires authetnication).
Right now -ProxyUsername and -ProxyPassword covers the first scneario, we don't cover the second one, and the shell should be made interactive so we query the user rather than error out.
I also tried a fresh install, I get the same error.
The OpenWrap shell is not installed on this machine. Do you want to:
(i) install the shell and make it available on the path?
(c) use the current executable location and make it available on the path?
(n) do nothing?
i
Installing the shell to 'C:\Users\cconstantin\AppData\Local\openwrap'.
Downloading http://wraps.openwrap.org/index.wraplist [..........]
Downloading http://wraps.openwrap.org/openfilesystem-1.0.0.61263243.wrap [......
....]
Downloading http://wraps.openwrap.org/openwrap-1.0.0.53270092.wrap [............
]
.Downloading http://wraps.openwrap.org/sharpziplib-0.85.5.452.wrap [..........]
.Downloading http://wraps.openwrap.org/tdnet-framework-2.0.0.48555719.wrap [....
......]
..........# OpenWrap Shell could not start.
Could not find OpenWrap assemblies in either current project or system repositor
y.
System.EntryPointNotFoundException: Could not find OpenWrap assemblies in either
current project or system repository.
at OpenWrap.BootstrapRunner.Run(String[] args)
Scenario:
Suggested fix:
System.Reflection.TargetInvocationException was unhandled
Message=An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
Source=System
StackTrace:
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at System.Net.DownloadStringCompletedEventArgs.get_Result()
at OpenWrap.Console.BootstrapRunner.NotifyProgressWebClient.DownloadStringCompleted(Object src, DownloadStringCompletedEventArgs e)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
InnerException: System.Net.WebException
Message=The remote name could not be resolved: 'wraps.openwrap.org'
Source=System
StackTrace:
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
InnerException:
Gonna have to use a bootstrap self-extracting executable for initial install to ship the .config files. Suckage.
After running running the OpenWrap.Console.sln solution and chosing the "i" switch, the console output finished with "Command Not Found" which was misleading.
The o.exe was installed into the correct place and the PATH environment variable was set so it did install correctly.
Obviously the PATH change was not picked up until reboot, maybe a message stating so might be an idea.
In CI case I do not want to commit all wraps folder to the version control.
It would be nice to make an o.exe to be able to download all necessary files to wraps folder again
This could be done as a step in CI build as well
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.