GithubHelp home page GithubHelp logo

Comments (5)

ibizaman avatar ibizaman commented on July 17, 2024

Hi, I just made a fork of this bundle to make a pull request fixing this, but I can't install the devs requirements through composer.

Here are the steps I made:

git clone https://github.com/ibizaman/GenemuFormBundle.git && cd GenemuFormBundle
curl -s http://getcomposer.org/installer | php
php composer.phar --dev install

And here is the log I get :

Loading composer repositories with package information
Installing dependencies
  - Installing doctrine/common (2.3.x-dev 2ec4bc)
    Cloning 2ec4bc6db13db6a0976a16b71058083c55cbcdbd

  - Installing symfony/translation (dev-master d7a608)
    Cloning d7a6083e76a3af3f247bff523bc47b41e7208a87

  - Installing symfony/templating (dev-master v2.1.0)
    Cloning v2.1.0-RC1

  - Installing symfony/routing (dev-master v2.1.0)
    Cloning v2.1.0-RC1

  - Installing symfony/filesystem (dev-master 72acf6)
    Cloning 72acf65c2390c9066e1174d269a4e146ffad9296

  - Installing symfony/http-foundation (dev-master 8d5e7f)
    Cloning 8d5e7f909fa519853e71bcfc57a1da8c637ebcbb

  - Installing symfony/event-dispatcher (dev-master 76c76f)
    Cloning 76c76f62702b09e0f182ae618be0f1d79e2a711f

  - Installing symfony/http-kernel (dev-master 0d0ee3)
    Cloning 0d0ee371ab0425f3399dba9e25d7ad98ca5c0d62

  - Installing symfony/config (dev-master f68ad4)
    Cloning f68ad44f3ee1603ce96387bacba0ecba488c2a33

  - Installing symfony/dependency-injection (dev-master 98fa73)
    Cloning 98fa735a7ef5dc07c43bfe6faa4367a983b6ba6f

  - Installing symfony/framework-bundle (dev-master 0ccf3e)
    Cloning 0ccf3e16af8afbecae1944d4cb294b3a623e769e

  - Installing symfony/options-resolver (dev-master 6a1159)
    Cloning 6a1159eb868b3af059d0a8c578db1f7efab89850

  - Installing symfony/locale (dev-master 58ff32)
    Cloning 58ff3213b4e187f410d6795a1da11dfde8a0e118

  - Installing symfony/form (dev-master 74583b)
    Cloning 74583bb7a8ed758c29431b4900467db04ddd0b32

Loading composer repositories with package information
Installing dev dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - doctrine/mongodb-odm-bundle v2.2.0 requires doctrine/mongodb-odm 1.0.0-BETA5 -> satisfiable by doctrine/mongodb-odm 1.0.0-BETA5.
    - doctrine/mongodb-odm-bundle v3.0.0-BETA1 requires doctrine/mongodb-odm 1.0.0-BETA5 -> satisfiable by doctrine/mongodb-odm 1.0.0-BETA5.
    - doctrine/mongodb-odm-bundle v2.1.0 requires doctrine/mongodb-odm 1.0.0-BETA4 -> satisfiable by doctrine/mongodb-odm 1.0.0-BETA4.
    - doctrine/mongodb-odm-bundle 2.0.x-dev requires doctrine/mongodb-odm >=1.0.0-beta5,<1.1-dev -> satisfiable by doctrine/mongodb-odm 1.0.x-dev, doctrine/mongodb-odm 1.0.0-BETA5.
    - doctrine/mongodb-odm-bundle dev-master requires doctrine/mongodb-odm >=1.0.0-beta5,<1.1-dev -> satisfiable by doctrine/mongodb-odm 1.0.x-dev, doctrine/mongodb-odm 1.0.0-BETA5.
    - doctrine/mongodb-odm-bundle 3.0.x-dev requires doctrine/mongodb-odm >=1.0.0-beta5,<1.1-dev -> satisfiable by doctrine/mongodb-odm 1.0.x-dev, doctrine/mongodb-odm 1.0.0-BETA5.
    - doctrine/mongodb-odm-bundle v2.2.1 requires doctrine/mongodb-odm >=1.0.0-beta5,<1.1-dev -> satisfiable by doctrine/mongodb-odm 1.0.x-dev, doctrine/mongodb-odm 1.0.0-BETA5.
    - doctrine/mongodb-odm-bundle v3.0.0-BETA2 requires doctrine/mongodb-odm >=1.0.0-beta5,<1.1-dev -> satisfiable by doctrine/mongodb-odm 1.0.x-dev, doctrine/mongodb-odm 1.0.0-BETA5.
    - doctrine/mongodb-odm-bundle v2.0.1 requires doctrine/mongodb-odm * -> satisfiable by doctrine/mongodb-odm dev-master, doctrine/mongodb-odm 1.0.x-dev, doctrine/mongodb-odm dev-ns-comment-cleanup, doctrine/mongodb-odm dev-sf2.0, doctrine/mongodb-odm dev-uow-date-comparison, doctrine/mongodb-odm 1.0.0-BETA4, doctrine/mongodb-odm 1.0.0-BETA5.
    - doctrine/mongodb-odm dev-sf2.0 requires doctrine/mongodb * -> satisfiable by doctrine/mongodb dev-master, doctrine/mongodb 1.0.x-dev, doctrine/mongodb 1.0.0-BETA1.
    - doctrine/mongodb-odm dev-uow-date-comparison requires doctrine/mongodb @dev -> satisfiable by doctrine/mongodb dev-master, doctrine/mongodb 1.0.x-dev, doctrine/mongodb 1.0.0-BETA1.
    - doctrine/mongodb-odm 1.0.0-BETA5 requires doctrine/mongodb 1.0.0-BETA1 -> satisfiable by doctrine/mongodb 1.0.0-BETA1.
    - doctrine/mongodb-odm dev-ns-comment-cleanup requires doctrine/mongodb 1.0.0-BETA1 -> satisfiable by doctrine/mongodb 1.0.0-BETA1.
    - doctrine/mongodb-odm 1.0.0-BETA4 requires doctrine/mongodb 1.0.0-BETA1 -> satisfiable by doctrine/mongodb 1.0.0-BETA1.
    - doctrine/mongodb-odm 1.0.x-dev requires doctrine/mongodb >=1.0.0-beta1,<1.1-dev -> satisfiable by doctrine/mongodb 1.0.x-dev, doctrine/mongodb 1.0.0-BETA1.
    - doctrine/mongodb-odm dev-master requires doctrine/mongodb >=1.0.0-beta1,<1.1-dev -> satisfiable by doctrine/mongodb 1.0.x-dev, doctrine/mongodb 1.0.0-BETA1.
    - doctrine/mongodb dev-master requires ext-mongo * -> no matching package found.
    - doctrine/mongodb 1.0.0-BETA1 requires ext-mongo * -> no matching package found.
    - doctrine/mongodb 1.0.x-dev requires ext-mongo * -> no matching package found.
    - Installation request for doctrine/mongodb-odm-bundle * -> satisfiable by doctrine/mongodb-odm-bundle 2.0.x-dev, doctrine/mongodb-odm-bundle dev-master, doctrine/mongodb-odm-bundle 3.0.x-dev, doctrine/mongodb-odm-bundle v2.0.1, doctrine/mongodb-odm-bundle v2.1.0, doctrine/mongodb-odm-bundle v2.2.0, doctrine/mongodb-odm-bundle v2.2.1, doctrine/mongodb-odm-bundle v3.0.0-BETA1, doctrine/mongodb-odm-bundle v3.0.0-BETA2.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

If I don't use the --dev option, there is no problem but then I can't use phpunit to test because of a missing dependency.
This problem appears also if you use the --dry-run option in composer.

Am I doing something wrong ?

from genemuformbundle.

bamarni avatar bamarni commented on July 17, 2024

Hi @ibizaman ,

Thanks for working on that!

I think it's because you don't have the php mongo extension.

from genemuformbundle.

ibizaman avatar ibizaman commented on July 17, 2024

This is bad and I should feel bad about it...
That was it indeed, thanks !

from genemuformbundle.

soullivaneuh avatar soullivaneuh commented on July 17, 2024

Is this issue fixed ?

I try to use tokeninput by this way :

    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('users', 'genemu_jquerytokeninput', array(
                'class'     => 'Dowith\UserBundle\Entity\User',
                'multiple'  => true,
            ))
            ->add('content', 'textarea')
            ;
    }

But I have this following error :

An exception has been thrown during the rendering of a template ("Notice: Undefined variable: options in /home/sullivan/projects/dowith/www/dowith.sf21/vendor/genemu/form-bundle/Genemu/Bundle/FormBundle/Form/JQuery/Type/TokeninputType.php line 171") in /home/sullivan/projects/dowith/www/dowith.sf21/src/Dowith/MainBundle/Resources/views/Messaging/index.html.twig at line 5

This error is about this issue or it is antother problem ?

Thanks

from genemuformbundle.

bamarni avatar bamarni commented on July 17, 2024

There is a pending PR wich will fix this : #141

I'm just waiting for @ibizaman confirmation about a potential issue, then I'll merge this.

from genemuformbundle.

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.