Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    T. Kim Nguyen
    @tkimnguyen
    the debug mode = going to pdb on error and checking for changes to page templates; not sure what else
    @NicolasGoeddel yes, there are many Plone sites that need upgrading this year (and next)… while Python 2 won’t get updates (we’re told), it’s not an unsafe language anyhow so likely ok to keep running older Plones on it for a while yet
    @Rogaton which link are you trying?
    NicolasGoeddel
    @NicolasGoeddel
    Hm, when executing bin/instance debugI land in some command prompt. The line starts with >>> and I don't know how to start the app :-D
    Looks like zopepy or pdb. I guess there is a command I have to call to really start the instance
    T. Kim Nguyen
    @tkimnguyen
    @Rogaton @stevepiercy ah, https://plone.com/providers.html works but https://plone.com/providers does not? It just did for me. We put in nginx configuration to check for missing .html before Sept. 7 so that shouldn’t have been the problem
    NicolasGoeddel
    @NicolasGoeddel
    Okay, I don't get it. Problably because it is the first time I am using Solr. I downloaded and started Apache Solr, created a core, then installed Plone 5.2-rc2 with Python 3.6 and collective.solr 8.0.0a1, installed the extension within Plone and changed the base URL to the name of the core I created before in the configuration panel. What's next? What am I missing? The buttons "Solr Reindex", "Clear Solr Index" and also the other two buttons always throw me a collective.solr.exceptions.SolrConnectionException: HTTP code=404, reason=Not Found. And the Log of Solr shows something like o.a.s.h.a.ShowFileRequestHandler Can not find: schema.xml [/home/solr/solr-8.2.0/server/solr/mycore/conf/schema.xml]. What does that even mean? From where do I get the schema.xml file? The documentation at https://collectivesolr.readthedocs.io does not help me either.
    Maybe you can push me in the right direction or the right documentation? Or an beginner tutorial? I only know about portal_catalog.
    Piero Nicolli
    @pnicolli
    @NicolasGoeddel regarding launching plone in debug mode: we usually refer to "debug" mode (as in the last kim messages) when we launch Plone with bin/instance fg. On the other hand, bin/instance debug is giving you a running zope instance with all of your instance libraries (like zopepy, as you mentioned) and bound to the database, so that you can debug objects, views, whatever you want, without having to access plone from the browser.
    I know it sounds weird, but actually fg is the commonly used debug mode when developing plone stuff, so...
    T. Kim Nguyen
    @tkimnguyen
    @NicolasGoeddel I hope you’re asking your technical questions mostly in the forum, because that is where the most people are paying attention
    NicolasGoeddel
    @NicolasGoeddel
    @tkimnguyen I do. And also I created a new issue on Github especially for collective.solr.
    T. Kim Nguyen
    @tkimnguyen
    Ok, excellent!
    But looking at what you just wrote, 404 could mean that whatever configuration you set is not correct because maybe there is no database schema for your Solr database?
    And are you sure c.solr (that version) works with Py3 and Plone 5.2?
    NicolasGoeddel
    @NicolasGoeddel
    @tkimnguyen I don't know anything about database schemes and solr. It's the first time I installed solr and created a core. There is also now further documentation for c.solr. I changed the base path and that's it. What do I need more at this point? I don't know ;-)
    Do I need much to know about Solr itself? Or will c.solr do it all for me? Seems like the documentation on readthedocs is very old and also not very beginner friendly.
    T. Kim Nguyen
    @tkimnguyen
    It’s been a while since I looked at c.solr. I found it a bit opaque and in the end Plone’s search was fast enough for my needs. The question you need to ask yourself: what is your use case and is it important enough that it is worth your digging into c.solr and learning how Solr works
    NicolasGoeddel
    @NicolasGoeddel
    @tkimnguyen Yes, it is definitely important enough because we need to be able to search like you know it from Google, using wildcards, - and +, 'or'/'and' and using "quotes for more than one word". We need to search through 10.000+ documents, maybe even more and it has to be fast.
    mdvmh
    @mdvmh
    hi! is there a plone or third party module/PAS plugin providing OAuth2 layer 'OpenId Connect' authentication? or have i implement it on my own?
    mdvmh
    @mdvmh
    @tkimnguyen thank you very much - i'll check it out
    mdvmh
    @mdvmh
    @tkimnguyen seems to be no 'OpenId Connect' support - so i'll check out pyoidc and implement the PAS plugin on my own: https://pyoidc.readthedocs.io/en/latest/
    Mikel Larreategi
    @erral
    @mdvmh there is plone.openid and plone.app.openid but I don't know their status
    mdvmh
    @mdvmh
    @erral thank you! but there is no 'OpenId Connect' support
    Paul
    @pavll
    Can somebody tell me how I can create a theme-product for Plone5.2 in Python3.7? Because mr.bob only supports Python 3.4.
    Mikel Larreategi
    @erral
    @pavll creating a theme-product with mr.bob and using it in Plone 5.2 are 2 different steps and can be done using different python 3 installations
    I have currently mr.bob and bobtemplates.plone in a Python 3.6 installation and I use templates created with it in python 2.7, 3.6 and 3.7
    So, first you need to create a virtualenv and install bobtemplates.plone there (it will manage the installation of mr.bob).
    Second, create a new theme package with it
    Third, install this package in a Plone 5.2/Python 3.7 installation
    Maik Derstappen
    @MrTango
    @pavll better use plonecli and set the python version there in your config file
    mrbob/bobtemplates.plone works also with newer python 3 versions
    Plone Chat
    @plone-chat
    [Philip Bauer (pbauer), irc.freenode.net] kurz talk wg https://git.starzel.de/bfs/dokpool/merge_requests/13
    [Philip Bauer (pbauer), irc.freenode.net] sorry, wring channel
    Paul
    @pavll
    @erral @MrTango Thank you for the fast answers. First i tried @MrTango‘s version but a few days ago i changed from Linux to Windows and now ploneclie doesn‘t work. I will try the first idea with manualy usibg mr.bob. I hope it will work.
    Maik Derstappen
    @MrTango
    @pavll could you please check if there is already an issue for the problems on windows. If not please add one and describe whats going wrong. Windows is not my main system for quite some time. But we would like to support it.
    help is very welcome
    NicolasGoeddel
    @NicolasGoeddel
    I don't know if you guys need it but I struggled with uploading files to Plone 5.2 (Python 3.6) and extracting content and indexing them using collective.solr 8.0.0a1 when Solr runs as a different user or has no access to the blob storage of Plone. Changing two simple things within collective.solr makes extracting information of blobs independent of filesystem, host and port of the plone instance: collective/collective.solr#238
    Fulvio Casali
    @fulv
    I have an emergency situation in which I'm facing exactly this issue https://community.plone.org/t/upgrading-from-plone-3-0-to-5-x/8670/6
    IOW, BrokenModified: <persistent broken Products.CMFDefault.DiscussionItem.DiscussionItemContainer on a Plone 5.2 site whenever I try to save an item
    I tried deleting all the revisions with collective.revisionmanager, but that did not help
    also cleared and rebuilt the catalog after
    Fulvio Casali
    @fulv
    Ok, the workaround of setting the versioning policy to "no versioning" seems to work (from @@content-controlpanel)
    Fulvio Casali
    @fulv
    too bad that clearing versions did not help
    Mikel Larreategi
    @erral
    we published yesterday our first Plone 5.2 with python 3
    thank you so much for all your hard work on the python 3 migration!