I've tried on windows 7 and ubuntu 12.04. In both cases, I got errors about unable to get dependencies. I'm following the instructions from http://www.playframework.org/documentation/2.0.1/ScalaTodoList and http://www.playframework.org/documentation/2.0.1/JavaTodoList
Getting net.java.dev.jna jna 3.2.3 ...
downloading http://s3pository.heroku.com/maven-central/net/java/dev/jna/j
na/3.2.3/jna-3.2.3.jar ...
:: problems summary ::
:::: WARNINGS
[FAILED ] net.java.dev.jna#jna;3.2.3!jna.jar: The HTTP respo
nse code for http://s3pository.heroku.com/maven-central/net/java/dev/jna/jna/3.2
.3/jna-3.2.3.jar did not indicate a success. See log for more detail. (40ms)
[FAILED ] net.java.dev.jna#jna;3.2.3!jna.jar: The HTTP respo
nse code for http://s3pository.heroku.com/maven-central/net/java/dev/jna/jna/3.2
.3/jna-3.2.3.jar did not indicate a success. See log for more detail. (40ms)
==== heroku-central: tried
http://s3pository.heroku.com/maven-central/net/java/dev/jna/jna/3.2.3/
jna-3.2.3.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: FAILED DOWNLOADS ::
:: ^ see resolution messages for details ^ ::
::::::::::::::::::::::::::::::::::::::::::::::
:: net.java.dev.jna#jna;3.2.3!jna.jar
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
SERVER ERROR: Gateway Timeout url=http://s3pository.heroku.com/maven-cen
tral/net/java/dev/jna/jna/3.2.3/jna-3.2.3.jar
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
download failed: net.java.dev.jna#jna;3.2.3!jna.jar
Error during sbt execution: Error retrieving required libraries
(see /tmp/build_2alkkctoiqzvf/project/boot/update.log for complete log)
Error: Could not retrieve jna 3.2.3
! Failed to build app with sbt
! Heroku push rejected, failed to compile Play 2.0 app
To git#heroku.com:falling-stone-8800.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:falling-stone-8800.git'
This seems to be a systemwide error today (June 10, 2012). There's most likely nothing wrong with your code or deployment method, it may just be a Heroku hiccup. I have been unable to push changes to my (working) Java Play 2.0 app all morning due to the same system error.
I have filed a ticket and would urge others to do the same.
Related
I'm trying to deploy a Go web app to Heroku using this template and this guide. Working great locally, but when I try to deploy with
git push heroku master
I get this error:
remote: Parsing meta tags from https://github.com?go-get=1 (status code 200)
remote: can't load package: package github.com/f4ww4z/sipss: unknown import path "github.com/f4ww4z/sipss": cannot find module providing package github.com/f4ww4z/sipss
remote: ! Push rejected, failed to compile Go app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to sipss.
remote:
To https://git.heroku.com/sipss.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/sipss.git'
Full log after the deployment command is here.
I see that heroku's actually detected the module github.com/f4ww4z/sipss in the go.mod file (see log link), so why is it throwing this cannot find module providing package github.com/f4ww4z/sipss ?
Looks like your git repo is private. Read this https://github.com/heroku/heroku-buildpack-go#private-git-repos
Pushes of updates to my app to Heroku are now rejected because of a tex-live incompatibility. See the error message below.
Heroku error message
remote: tlmgr: Remote repository is newer than local (2018 < 2019)
remote: Cross release updates are only supported with
remote: update-tlmgr-latest(.sh/.exe) --update
remote: Please see https://tug.org/texlive/upgrade.html for
details.
remote: ! Push rejected, failed to compile TeX Live app.
I have tried the following:
Add a file texlive.repository with contents ftp://tug.org/historic/systems/texlive/2018/tlnet-final. This does not work because the texlive repository lacks a required cryptographic certificate.
Delete the texlive buildpack and start over. Below is my buildpack config. However, when I try to remove it, I get this message:
$ heroku buildpacks:remove syphar/heroku-buildpack-tex
› Error: invalid json response body at https://buildpack-registry.heroku.com/buildpacks/syphar%2Fheroku-buildpack-tex reason: Unexpected end of JSON input
At this point I am stuck!
Heroku buildpacks
$ heroku buildpacks
=== nshost Buildpack URLs
1. https://github.com/HashNuke/heroku-buildpack-elixir.git
2. https://github.com/syphar/heroku-buildpack-tex.git
This works: in the file texlive.packages, replace
ftp://tug.org/historic/systems/texlive/2018/tlnet-final
with
https://www.math.utah.edu/pub/texlive/historic/systems/texlive/2018/tlnet-final
Solution courtesy of Nelson Beebe, University of Utah Mathematics Department
I'm using Git to mount an app to Scalingo, but when I do "git push scalingo master" it shows me this:
XXXXX+AAAA#AAAA MINGW32 ~/Desktop/Scalingo (master)
$ git push scalingo master
Counting objects: 1120, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1043/1043), done.
Writing objects: 100% (1120/1120), 16.71 MiB | 1.53 MiB/s, done.
Total 1120 (delta 208), reused 0 (delta 0)
<-- Start deployment of vinumtest -->
Fetching source code
Fetching deployment cache
-----> Installing requirements with pip
You must give at least one requirement to install (see "pip help
install")
Build complete, shipping your container...
Waiting for your application to boot...
! Error deploying the application
! → Your application has stopped unexpectedly when starting
! Read the output and fix your code accordingly
! Common errors: http://doc.scalingo.com/deployment/start-
error#crashed
! Need help? Email us: support#scalingo.com
To git#scalingo.com:test.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#scalingo.com:test.git'
The actual result is that I cant do the command "git push scalingo master"
As the message in the deployment is telling you:
You must give at least one requirement to install (see "pip help install")
It seems that your requirements.txt does not contain any dependency. All the Python modules you're using should be listed in this file.
What kind of application are you trying to deploy?
Whatever is the app, you have to ensure that your application is working on your local workstation before deploying it.
Regards,
-- Léo
I'm trying to push a commit to heroku but it's failing giving this error
Total 93 (delta 62), reused 0 (delta 0)
-----> Node.js app detected
parse error: Invalid numeric literal at line 31, column 7
! Push rejected, failed to compile Node.js app
To git#heroku.com:~.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:~.git'
Which file is it referring the error at line 31 is in?
The app is working fine locally.
In my case it was package.json. It doesn't like comments in there, either...
I emptied out all the deps and dev-deps and pushed and it worked. Try that. (Obvs you'll have to put them back in).
Also be careful with the syntax for module versions like '*' and '^' - that was the first set of errors I got that generated the problem...
UPDATE: Ignore the last paragraph: the semver markers above are fine IF your version of node is >0.10 ...
I ran into this problem as well. It turned out to be the editor I was using was encoding my quotes incorrectly. Changed to Sublime Text and issue resolved.
Every time I try to deploy the Play 2.0 default application on Heroku I see following message. What could be the possible cause of this delay ? How to resolve this ?
! Timed out compiling Play 2.x - Java app (15 minutes)
! See https://devcenter.heroku.com/articles/slug-compiler#time-limit
To git#heroku.com:lit-sea-4547.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:lit-sea-4547.git'