Hi again, Thank you Dennis! Apparently the <max/> element is exclusive and the version specified in it will not be included.
So I got it working when sfImageTransformPlugin and sfImageTransformExtraPlugin are both installed separately but they can not be installed in one go using the --install_deps option. PREPARATION: $ mkdir -p lib/vendor $ svn export -q http://svn.symfony-project.org/tags/RELEASE_1_4_6 lib/vendor/symfony $ php lib/vendor/symfony/data/bin/symfony generate:project plugininstall --quiet INSTALLING WITH --install_deps: $ php symfony plugin:install sfImageTransformExtraPlugin --install_deps >> plugin installing plugin "sfImageTransformExtraPlugin" >> sfPearFrontendPlugin Attempting to discover channel >> "pear.symfony-project.com"... >> sfPearFrontendPlugin downloading channel.xml ... >> sfPearFrontendPlugin Starting to download channel.xml (803 bytes) >> sfPearFrontendPlugin . >> sfPearFrontendPlugin ...done: 803 bytes >> sfPearFrontendPlugin Auto-discovered channel "pear.symfony-project.com", >> alias >> sfPearFrontendPlugin "symfony", adding to registry >> sfPearFrontendPlugin Attempting to discover channel >> sfPearFrontendPlugin "plugins.symfony-project.org"... >> sfPearFrontendPlugin downloading channel.xml ... >> sfPearFrontendPlugin Starting to download channel.xml (639 bytes) >> sfPearFrontendPlugin ...done: 639 bytes >> sfPearFrontendPlugin Auto-discovered channel "plugins.symfony-project.org", >> alias >> sfPearFrontendPlugin "symfony-plugins", adding to registry Unable to install plugin "sfImageTransformExtraPlugin" (version >= 1.3.0 <= 1.5.0 exclude 1.5.0) because it depends on plugin "sfImageTransformPlugin" which cannot be installed automatically: Unable to get information for plugin "sfImageTransformPlugin": File http://pear.symfony-project.com:80//rest/r/sfimagetransformplugin/allreleases.xml not valid (received: HTTP/1.1 404 Not Found) INSTALLING SEPARATELY: $ php symfony plugin:install sfImageTransformPlugin >> plugin installing plugin "sfImageTransformPlugin" >> sfPearFrontendPlugin downloading sfImageTransformPlugin-1.4.0.tgz ... >> sfPearFrontendPlugin Starting to download sfImageTransformPlugin-1.4.0.tgz >> (42,030 >> sfPearFrontendPlugin bytes) >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin ...done: 42,030 bytes >> sfSymfonyPluginManager Installation successful for plugin >> "sfImageTransformPlugin" $ php symfony plugin:install sfImageTransformExtraPlugin >> plugin installing plugin "sfImageTransformExtraPlugin" >> sfPearFrontendPlugin downloading sfImageTransformExtraPlugin-1.0.9.tgz ... >> sfPearFrontendPlugin Starting to download >> sfImageTransformExtraPlugin-1.0.9.tgz >> sfPearFrontendPlugin (107,299 bytes) >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin . >> sfPearFrontendPlugin ...done: 107,299 bytes >> sfPearFrontendPlugin Package >> "pear.symfony-project.com/sfImageTransformExtraPlugin" >> sfPearFrontendPlugin dependency >> "pear.symfony-project.com/sfImageTransformPlugin" >> sfPearFrontendPlugin has no releases >> sfSymfonyPluginManager Installation successful for plugin >> "sfImageTransformExtraPlugin" Any ideas? Cheers /Christian On Wed, Jul 21, 2010 at 10:30 AM, Dennis Benkert <[email protected]> wrote: > Maybe it's just plain wrong, but did you check the symfony version > dependency? Your package.xml has > >> <min>1.4.0</min> >> <max>1.4.4</max> > > while the error message > >> not valid (received: HTTP/1.0 404 Version not compatible with the > installed symfony version (1.4.7)) > > states that you have symfony 1.4.7 installed. Maybe it's just the > version number of the "max" node? > > - Dennis > > > 2010/7/21 Christian Schaefer <[email protected]>: >> Hi all, >> >> I was just trying to fix a bug in my package.yml which made it >> impossible for users to use the pear installation for my plugin. I >> specified the wrong channel URL. >> Now this is fixed but still I can not use the pear installation... >> >> $ php symfony plugin:install sfImageTransformExtraPlugin >>>> plugin installing plugin "sfImageTransformExtraPlugin" >> >> No release available for plugin "sfImageTransformExtraPlugin" >> >> >> And if I force a release version >> >> $ php symfony plugin:install sfImageTransformExtraPlugin -r 1.0.6 >>>> plugin installing plugin "sfImageTransformExtraPlugin" >> >> >> Unable to get dependencies information for plugin >> "sfImageTransformExtraPlugin": File >> http://plugins.symfony-project.org:80/REST/r/sfimagetransformextraplugin/deps.1.0.6.txt >> not valid (received: HTTP/1.0 404 Version not compatible with the >> installed symfony version (1.4.7)) >> >> >> >> Here is my <dependencies/> snippet: >> >> <dependencies> >> <required> >> <php> >> <min>5.2.4</min> >> </php> >> <pearinstaller> >> <min>1.4.1</min> >> </pearinstaller> >> <package> >> <name>symfony</name> >> <channel>pear.symfony-project.com</channel> >> <min>1.4.0</min> >> <max>1.4.4</max> >> </package> >> <package> >> <name>sfImageTransformPlugin</name> >> <channel>pear.symfony-project.org</channel> >> <min>1.3.0</min> >> <max>1.4.0</max> >> </package> >> </required> >> </dependencies> >> >> >> See >> http://svn.symfony-project.com/plugins/sfImageTransformExtraPlugin/trunk/package.xml.tmpl >> >> >> After a quick google I found the same issue for axCronPlugin. >> >> What is the way to proceed on this? >> >> Cheers >> /Christian >> >> -- >> If you want to report a vulnerability issue on symfony, please send it to >> security at symfony-project.com >> >> You received this message because you are subscribed to the Google >> Groups "symfony developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/symfony-devs?hl=en >> > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
