hurry.tinymce and zc.resourcelibrary conflict

View: New views
4 Messages — Rating Filter:   Alert me  

hurry.tinymce and zc.resourcelibrary conflict

by modiadi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I try to use hurry.tinymce in one of my views. For that I added in my  
setup.py the following dependencies using install_requires.

                         'hurry.tinymce',
                         'hurry.zoperesource',

The problem is that when I start zope I get an error like this :

   File "/Users/adi/.buildout/eggs/zope.configuration-3.4.0-py2.4.egg/
zope/configuration/config.py", line 1511, in resolveConflicts
     raise ConfigurationConflictError(conflicts)
zope.configuration.config.ConfigurationConflictError: Conflicting  
configuration actions
   For: ('utility', <InterfaceClass  
zope.app.publication.interfaces.IBrowserRequestFactory>, '')
     File "/Users/adi/.buildout/eggs/hurry.zoperesource-0.3-py2.4.egg/
hurry/zoperesource/configure.zcml", line 11.2-14.8
         <utility
             component=".zopesupport.Request"
             
provides="zope.app.publication.interfaces.IBrowserRequestFactory"
             />
     File "/Users/adi/.buildout/eggs/zc.resourcelibrary-1.0.1-
py2.4.egg/zc/resourcelibrary/configure.zcml", line 12.2-15.8
         <utility
             component=".publication.Request"
             
provides="zope.app.publication.interfaces.IBrowserRequestFactory"
             />

For me it looks like a conflict between hurry.zoperesource and  
zc.resourcelibrary.

I have tried to use other *.tinymce packages ( they are plenty) but  
without much success. It also looks like hurry.tinymce is the most up  
to date.

I also tried to remove somehow zc.resourcelibrary from the project,  
but I couldn't find exactly who is using it.

Anybody has an idea about a posible solution ?


Thank you all,

Adi
_______________________________________________
Grok-dev mailing list
Grok-dev@...
http://mail.zope.org/mailman/listinfo/grok-dev

Re: hurry.tinymce and zc.resourcelibrary conflict

by Santiago Videla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,


  File "/Users/adi/.buildout/eggs/zope.configuration-3.4.0-py2.4.egg/
zope/configuration/config.py", line 1511, in resolveConflicts
    raise ConfigurationConflictError(conflicts)
zope.configuration.config.ConfigurationConflictError: Conflicting
configuration actions
  For: ('utility', <InterfaceClass
zope.app.publication.interfaces.IBrowserRequestFactory>, '')
    File "/Users/adi/.buildout/eggs/hurry.zoperesource-0.3-py2.4.egg/
hurry/zoperesource/configure.zcml", line 11.2-14.8
        <utility
            component=".zopesupport.Request"

provides="zope.app.publication.interfaces.IBrowserRequestFactory"
            />
    File "/Users/adi/.buildout/eggs/zc.resourcelibrary-1.0.1-
py2.4.egg/zc/resourcelibrary/configure.zcml", line 12.2-15.8
        <utility
            component=".publication.Request"

provides="zope.app.publication.interfaces.IBrowserRequestFactory"
            />

For me it looks like a conflict between hurry.zoperesource and
zc.resourcelibrary.

I agree


I also tried to remove somehow zc.resourcelibrary from the project,
but I couldn't find exactly who is using it.

What did you tried?


Anybody has an idea about a posible solution ?

You should have some installed package using zc.resourcelibrary. I can't imagine other reason
What packages are you installing?

Best Regards
 



Thank you all,

Adi
_______________________________________________
Grok-dev mailing list
Grok-dev@...
http://mail.zope.org/mailman/listinfo/grok-dev



--
Santiago Videla
www.revolucionesweb.com.ar
http://www.linkedin.com/in/svidela

Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el pensamiento que se hace corazón resplandece con la palabra sencilla y humilde que l@s tod@s somos.

_______________________________________________
Grok-dev mailing list
Grok-dev@...
http://mail.zope.org/mailman/listinfo/grok-dev

Parent Message unknown Re: hurry.tinymce and zc.resourcelibrary conflict

by modiadi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

please see bellow

On 17 juin 09, at 15:29, Santiago Videla wrote:


I also tried to remove somehow zc.resourcelibrary from the project,
but I couldn't find exactly who is using it.

What did you tried?


First I removed megrok.form, but nothing worked anymore :)  Now after you asked I searched for zc.resourcelibrary in my all dependencies which are generated by omelette. I found out references to zc.resourcelibrary in the following :

megrok.form.configure.zcml
z3c.javascript.*
z3c.widget
zc.datetimewidget

I am not sure how I can remove this dependencies, it this is the only solution.


Anybody has an idea about a posible solution ?

You should have some installed package using zc.resourcelibrary. I can't imagine other reason
What packages are you installing?

Here it is from setup.py:

   install_requires=['setuptools',
                       'grok',
                       'grokui.admin',
                      # 'zc.catalog',
                       'hurry.query',
                       'megrok.login',
                       'z3c.testsetup',
                       'grokcore.startup',
                       'z3c.batching',
                       'ZSI',
                       'jsonlib',
                       'megrok.form',
                       'plone.memoize',
                       'hurry.tinymce',
                       #'hurry.zoperesource',
                        'pytz',
                       # Add extra requirements here

I am using grok 1.0a4.
hurry.zoperesource is commented because it is him who is causing the problem, but it is also a required dependency for hurry.tinymce.

What is also puzzling is http://pypi.python.org/pypi/hurry.tinymce/3.2.3.1 :

"The package(hurry.tinymce) has already been integrated for Grok and Zope 3"

I don't understand exactly how it is integrated in to Zope 3. Any ideas ?


Thank you
_______________________________________________
Grok-dev mailing list
Grok-dev@...
http://mail.zope.org/mailman/listinfo/grok-dev

Re: hurry.tinymce and zc.resourcelibrary conflict

by Santiago Videla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,

First I removed megrok.form, but nothing worked anymore :)  Now after you asked I searched for zc.resourcelibrary in my all dependencies which are generated by omelette. I found out references to zc.resourcelibrary in the following :

megrok.form.configure.zcml
z3c.javascript.*
z3c.widget
zc.datetimewidget

I am not sure how I can remove this dependencies, it this is the only solution.

megrok.form and it's dependencies are the problem here. I started to work on that a time ago, but I couldn't finish it yet. I hope to get it done soon.
 
Here it is from setup.py:

   install_requires=['setuptools',
                       'grok',
                       'grokui.admin',
                      # 'zc.catalog',
                       'hurry.query',
                       'megrok.login',
                       'z3c.testsetup',
                       'grokcore.startup',
                       'z3c.batching',
                       'ZSI',
                       'jsonlib',
                       'megrok.form',
                       'plone.memoize',
                       'hurry.tinymce',
                       #'hurry.zoperesource',
                        'pytz',
                       # Add extra requirements here

Try commenting megrok.form and run ./bin/buildout.
 

I am using grok 1.0a4.
hurry.zoperesource is commented because it is him who is causing the problem, but it is also a required dependency for hurry.tinymce.

Right, you can't use megrok.form and hurry.tinymce by now. The branch[1] I was working on, will remove megrok.form dependencies and depends on hurry.* packages
 


What is also puzzling is http://pypi.python.org/pypi/hurry.tinymce/3.2.3.1 :

"The package(hurry.tinymce) has already been integrated for Grok and Zope 3"

I don't understand exactly how it is integrated in to Zope 3. Any ideas ?

As far I understand, it means that in the first version (3.2.0.2) of hurry.tinymce, you need to include another package called, hurry.zopetinymce. Since version 3.2.3.1 (the latest), the zcml from hurry.zopetinymce was included in hurry.tinymce, so you do not need to depend on hurry.zopetinymce anymore.

Hope it helps.

Best Regards

[1] http://svn.zope.org/megrok.form/branches/fix-dependencies/
 



Thank you

_______________________________________________
Grok-dev mailing list
Grok-dev@...
http://mail.zope.org/mailman/listinfo/grok-dev




--
Santiago Videla
www.revolucionesweb.com.ar
http://www.linkedin.com/in/svidela

Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el pensamiento que se hace corazón resplandece con la palabra sencilla y humilde que l@s tod@s somos.

_______________________________________________
Grok-dev mailing list
Grok-dev@...
http://mail.zope.org/mailman/listinfo/grok-dev