On 15 dec. 2013, at 19:16, sawyer x <xsawyerx@gmail.com> wrote:

I have no experience with Heroku. Have you tried contacting them and asking why it can't find the file?


I did ask the Heroku people and below I paste what they replied. I haven’t gotten any further with this. I choose Heroku as I used it for a few other things but maybe for using Dancer I should look for alternatives that have been mentioned on this list.

Thanks.
[…] reply from Heroku below

Hi,

This error

```
2013-12-11T23:03:53.102716+00:00 app[web.1]: Error while loading /app/app=
.psgi: No such file or directory at (eval 10) line 4. =

```

is indicative of a problem with your application code. An issue of this n=
ature is outside the scope of Heroku Support.

Generally, we recommend:

* Getting your app running and working locally before running it on Herok=
u.
* Use our [logging features][1] to determine the cause of errors. Some [H=
eroku addons][2] can also help you track and debug errors.
* [Search our documentation][3] as well as using Google. [Stack Overflow]=
[4] is also a great resource for general programming questions. For insta=
nce, [we offer advice on how to fix an offline application][5] you may fi=
nd helpful.

If you have done your own due diligence trying to solve the problem and a=
re still having trouble, please be specific about the problem you are exp=
eriencing (such as including log output of the error) and we will do our =
best to point you in the right direction.

Thanks,
Neil


----------------------------------------------


On Thu, Dec 12, 2013 at 10:07 PM, Gert van Oss <gertvanoss@me.com> wrote:

On 12 dec. 2013, at 12:55, WK <wanradt@gmail.com> wrote:

2013/12/12 Gert van Oss <gertlist@mac.com>
 
 
Starting process with command `perl -Mlib=$PWD/local/lib/perl5 ./local/bin/starman --preload-app --port 57400`
2013-12-11T23:03:52.119529+00:00 heroku[web.1]: Starting process with command `perl -Mlib=$PWD/local/lib/perl5 ./local/bin/starman --preload-app --port 32316`
2013-12-11T23:03:53.102716+00:00 app[web.1]: Error while loading /app/app.psgi: No such file or directory at (eval 10) line 4.
2013-12-11T23:03:53.510234+00:00 app[web.1]: Error while loading /app/app.psgi: No such file or directory at (eval 10) line 4.

Maybe someone has a clue and after a hint then I might get to the level of being able to write something about this.

In your step 0 you make link to  app.psgi into application directory, but is this the this directory '/app' in heroku?


mmhh.. I would say yes. It is the git repository that is being pushed to heroku. 
I’m lost. Even if I exactly copy the example mentioned here: https://gist.github.com/ysasaki/3149659
it gives me the errors mentioned above.

_______________________________________________
dancer-users mailing list


_______________________________________________
dancer-users mailing list