Closed kevindawson closed 11 years ago
Farabi6 is serving files from lib/Farabi6/files at http://:3030 10:50 HTTP::Server::Simple::PSGI() started at :3030 10:50 GET / HTTP/1.1 10:50 GET /jquery-1.8.2.min.js HTTP/1.1 10:50 GET /assets/bootstrap/css/bootstrap.min.css HTTP/1.1 10:50 GET /assets/bootstrap/js/bootstrap.min.js HTTP/1.1 10:50 GET /assets/codemirror/util/dialog.css HTTP/1.1 10:50 GET /assets/codemirror/codemirror.js HTTP/1.1 10:50 GET /farabi.js HTTP/1.1 10:50 GET /assets/codemirror/util/searchcursor.js HTTP/1.1 10:50 GET /assets/codemirror/codemirror.css HTTP/1.1 10:50 GET /assets/codemirror/util/match-highlighter.js HTTP/1.1 10:50 GET /assets/codemirror/util/search.js HTTP/1.1 10:50 Type check failed in assignment to '$uri'; expected 'Str' but got 'Nil' in sub at ./lib/Farabi6.pm6:38 in method handler at lib/HTTP/Server/Simple/PSGI.pm6:58 in method net_server at lib/HTTP/Server/Simple.pm6:64 in method run at lib/HTTP/Server/Simple.pm6:34 in method run at ./lib/Farabi6.pm6:109 in sub MAIN at bin/farabi6:9 in block at bin/farabi6:1
Firefox HTTP::Server::Simple::PSGI HTTP Handling bug. I tried HTTP::Easy::PSGI and the same thing.
2012/11/5 BOWTIE notifications@github.com
Farabi6 is serving files from lib/Farabi6/files at http://:3030 10:50 HTTP::Server::Simple::PSGI() started at :3030 10:50 GET / HTTP/1.1 10:50 GET /jquery-1.8.2.min.js HTTP/1.1 10:50 GET /assets/bootstrap/css/bootstrap.min.css HTTP/1.1 10:50 GET /assets/bootstrap/js/bootstrap.min.js HTTP/1.1 10:50 GET /assets/codemirror/util/dialog.css HTTP/1.1 10:50 GET /assets/codemirror/codemirror.js HTTP/1.1 10:50 GET /farabi.js HTTP/1.1 10:50 GET /assets/codemirror/util/searchcursor.js HTTP/1.1 10:50 GET /assets/codemirror/codemirror.css HTTP/1.1 10:50 GET /assets/codemirror/util/match-highlighter.js HTTP/1.1 10:50 GET /assets/codemirror/util/search.js HTTP/1.1 10:50 Type check failed in assignment to '$uri'; expected 'Str' but got 'Nil' in sub at ./lib/Farabi6.pm6:38 in method handler at lib/HTTP/Server/Simple/PSGI.pm6:58 in method net_server at lib/HTTP/Server/Simple.pm6:64 in method run at lib/HTTP/Server/Simple.pm6:34 in method run at ./lib/Farabi6.pm6:109 in sub MAIN at bin/farabi6:9 in block at bin/farabi6:1
— Reply to this email directly or view it on GitHubhttps://github.com/azawawi/farabi6/issues/19#issuecomment-10066431.
Thank you O wise one.
re0tested with chrome and all is well
will, close now, sorry for inconvenience
Let us reopen. It is a :100: % bug :)
the previous was working ok
hence I included the original github nr codes - as in initial issue post
Fixed with the latest Farabi6 and HTTP::Easy https://github.com/supernovus/perl6-http-easy/commit/2e144dc0551e74889e94f8ee5821fe2d76d5f48b
Update farabi6 to 38ddb8b
then ran
panda install File::Spec HTTP::Easy JSON::Tiny Pod::To::HTML URI
taken from META.info
and now I get
~/GitHub/farabi6$ bin/farabi6 ===SORRY!=== Missing or wrong version of dependency 'src/gen/Metamodel.pm'
ps. perl6 -v This is perl6 version 2012.10 built on parrot 4.6.0 revision 0
hope this helps
Basically there is a PIR/.pm6 corruption somewhere...
2012/11/7 BOWTIE notifications@github.com
Update farabi6 to 38ddb8bhttps://github.com/azawawi/farabi6/commit/38ddb8b
then ran
panda install File::Spec HTTP::Easy JSON::Tiny Pod::To::HTML URI
taken from META.info
and now I get
~/GitHub/farabi6$ bin/farabi6 ===SORRY!=== Missing or wrong version of dependency 'src/gen/Metamodel.pm'
ps. perl6 -v This is perl6 version 2012.10 built on parrot 4.6.0 revision 0
hope this helps
— Reply to this email directly or view it on GitHubhttps://github.com/azawawi/farabi6/issues/19#issuecomment-10132856.
many thanks
git pull remote: Counting objects: 36, done. remote: Compressing objects: 100% (18/18), done. remote: Total 30 (delta 19), reused 23 (delta 12) Unpacking objects: 100% (30/30), done. From https://github.com/azawawi/farabi6 b049256..bcc3637 master -> origin/master Updating b049256..bcc3637 Fast-forward lib/Farabi6/files/farabi.js | 2 +- lib/Farabi6/files/index.html | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-)