Closed ghost closed 7 years ago
usage:
bin/instance -O
problems: when run command bin/instance -O Plone2 update_addon_listing Plone2/add-ons from command line, ERROR ploneorg.addonlisting-cli Could not create collective.documentgenerator ERROR ploneorg.addonlisting-cli can't compare datetime.datetime to NoneType ERROR ploneorg.addonlisting-cli Could not create plone.resourceeditor ERROR ploneorg.addonlisting-cli can't compare datetime.datetime to NoneType ERROR ploneorg.addonlisting-cli Could not create Plone ERROR ploneorg.addonlisting-cli The id "Plone" is reserved.
"can't compare datetime.datetime to NoneType" error when running update_all_listing from browserview
@pavithirakc sorry I could not reproduce that, on my system I only get the
ERROR ploneorg.addonlisting-cli Could not create Plone
ERROR ploneorg.addonlisting-cli The id "Plone" is reserved.
By the way, I did not get the right logging output, no INFO level output on verbose.
I have removed the transaction call around api creation, as that is the wrong way in this context. plone.protect intercepts here. I will look into it, so no problem at the moment for you @pavithirakc
I closed this pull for now, any additional work please into a new branch.
added cli-arguments, parsed them and modified utils accordingly