[dancer-users] deploy dancer via heroku - error while loading /app/app.psgi

sawyer x xsawyerx at gmail.com
Sun Dec 15 18:49:28 GMT 2013


The app.psgi file is past the application, since that's what's used to find
and run the application.

So that can't be it.


On Sun, Dec 15, 2013 at 7:23 PM, Gert van Oss <gertvanoss at me.com> wrote:

> On 15 dec. 2013, at 19:16, sawyer x <xsawyerx at 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
>
> [1]: https://devcenter.heroku.com/articles/logging
> [2]: https://addons.heroku.com/
> [3]: https://devcenter.heroku.com/
> [4]: http://stackoverflow.com/
> [5]: https://devcenter.heroku.com/articles/application-offline
>
> ----------------------------------------------
>
>
>
> On Thu, Dec 12, 2013 at 10:07 PM, Gert van Oss <gertvanoss at me.com> wrote:
>
>
>> On 12 dec. 2013, at 12:55, WK <wanradt at gmail.com> wrote:
>>
>>
>>  2013/12/12 Gert van Oss <gertlist at 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 at dancer.pm
>
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
>
>>
> _______________________________________________
>
> dancer-users mailing list
>
> dancer-users at dancer.pm
>
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
>
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20131215/566be0cd/attachment-0001.html>


More information about the dancer-users mailing list