Giter Club home page Giter Club logo

Comments (12)

miyagawa avatar miyagawa commented on August 15, 2024

if there's any difference it should rather be Plack 1.0020's change to the command line handling that affects starman executable as well. But you stated:

On 3.006 starman all works fine.

Are you sure?

There doesn't seem to be a change in Starman between 3.006 and 3.007 about it.

Can you try with Plack 1.0018 and 1.0021, and narrow down the options to see what is affecting it?

from starman.

miyagawa avatar miyagawa commented on August 15, 2024

@justnoxx Thank you for the report!

Fixed in Plack's git master. Can you test and see?

from starman.

justnoxx avatar justnoxx commented on August 15, 2024

@miyagawa, sure.
Starman was updated to 0.3007, and plack was updated to 1.20 from 1.18. After that i tried to reload application. Init script - http://perl-diver.blogspot.com/2010/09/rhelcentos-init-script-for-starman-web.html, OS - centos.
After reloading - Error while loading development.pm: No such file or directory at (eval 7) line 4.
This error looks like starman error, but it is not a starman trouble, because after that i tried to launch another application with command starman --port 8080 app.psgi, and all was fine(elementary PSGI application, example from http://search.cpan.org/~miyagawa/PSGI-1.101/PSGI.pod). Than i installed Starman 0.3006, same error after reloading, so it is plack. After that, to confirm it I installed plack 1.18, than reload, all works fine. Than i tried starman 0.3007, all was fine to, so, it may be plack trouble, not starman. I will try Plack 1.21 tomorrow.

from starman.

miyagawa avatar miyagawa commented on August 15, 2024

1.21 has no fix, 1.22 will. Can you try the git master now? I would like to make sure it's not broken again.

from starman.

justnoxx avatar justnoxx commented on August 15, 2024

10 minutes.

from starman.

justnoxx avatar justnoxx commented on August 15, 2024

uname -r
2.6.32-71.29.1.el6.x86_64

cpan -D Plack
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Tue, 02 Apr 2013 12:53:02 GMT

Plack

    (no description)
    M/MI/MIYAGAWA/Plack-1.0020.tar.gz
    /usr/local/share/perl5/Plack.pm
    Installed: 1.0021
    CPAN:      1.0020  up to date
    Tatsuhiko Miyagawa (MIYAGAWA)
    [email protected]

cpan -D Starman
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Tue, 02 Apr 2013 12:53:02 GMT

Starman

    (no description)
    M/MI/MIYAGAWA/Starman-0.3007.tar.gz
    /usr/local/share/perl5/Starman.pm
    Installed: 0.3007
    CPAN:      0.3007  up to date
    Tatsuhiko Miyagawa (MIYAGAWA)
    [email protected]

No errors at restart right now, all seems fine.

For installation test i created virtual machine with clean debian
Install log:
https://gist.github.com/justnoxx/5295368
No dependencies errors.

Result of cpan -D Plack

Plack

(no description)
M/MI/MIYAGAWA/Plack-1.0021.tar.gz
/usr/local/share/perl/5.10.1/Plack.pm
Installed: 1.0021
CPAN:      1.0021  up to date
Tatsuhiko Miyagawa (MIYAGAWA)
[email protected]

from starman.

miyagawa avatar miyagawa commented on August 15, 2024

I'm confused. Did you install from git master? Use cpanm git://github.com/plack/Plack.git

from starman.

miyagawa avatar miyagawa commented on August 15, 2024

OK, looking at the log you installed from git manually.

Released 1.0022 to CPAN.

from starman.

justnoxx avatar justnoxx commented on August 15, 2024

git clone https://github.com/plack/Plack

perl MakeFile.pl
make
make test
make install
test log:
https://gist.github.com/justnoxx/5295533
If critical, i can create another virtual machine and try install again with cpanm from git.

git status
On branch master
nothing to commit (working directory clean)

from starman.

justnoxx avatar justnoxx commented on August 15, 2024

@miyagawa , installation from master branch with cpanm:
cpanm git://github.com/plack/Plack.git
Cloning git://github.com/plack/Plack.git ... OK
--> Working on git://github.com/plack/Plack.git
Configuring Plack-1.0022 ... OK
Building and testing Plack-1.0022 ... OK
Successfully installed Plack-1.0022
1 distribution installed
No errors.

from starman.

miyagawa avatar miyagawa commented on August 15, 2024

1.0022 is already released, you can get it from metacpan.

from starman.

justnoxx avatar justnoxx commented on August 15, 2024

Thanks =)

from starman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.