Git Product home page Git Product logo

redomino.keywordalias's People

Contributors

davidemoro avatar giacomos avatar toutpt avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

redomino.keywordalias's Issues

persistence issue

sometimes when a new keword is added all the translations dictionary is emptied. This need to be investigated and fixed.

Zope don't start

Using a quite common buildout with only this addon, zope just don't start:

2012-05-22 11:10:31 WARNING ZODB.blob (575) Blob dir /Users/toutpt/collective/redomino.keywordalias/var/blobstorage/ has insecure mode setting
Traceback (most recent call last):
  File "/Users/toutpt/.buildout/installed_eggs/Zope2-2.13.13-py2.6.egg/Zope2/Startup/run.py", line 72, in <module>
    run()
  File "/Users/toutpt/.buildout/installed_eggs/Zope2-2.13.13-py2.6.egg/Zope2/Startup/run.py", line 21, in run
    starter.prepare()
  File "/Users/toutpt/.buildout/installed_eggs/Zope2-2.13.13-py2.6.egg/Zope2/Startup/__init__.py", line 86, in prepare
    self.startZope()
  File "/Users/toutpt/.buildout/installed_eggs/Zope2-2.13.13-py2.6.egg/Zope2/Startup/__init__.py", line 259, in startZope
    Zope2.startup()
  File "/Users/toutpt/.buildout/installed_eggs/Zope2-2.13.13-py2.6.egg/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/Users/toutpt/.buildout/installed_eggs/Zope2-2.13.13-py2.6.egg/Zope2/App/startup.py", line 118, in startup
    load_zcml()
  File "/Users/toutpt/.buildout/installed_eggs/Zope2-2.13.13-py2.6.egg/Zope2/App/startup.py", line 52, in load_zcml
    load_site()
  File "/Users/toutpt/.buildout/installed_eggs/Zope2-2.13.13-py2.6.egg/Zope2/App/zcml.py", line 46, in load_site
    _context = xmlconfig.file(site_zcml)
  File "/Users/toutpt/.buildout/installed_eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py", line 651, in file
    context.execute_actions()
  File "/Users/toutpt/.buildout/installed_eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py", line 626, in execute_actions
    callable(*args, **kw)
  File "/Users/toutpt/.buildout/installed_eggs/AccessControl-2.13.7-py2.6-macosx-10.6-x86_64.egg/AccessControl/security.py", line 165, in protectClass
    permission = getUtility(IPermission, name=permission_id)
  File "/Users/toutpt/.buildout/installed_eggs/zope.component-3.9.5-py2.6.egg/zope/component/_api.py", line 169, in getUtility
    raise ComponentLookupError(interface, name)
zope.configuration.config.ConfigurationExecutionError: <class 'zope.component.interfaces.ComponentLookupError'>: (<InterfaceClass zope.security.interfaces.IPermission>, 'cmf.ManagePortal')
  in:
  File "/Users/toutpt/collective/redomino.keywordalias/redomino/keywordalias/browser/configure.zcml", line 28.4-34.6
      <browser:page
              for="Products.CMFPlone.interfaces.IPloneSiteRoot"
              class=".managekeywords.KeywordAliasView"
              name="keywordalias"
              permission="cmf.ManagePortal"
              layer=".interfaces.IRedominoKeywordAliasLayer"
      />

It should be easy to fix.

unicode issue

Using fix to start zope, I can't access to @@keywordalias view when using a keyword with special caracters like ééé ààà

/Users/toutpt/collective/redomino.keywordalias/redomino/keywordalias/browser/managekeywords.py:223: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if item not in storage_entries:
2012-05-22 11:28:26 ERROR Zope.SiteErrorLog 1337678906.930.302811670562 http://localhost:8080/Plone/@@keywordalias
Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module plone.z3cform.layout, line 70, in __call__
  Module plone.z3cform.layout, line 54, in update
  Module redomino.keywordalias.browser.managekeywords, line 234, in update
  Module redomino.keywordalias.browser.managekeywords, line 224, in update_storage
  Module redomino.keywordalias.browser.managekeywords, line 198, in add
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 12: ordinal not in range(128)

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.