liuggio / ExcelBundle

Excel integration in Symfony2 thanks to https://github.com/PHPOffice/PHPExcel library
www.welcometothebundle.com
MIT License
369 stars 142 forks source link

In this bundle compatible with SF3? #117

Closed RodolVelasco closed 7 years ago

RodolVelasco commented 7 years ago

Any workaround to install this bundle with SF3?

My SF is 3.2.6

I'm getting this:

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache

 // Clearing the cache for the dev environment with debug true

 [OK] Cache for the "dev" environment (debug=true) was successfully cleared.

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets

 Trying to install assets as relative symbolic links.

 --------- ------------------------------ ----------------
            Bundle                         Method / Error
 --------- ------------------------------ ----------------
  WARNING   EasyAdminBundle                copy
  WARNING   IvoryCKEditorBundle            copy
  WARNING   PetkoparaCrudGeneratorBundle   copy
 --------- ------------------------------ ----------------

 ! [NOTE] Some assets were installed via copy. If you make changes to these assets you have to run this command again.

 [OK] All assets were successfully installed.

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile handling the symfony-scripts event terminated with an exception

Installation failed, reverting ./composer.json to its original content.

  [Symfony\Component\Filesystem\Exception\IOException]
  Cannot rename "C:\Dropbox\Apache Xampp\injuve-control-pago\bin\symCAF6.tmp" to "bin/symfony_requirements".

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
Blackskyliner commented 7 years ago

Read the error correctly. It is not a problem of this bundle but of your installation itself.

Cannot rename "C:\Dropbox\Apache Xampp\injuve-control-pago\bin\symCAF6.tmp" to "bin/symfony_requirements".

So either fix the rights so the file can get created correctly or issue an ticket in the corresponding tracker (symfony) or even better ask someone in the official chat-channels of symfony to help you with your problem as it does not seem to be code related.

RodolVelasco commented 7 years ago

I understand that you are suggesting that if I solved this problem and others that could arrise, Luiggio could be installed correctly in SF3 version.

Thanks. I'll fix it. @Blackskyliner