Web content will not stream

For help and support with PS3 Media Server in general

Re: Web content will not stream

Postby chocolateboy » Wed Dec 29, 2010 5:28 pm

Always good to get feedback on build issues (or any issues). Cheers. And good work on the get-flash-videos patch.

infidel wrote:plugin resolution failed until I changed
Code: Select all
<url>${groovypp-repo}/plugins-releases</url>
to
Code: Select all
<url>${groovypp-repo}/libs-releases-local</url>
in pom.xml.


Perhaps some repos were temporarily unavailable? Seems to work now with the original pom.xml. I don't think any of the Maven plugins need to be pulled from the Groovy++ repo.

Dunno if you spotted it (and it probably won't affect you as you've manually installed the external dependencies yourself), but the build process has been simplified slightly:

https://github.com/chocolateboy/pmsenco ... evelopment
chocolateboy
Project Member
 
Posts: 2460
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby infidel » Wed Dec 29, 2010 6:02 pm

chocolateboy wrote:Seems to work now with the original pom.xml.

For what it's worth, if I delete my '~/.m2' repo and rebuild from scratch, groovypp plugin resolution fails with the original pom. Once I change the pom and get a successful build with 'mvn -U', then subsequent builds work with the original pom, presumably because groovypp is now available in the local cache (?).
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

Re: Web content will not stream

Postby chocolateboy » Wed Dec 29, 2010 6:12 pm

infidel wrote:For what it's worth, if I delete my '~/.m2' repo and rebuild from scratch, groovypp plugin resolution fails with the original pom.


I did that before replying and didn't have any problems. Did you try it with the updated build instructions?

I've only ever had one problem with the Groovy++ repo (and no problems with any other repos), and the repo was fixed/updated quickly (i.e. within an hour or two).

You can browse the Groovy++ releases here and the (mirrored) Maven plugins here.
chocolateboy
Project Member
 
Posts: 2460
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby infidel » Wed Dec 29, 2010 6:30 pm

chocolateboy wrote:You can browse the Groovy++ releases here.
That's where I got '/libs-releases-local' :) , and yes, I was following the build instructions when I got the failure using '/plugins-releases' (confirmed by a re-test), but perhaps there's some other difference in our setups.
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

Re: Web content will not stream

Postby chocolateboy » Wed Dec 29, 2010 6:43 pm

infidel wrote:I got the failure using '/plugins-releases' (confirmed by a re-test)


Can you post the error?
chocolateboy
Project Member
 
Posts: 2460
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby infidel » Wed Dec 29, 2010 7:00 pm

I did:
Code: Select all
$ rm -fr ~/.m2
$ mvn install:install-file -DgroupId=info.codesaway -DartifactId=regexplus -Dversion=2010-04-16 -Dpackaging=jar -Dfile=/home/y/git/pmsencoder-deps/RegExPlus.jar
$ mvn install:install-file -DgroupId=com.google.code -DartifactId=ps3mediaserver -Dversion=1.20.412 -Dpackaging=jar -Dfile=/home/y/git/ps3mediaserver-read-only/ps3mediaserver/pms.jar
$ mvn com.savage7.maven.plugins:maven-external-dependency-plugin:resolve-external
$ mvn com.savage7.maven.plugins:maven-external-dependency-plugin:install-external
$ mvn

which ends with:
Code: Select all
[ERROR] Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.3:generateStubs (default) on project pmsencoder: Execution default of goal org.codehaus.gmaven:gmaven-plugin:1.3:generateStubs failed: Plugin org.codehaus.gmaven:gmaven-plugin:1.3 or one of its dependencies could not be resolved: Could not find artifact org.mbte.groovypp:groovypp:jar:0.4.113 in plugins-releases (http://groovypp.artifactoryonline.com/groovypp/plugins-releases) -> [Help 1]

my setup is
  • maven-3.0.1
  • Sun Java jdk1.6.0_21
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

Re: Web content will not stream

Postby chocolateboy » Wed Dec 29, 2010 7:56 pm

You don't need these:

infidel wrote:
Code: Select all
$ mvn install:install-file -DgroupId=info.codesaway -DartifactId=regexplus -Dversion=2010-04-16 -Dpackaging=jar -Dfile=/home/y/git/pmsencoder-deps/RegExPlus.jar
$ mvn install:install-file -DgroupId=com.google.code -DartifactId=ps3mediaserver -Dversion=1.20.412 -Dpackaging=jar -Dfile=/home/y/git/ps3mediaserver-read-only/ps3mediaserver/pms.jar



infidel wrote:my setup is
  • maven-3.0.1
  • Sun Java jdk1.6.0_21


Thanks. I can reproduce this on Maven 3.0.

For now, stick with your workaround or use Maven 2.x. I'm not planning to change the repo: the "virtual" name (plugins-releases &c.) is meant to work like a symlink, shielding users from the underlying location (plugins-releases-local), which may be subject to change.

Maven 3.0 worked for me with a clean local repository last time I checked (only a week or two ago), so it's probably a transient bug in one of the dependencies that'll shake itself out shortly.
chocolateboy
Project Member
 
Posts: 2460
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby infidel » Wed Dec 29, 2010 8:25 pm

chocolateboy wrote:You don't need these:

You're right about RegExPlus, but resolve-external goes into an endless wait at
Code: Select all
[INFO] downloading artifact from URL: http://ps3mediaserver.googlecode.com/files/pms-generic-linux-unix-1.20.412.tgz
plus I'm using a patched pms.jar to support my renderer anyway.

Thanks, we can mark this one solved!
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

Re: Web content will not stream

Postby chocolateboy » Wed Dec 29, 2010 8:30 pm

infidel wrote:resolve-external goes into an endless wait at
Code: Select all
[INFO] downloading artifact from URL: http://ps3mediaserver.googlecode.com/files/pms-generic-linux-unix-1.20.412.tgz


I've updated the docs to point out that this can take a while. Google Code is just slow at the moment for some reason (I get about ~15 KB/s).

plus I'm using a patched PMS.jar to support my renderer anyway.


PMS is only required for tests, and the tests mock most PMS methods, so it shouldn't make any difference.
chocolateboy
Project Member
 
Posts: 2460
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby infidel » Wed Dec 29, 2010 8:42 pm

Touche. I noticed the 15kb speed at google code yesterday, should have put 2+2 together...
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

PreviousNext

Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], izusaga, leecs1980 and 24 guests