Chocolatey fails to download unity (via travis) - unity3d

Since Travis now supports building on Windows (at least to a certain degree), I'm playing around with getting a Unity project built on a windows machine.
While trying various changes to the Travis config, I had two builds which were able to install Unity (but did nothing else). Once I had a config ready for trying to build with unity, Chocolatey failed to download Unity.
Did I personally (through the Travis slave) hit something like a daily download limit (and I always get the same slave IP)? Or is this a result of several people downloading unity through Travis too often?
Since I am able to manually download the file through the link provided in the logs, I would exclude a unity server issue as a reason.
Here's the failing Travis log:
$choco install unity
Chocolatey v0.10.11
Installing the following packages:
unity
By installing you accept licenses for the packages.
Progress: Downloading unity 2018.3.11... 100%
unity v2018.3.11 [Approved]
unity package files install completed. Performing other installation steps.
Downloading unity 64 bit
from 'https://download.unity3d.com/download_unity/5063218e4ab8/Windows64EditorInstaller/UnitySetup64.exe'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://download.unity3d.com/download_unity/5063218e4ab8/Windows64EditorInstaller/UnitySetup64.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (403) Forbidden."
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
The install of unity was NOT successful.
And for reference, the succeeding one (more than an hour earlier).
choco install unity
Chocolatey v0.10.11
Installing the following packages:
unity
By installing you accept licenses for the packages.
Progress: Downloading unity 2018.3.11... 100%
unity v2018.3.11 [Approved]
unity package files install completed. Performing other installation steps.
Downloading unity 64 bit
from 'https://download.unity3d.com/download_unity/5063218e4ab8/Windows64EditorInstaller/UnitySetup64.exe'
Progress: 100% - Completed download of C:\Users\travis\AppData\Local\Temp\chocolatey\unity\2018.3.11\UnitySetup64.exe (557 MB).
Download of UnitySetup64.exe (557 MB) completed.
Hashes match.
Installing unity...
unity has been installed.
unity may be able to be automatically uninstalled.
The install of unity was successful.
Software installed as 'EXE', install location is likely default.

While it is true that there is a new rate limiting function on Chocolatey.org (this was turned on on the 26th November 2018) the HTTP Error code that is returned when this is in play is 429, rather than 403. As a result, I don't think that this is what is causing you problems.
There is a troubleshooting article regarding the 403 HTTP Status code here. I would suggest following through with the recommendations there, which could be due to some of the following reasons:
You have a proxy that you need to configure
It is being blocked in your organization
We broke something (this is the least likely reason)
CloudFlare has blocked your IP due to reasons (99% of the time, this is the issue)
The Chocolatey Community Team may have blocked access due to excessive use - see excessive use for details

Related

Provision windows machine with vagrant to install github desktop

I try to install github desktop via chocolatey (vagrant provisioning) on my windows virtual machine. The installation process runs until the actual github installation. The error message looks like this:
Download of GitHubSetup.exe (663.49 KB) completed
WARNING: Ignoring checksums due to feature checksumFiles turned off or option --ignore-checksums set.
Installing github...
github has been installed.
Microsoft's ClickOnce framework is downloading and extracting the ~110
MB install files.
This may take several minutes or longer. Please wait...
The installation hangs at this point. I read about this issue at the official chocolatey webpage . How can I workaround this problem?

Odoo: Internal Server Error

I've installed Odoo 9.0 on Ubuntu 14.04, and I've activated the developer mode to install module from App Store. Every app I try to install that doesn't belong to the 31 apps offered by default without accessing developer mode, I get this error:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
It looks like this happens only on the local installation. i tried to install the Barcode app in online trial, and I encoutered no problems.
If anyone may help me, I'll be eternaly grateful.
Anyway, I'm pretty sure that the app on the "App store" provided in Odoo (not the ones that is possible to download in zip and add to addons), are only for the enterprise version.
I tried in a lot of computers and different installation with no luck.
Still happenning as of today. I've been able to manually install the module I wanted:
Go to the app store web site: https://apps.openerp.com/apps/modules
Search for and download your module
unzip the archive in the addons directory of your odoo installation
Go in odoo, settings, update modules list
you can then look for it in Local Modules. You may need to remove all filters. I've done this in v8.

SymbolSource Nightmare

So after hours of jumping through hoops, I have gotten SymbolSource running except I am unable to push any packages. The error I am getting now is:
Response status code does not indicate success:
418 (Reading package metadata failed: The schema version of 'MyNugetPackage'
is incompatible with version 2.1.31002.9028 of NuGet. Please upgrade NuGet
to the latest version from See http://www.symbolsource.org/Public/Home/Help
for possible reasons. Fiddler may help diagnosing this error if your client
discards attached detailed information.).
First problem is that you can no longer download the command line version of v2.1.3 of Nuget. I tried the the oldest version available: v2.8.6 but I get the same error. Second problem is it looks like SymbolSource.Server.Basic hasn't been touched in 3 years. Is this project dead? Am I wasting my time? I can't find any other alternative for debugging nuget packages without publishing to a third party service (which my company won't allow)?
The Symbol Server project master branch hasn't been touched for 4 years as of writing, and there is a queue of pull requests and issues left open for even longer.
There is an 'upgrade' branch which hasn't been touched since 2014, but that has updated NuGet version.
There is a slightly more recent fork at https://github.com/TrabacchinLuigi/SymbolSource.Community/tree/upgrade
which uses more recent versions of NuGet. Also have a look at the GitHub 'network' for other potential maintained forks: https://github.com/SymbolSource/SymbolSource.Community/network
And alternative hosting solutions include:
https://inedo.com/proget
https://github.com/GitTools/GitLink
Edit -- I got my own version running:
https://github.com/i-e-b/SymbolSourceSane

How do I automate dependency installation after pulling code from repository?

My collegue and I develop a small Python application. We use Vagrant to set up development environments.
Suppose my collegue introduces a new feature into the application. Feature's implementation requires a new python dependency (3rd party package) and the dependency itself needs some system libraries. If I do not read through all pulled commits carefully I can miss, that some systems libraries have to be installed prior running the project.
Of course we update Vagrantfile to install such non-python dependencies during provisioning, so if someone clones project's repository and issues vagrant up he will get a fully working development environment, but what shoud I do to automate updates in my existing environment?
How should we indicate, that a new dependency (python or non-python) was added and we need to install it by firing a specific command?
UPD I can try and run the application and if I encounter any errors it is a sign to reprovision my vagrant box, but it seems tedious to me to test a feature by hands and run provisioning scripts later
I ran into this with Ruby as well. We used Bundler, which is a dependency management system for Ruby. If I pulled in new code, ran it and got funky exceptions saying that a certain dependency was missing, I just knew it was time for a bundle install from the command line. The solution to your problem is the same. If you run the code and get errors saying a dependency is missing, your default response to that exception should be to vagrant up on the command line, and try again.
Barring that, sending an email to your teammates with instructions about the new or updated dependency is a good way to go, especially if a vagrant up is insufficient to resolve the missing or incorrect dependency.

Marmalade App deployment to playbook ERROR

I'm using the Marmalade System Deployment Tool to (Package and Install) an App to my playbook. It's packaging properly but when it gets the deployment I get this error, (ERROR: error running blackberry-deploy) and this is the log error.
SUCCESS: EVALUATION USE ONLY package written to 'c:\Users\George\Documents\Marmalade\build_helloworld_vc10\deployments\default\playbook\release' [took 3.05s]. This package is not licensed for commercial use
--> deploying to device from: deployments\default\playbook\release
[execute] blackberry-deploy.bat
ERROR: error running blackberry-deploy
ERROR
Would anyone know how to fix this problem?
You don't have the standard License from marmalade. You need to buy either standard, indigo or basic license (I hope the names are correct).
You are currently using their 90 days free evaluation license, which does not support deploying on devices (Why should they support, if it's for free).
Try to compile a package but don't install, use this program for install applications, easy as piece of cake.
http://hatax.home.comcast.net/~hatax/bb/Playbook_Tools.zip
It's not the same download as mine 'cause I cant post numeric domains(IP) in this forums.
I almost turned crazy tryng to solving this. I hope it can solve your issue too.
Javi.