Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trouble setting up the development environment #199

Closed
reyha opened this issue Mar 23, 2016 · 4 comments
Closed

trouble setting up the development environment #199

reyha opened this issue Mar 23, 2016 · 4 comments

Comments

@reyha
Copy link

reyha commented Mar 23, 2016

When I run this command ./bin/buildout - v as per the instructions on https://buildoutcoredev.readthedocs.org/en/latest/intro.html, I get this on my console :

reyha@reyha-Lenovo-Z50:/projects/buidlouts/plone5devel$ ./bin/buildout -v
Installing 'plone.versioncheck', 'mr.developer'.
We have the distribution that satisfies 'plone.versioncheck==1.2.1'.
We have the distribution that satisfies 'mr.developer==1.34'.
Getting required 'requests==2.9.1'
We have the distribution that satisfies 'requests==2.9.1'.
Getting required 'jinja2==2.8'
We have the distribution that satisfies 'jinja2==2.8'.
Getting required 'colorama==0.3.6'
We have the distribution that satisfies 'colorama==0.3.6'.
Getting required 'CacheControl[filecache]==0.11.6'
We have the distribution that satisfies 'CacheControl[filecache]==0.11.6'.
Getting required 'MarkupSafe==0.23'
We have the distribution that satisfies 'MarkupSafe==0.23'.
Getting required 'lockfile==0.12.2'
We have the distribution that satisfies 'lockfile==0.12.2'.
mr.developer: Queued 'Products.CMFPlone' for checkout.
mr.developer: Queued 'Products.PlonePAS' for checkout.
mr.developer: Queued 'mockup' for checkout.
mr.developer: Queued 'plone.app.caching' for checkout.
mr.developer: Queued 'plone.app.contenttypes' for checkout.
mr.developer: Queued 'plone.app.dexterity' for checkout.
mr.developer: Queued 'plone.app.discussion' for checkout.
mr.developer: Queued 'plone.app.event' for checkout.
mr.developer: Queued 'plone.app.intid' for checkout.
mr.developer: Queued 'plone.app.iterate' for checkout.
mr.developer: Queued 'plone.app.layout' for checkout.
mr.developer: Queued 'plone.app.linkintegrity' for checkout.
mr.developer: Queued 'plone.app.locales' for checkout.
mr.developer: Queued 'plone.app.multilingual' for checkout.
mr.developer: Queued 'plone.app.registry' for checkout.
mr.developer: Queued 'plone.app.relationfield' for checkout.
mr.developer: Queued 'plone.app.theming' for checkout.
mr.developer: Queued 'plone.app.upgrade' for checkout.
mr.developer: Queued 'plone.app.vocabularies' for checkout.
mr.developer: Queued 'plone.app.z3cform' for checkout.
mr.developer: Queued 'plone.folder' for checkout.
mr.developer: Queued 'plone.i18n' for checkout.
mr.developer: Queued 'plone.releaser' for checkout.
mr.developer: Queued 'plone.resourceeditor' for checkout.
mr.developer: Queued 'plone.themepreview' for checkout.
mr.developer: Queued 'plonetheme.barceloneta' for checkout.
mr.developer: Updated 'plone.app.caching' with git.
mr.developer: Updated 'Products.PlonePAS' with git.
mr.developer: Updated 'Products.CMFPlone' with git.
mr.developer: Updated 'plone.app.dexterity' with git.
mr.developer: Updated 'plone.app.discussion' with git.
mr.developer: Updated 'mockup' with git.
mr.developer: Updated 'plone.app.contenttypes' with git.
mr.developer: Updated 'plone.app.event' with git.
mr.developer: Updated 'plone.app.intid' with git.
mr.developer: Updated 'plone.app.iterate' with git.
mr.developer: Updated 'plone.app.linkintegrity' with git.
mr.developer: Updated 'plone.app.layout' with git.
mr.developer: Updated 'plone.app.locales' with git.
mr.developer: Updated 'plone.app.relationfield' with git.
mr.developer: Updated 'plone.app.registry' with git.
mr.developer: Updated 'plone.app.multilingual' with git.
mr.developer: Updated 'plone.app.theming' with git.
mr.developer: Updated 'plone.app.vocabularies' with git.
mr.developer: Updated 'plone.app.z3cform' with git.
mr.developer: Updated 'plone.app.upgrade' with git.
mr.developer: Updated 'plone.folder' with git.
mr.developer: Updated 'plone.i18n' with git.
mr.developer: Updated 'plone.resourceeditor' with git.
mr.developer: Updated 'plone.releaser' with git.
mr.developer: Updated 'plone.themepreview' with git.
mr.developer: Updated 'plonetheme.barceloneta' with git.
Installing 'zc.buildout', 'setuptools'.
We have a develop egg: zc.buildout 2.5.0
We have a develop egg: setuptools 20.2.2
Adding find link 'https://pypi.python.org/packages/source/c/certifi/certifi-2015.11.20.tar.gz#md5=25134646672c695c1ff1593c2dd75d08' from setuptools 20.2.2
Adding find link 'https://pypi.python.org/packages/source/w/wincertstore/wincertstore-0.2.zip#md5=ae728f2f007185648d0c7a8679b361e2' from setuptools 20.2.2
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.dexterity'
warning: no files found matching '.txt'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.linkintegrity'
warning: no previously-included files matching '.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.iterate'
warning: no previously-included files matching 'pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/mockup'
no previously-included directories found matching '.nix'
no previously-included directories found matching 'dist'
no previously-included directories found matching 'mockup/bower_components'
no previously-included directories found matching 'mockup/build'
no previously-included directories found matching 'mockup/coverage'
no previously-included directories found matching 'mockup/docs'
no previously-included directories found matching 'mockup/node_modules'
warning: no previously-included files found matching '.bowerrc'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching 'Makefile'
warning: no previously-included files found matching '
.sh'
warning: no previously-included files found matching 'Vagrantfile'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.z3cform'
warning: no previously-included files matching 'pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.resourceeditor'
warning: no previously-included files matching 'pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.vocabularies'
warning: no files found matching '
' under directory 'docs'
warning: no previously-included files matching 'pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.releaser'
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.upgrade'
warning: no previously-included files matching 'pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.locales'
warning: no files found matching '
.mo' anywhere in distribution
warning: no previously-included files matching 'pyc' found anywhere in distribution
warning: no previously-included files matching 'pyo' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/Products.PlonePAS'
warning: no previously-included files matching '
.py?' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.intid'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plonetheme.barceloneta'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
no previously-included directories found matching 'design'
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.i18n'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.registry'
warning: no files found matching '.txt'
warning: no previously-included files matching 'pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/Products.CMFPlone'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.caching'
warning: no previously-included files matching 'pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.relationfield'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.contenttypes'
warning: no files found matching '
.txt'
warning: no previously-included files matching '.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.theming'
warning: no previously-included files matching 'pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.folder'
warning: no previously-included files matching 'pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.multilingual'
warning: no files found matching '
.txt'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
warning: no previously-included files matching '
.pyo' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.discussion'
warning: no files found matching '.txt'
warning: no previously-included files matching '
.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.layout'
warning: no previously-included files matching '.pyc' found anywhere in distribution
Develop: '/home/reyha/projects/buidlouts/plone5devel/src/plone.app.event'
warning: no files found matching '
.mo' anywhere in distribution
warning: no previously-included files matching 'pyc' found anywhere in distribution
warning: no previously-included files matching '
' found anywhere in distribution
no previously-included directories found matching 'devsrc'
Installing 'zc.recipe.egg'.
We have the distribution that satisfies 'zc.recipe.egg==2.0.3'.
Installing 'collective.xmltestreport'.
We have the distribution that satisfies 'collective.xmltestreport==1.3.3'.
Getting required 'zope.testrunner==4.4.4'
We have the distribution that satisfies 'zope.testrunner==4.4.4'.
Getting required 'zope.testing==3.9.7'
We have the distribution that satisfies 'zope.testing==3.9.7'.
Getting required 'zope.interface==3.6.7'
We have the distribution that satisfies 'zope.interface==3.6.7'.
Getting required 'zope.exceptions==3.6.2'
We have the distribution that satisfies 'zope.exceptions==3.6.2'.
Getting required 'six==1.10.0'
We have the distribution that satisfies 'six==1.10.0'.
Installing 'plone.recipe.zope2instance'.
We have the distribution that satisfies 'plone.recipe.zope2instance==4.2.19'.
Getting required 'ZODB3==3.10.5'
We have the distribution that satisfies 'ZODB3==3.10.5'.
Getting required 'Zope2==2.13.24'
We have the distribution that satisfies 'Zope2==2.13.24'.
Getting required 'mailinglogger==3.8.0'
We have the distribution that satisfies 'mailinglogger==3.8.0'.
Getting required 'zope.event==3.5.2'
We have the distribution that satisfies 'zope.event==3.5.2'.
Getting required 'zdaemon==2.0.7'
We have the distribution that satisfies 'zdaemon==2.0.7'.
Getting required 'ZConfig==2.9.3'
We have the distribution that satisfies 'ZConfig==2.9.3'.
Getting required 'zc.lockfile==1.0.2'
We have the distribution that satisfies 'zc.lockfile==1.0.2'.
Getting required 'transaction==1.1.1'
We have the distribution that satisfies 'transaction==1.1.1'.
Getting required 'Products.StandardCacheManagers==2.13.1'
We have the distribution that satisfies 'Products.StandardCacheManagers==2.13.1'.
Getting required 'Products.PythonScripts==2.13.2'
We have the distribution that satisfies 'Products.PythonScripts==2.13.2'.
Getting required 'Products.MIMETools==2.13.0'
We have the distribution that satisfies 'Products.MIMETools==2.13.0'.
Getting required 'Products.MailHost==2.13.2'
We have the distribution that satisfies 'Products.MailHost==2.13.2'.
Getting required 'Products.ExternalMethod==2.13.1'
We have the distribution that satisfies 'Products.ExternalMethod==2.13.1'.
Getting required 'Products.BTreeFolder2==2.14.0'
We have the distribution that satisfies 'Products.BTreeFolder2==2.14.0'.
Getting required 'zope.viewlet==3.7.2'
We have the distribution that satisfies 'zope.viewlet==3.7.2'.
Getting required 'zope.traversing==3.13.2'
We have the distribution that satisfies 'zope.traversing==3.13.2'.
Getting required 'zope.testbrowser==3.11.1'
We have the distribution that satisfies 'zope.testbrowser==3.11.1'.
Getting required 'zope.tales==3.5.3'
We have the distribution that satisfies 'zope.tales==3.5.3'.
Getting required 'zope.tal==3.5.2'
We have the distribution that satisfies 'zope.tal==3.5.2'.
Getting required 'zope.structuredtext==3.5.1'
We have the distribution that satisfies 'zope.structuredtext==3.5.1'.
Getting required 'zope.size==3.4.1'
We have the distribution that satisfies 'zope.size==3.4.1'.
Getting required 'zope.site==3.9.2'
We have the distribution that satisfies 'zope.site==3.9.2'.
Getting required 'zope.sequencesort==3.4.0'
We have the distribution that satisfies 'zope.sequencesort==3.4.0'.
Getting required 'zope.sendmail==3.7.5'
We have the distribution that satisfies 'zope.sendmail==3.7.5'.
Getting required 'zope.security==3.7.4'
We have the distribution that satisfies 'zope.security==3.7.4'.
Getting required 'zope.schema==4.4.2'
We have the distribution that satisfies 'zope.schema==4.4.2'.
Getting required 'zope.publisher==3.12.6'
We have the distribution that satisfies 'zope.publisher==3.12.6'.
Getting required 'zope.ptresource==3.9.0'
We have the distribution that satisfies 'zope.ptresource==3.9.0'.
Getting required 'zope.proxy==3.6.1'
We have no distributions for zope.proxy that satisfies 'zope.proxy==3.6.1'.
Getting distribution for 'zope.proxy==3.6.1'.
While:
Installing.
Getting section instance.
Initializing section instance.
Installing recipe plone.recipe.zope2instance.
Getting distribution for 'zope.proxy==3.6.1'.
Error: Couldn't find a distribution for 'zope.proxy==3.6.1'.

How do I fix this?

@gforcada
Copy link
Sponsor Contributor

Hi @reyha

maybe that was due to a temporary connection lost, usually re-running bin/buildout fixes it. You can as well pass -vvv to get lots of output that may hint as to what happens more in detail.

@reyha
Copy link
Author

reyha commented Mar 23, 2016

@gforcada Hello! Thanks for help.

Like you mentioned, I tried re-running it a lot of times and even passed -vvv with bin/buildout .Still, it is not working. Here is the link to the output after using -vvv : [http://pastie.org/10770913]

@mauritsvanrees
Copy link
Sponsor Member

It should get zope.proxy 3.6.1 from here: https://pypi.python.org/simple/zope.proxy/

In your buildout config, do you have a download-cache directory? This option can also be set in ~/.buildout/default.cfg. If you have set this option, check if the given download-cache directory contains a zope.proxy 3.6.1 and delete it. It may contain a wrong download, for example an html file showing an error instead of the actual zope.proxy distribution. Then try again.

Does installing outside of buildout work, so with a virtualenv?

virtualenv foo
cd foo
bin/pip install zope.proxy==3.6.1

@reyha
Copy link
Author

reyha commented Mar 23, 2016

Thanks a lot! Deleting zope.proxy 3.6.1 from the download-cache directory did the job. It got successfully installed. I am now able to follow up the documentation.

@reyha reyha closed this as completed Mar 23, 2016
mister-roboto pushed a commit that referenced this issue Jan 30, 2017
Branch: refs/heads/master
Date: 2017-01-30T22:54:32+01:00
Author: Markus Unterwaditzer (untitaker) <markus@unterwaditzer.net>
Commit: collective/icalendar@7fa23d4

Wheels

Fix #199

Files changed:
M setup.cfg
mister-roboto pushed a commit that referenced this issue Jan 30, 2017
Branch: refs/heads/master
Date: 2017-01-30T22:54:32+01:00
Author: Markus Unterwaditzer (untitaker) <markus@unterwaditzer.net>
Commit: collective/icalendar@7fa23d4

Wheels

Fix #199

Files changed:
M setup.cfg
mister-roboto pushed a commit that referenced this issue Feb 20, 2019
Branch: refs/heads/master
Date: 2019-02-19T01:07:27+01:00
Author: Davi Lima (davilima6) <davilima6@gmail.com>
Commit: plone/plone.app.upgrade@4869bab

Initiate Upgrade profile for Plone 5.2beta2

Files changed:
M plone/app/upgrade/v52/betas.py
M plone/app/upgrade/v52/configure.zcml
M plone/app/upgrade/v52/profiles.zcml
Repository: plone.app.upgrade

Branch: refs/heads/master
Date: 2019-02-19T01:08:32+01:00
Author: Davi Lima (davilima6) <davilima6@gmail.com>
Commit: plone/plone.app.upgrade@9b89d38

Add new registry/resources upgrade step to update 'moment' resource to use version without locales, which are now lazy loaded

Files changed:
A plone/app/upgrade/v52/profiles/to_beta2/registry/resources.xml
Repository: plone.app.upgrade

Branch: refs/heads/master
Date: 2019-02-19T01:13:01+01:00
Author: Davi Lima (davilima6) <davilima6@gmail.com>
Commit: plone/plone.app.upgrade@0332100

Add towncrier entry (changelog)

Files changed:
A news/199.news
Repository: plone.app.upgrade

Branch: refs/heads/master
Date: 2019-02-20T22:11:13+01:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.upgrade@fea9f3f

Merge pull request #199 from plone/momentjsLazyLoadLocales

Add profile for Plone 5.2b2; Start with new resources step…

Files changed:
A news/199.news
A plone/app/upgrade/v52/profiles/to_beta2/registry/resources.xml
M plone/app/upgrade/v52/betas.py
M plone/app/upgrade/v52/configure.zcml
M plone/app/upgrade/v52/profiles.zcml
mister-roboto pushed a commit that referenced this issue Feb 20, 2019
Branch: refs/heads/master
Date: 2019-02-19T01:07:27+01:00
Author: Davi Lima (davilima6) <davilima6@gmail.com>
Commit: plone/plone.app.upgrade@4869bab

Initiate Upgrade profile for Plone 5.2beta2

Files changed:
M plone/app/upgrade/v52/betas.py
M plone/app/upgrade/v52/configure.zcml
M plone/app/upgrade/v52/profiles.zcml
Repository: plone.app.upgrade

Branch: refs/heads/master
Date: 2019-02-19T01:08:32+01:00
Author: Davi Lima (davilima6) <davilima6@gmail.com>
Commit: plone/plone.app.upgrade@9b89d38

Add new registry/resources upgrade step to update 'moment' resource to use version without locales, which are now lazy loaded

Files changed:
A plone/app/upgrade/v52/profiles/to_beta2/registry/resources.xml
Repository: plone.app.upgrade

Branch: refs/heads/master
Date: 2019-02-19T01:13:01+01:00
Author: Davi Lima (davilima6) <davilima6@gmail.com>
Commit: plone/plone.app.upgrade@0332100

Add towncrier entry (changelog)

Files changed:
A news/199.news
Repository: plone.app.upgrade

Branch: refs/heads/master
Date: 2019-02-20T22:11:13+01:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.upgrade@fea9f3f

Merge pull request #199 from plone/momentjsLazyLoadLocales

Add profile for Plone 5.2b2; Start with new resources step…

Files changed:
A news/199.news
A plone/app/upgrade/v52/profiles/to_beta2/registry/resources.xml
M plone/app/upgrade/v52/betas.py
M plone/app/upgrade/v52/configure.zcml
M plone/app/upgrade/v52/profiles.zcml
mister-roboto pushed a commit that referenced this issue Apr 26, 2019
Branch: refs/heads/master
Date: 2019-04-25T19:49:34+02:00
Author: Markus Hilbert (iham) <markus.hilbert@iham.at>
Commit: plone/plone.app.layout@1a6fe57

Make navigation (global sections) subclassing easier.

Files changed:
A news/194.bugfix
M plone/app/layout/viewlets/common.py
Repository: plone.app.layout

Branch: refs/heads/master
Date: 2019-04-26T09:25:09+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.layout@41636a1

Merge pull request #199 from plone/issue_194

Make navigation (global sections) subclassing easier.

Files changed:
A news/194.bugfix
M plone/app/layout/viewlets/common.py
mister-roboto pushed a commit that referenced this issue Jun 21, 2019
Branch: refs/heads/master
Date: 2019-06-21T17:20:08+02:00
Author: Alessandro Pisa (ale-rt) <alessandro.pisa@gmail.com>
Commit: plone/plone.app.widgets@987a218

Adapt the tests to the new robotframework syntax (#198)

Fixes #199

Files changed:
A news/199.bugfix
M plone/app/widgets/tests/robot/test_datetime_widget.robot
mister-roboto pushed a commit that referenced this issue May 26, 2020
Branch: refs/heads/master
Date: 2020-05-25T14:26:12+02:00
Author: ale-rt (ale-rt) <alessandro.pisa@gmail.com>
Commit: plone/plone.app.content@0409d15

Do not require mock on Python2.7

Fixes #198

Files changed:
A news/198.bugfix
M plone/app/content/tests/test_contents.py
M plone/app/content/tests/test_widgets.py
M setup.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2020-05-25T14:57:17+02:00
Author: ale-rt (ale-rt) <alessandro.pisa@gmail.com>
Commit: plone/plone.app.content@3f5b501

Do not break with unknown MIME types

Fixes #197

Files changed:
A news/197.bugfix
M plone/app/content/browser/vocabulary.py
M plone/app/content/tests/test_widgets.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2020-05-26T14:13:41+02:00
Author: Wolfgang Thomas (pysailor) <thomas@syslab.com>
Commit: plone/plone.app.content@3c2e37b

Merge pull request #199 from plone/ale-improvements

Do not break with unknown MIME types

Files changed:
A news/197.bugfix
A news/198.bugfix
M plone/app/content/browser/vocabulary.py
M plone/app/content/tests/test_contents.py
M plone/app/content/tests/test_widgets.py
M setup.py
mister-roboto pushed a commit that referenced this issue Sep 9, 2021
Branch: refs/heads/master
Date: 2021-09-09T16:52:44+02:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.app.theming@4f1fb0d

Fix unclosed file

fixes #199

Files changed:
A news/199.bugfix
M src/plone/app/theming/utils.py
Repository: plone.app.theming

Branch: refs/heads/master
Date: 2021-09-09T18:04:36+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.theming@28d4365

Merge pull request #200 from plone/issue-199

Fix unclosed file

Files changed:
A news/199.bugfix
M src/plone/app/theming/utils.py
mister-roboto pushed a commit that referenced this issue Mar 15, 2024
Branch: refs/heads/4.3.x
Date: 2024-03-14T21:26:02+01:00
Author: Johannes Raggam (thet) <thetetet@gmail.com>
Commit: plone/plone.app.z3cform@dada24f

Add support for the "accept" attribute on file inputs.

If the widget's field - if there is one - has the "accept" attribute set (the
`NamedImage` field has `image/*` set by default) then this is rendered as an
`accept` attribute on the file input.

This would restrict the allowed file types before uploading while still being
checked on the server side.

Fixes: plone/plone.formwidget.namedfile#66
Depends on:
- plone/plone.namedfile#158
- plone/plone.formwidget.namedfile#67

Files changed:
A news/198.feature
M plone/app/z3cform/templates/file_input.pt
M plone/app/z3cform/templates/image_input.pt
M setup.py
Repository: plone.app.z3cform

Branch: refs/heads/4.3.x
Date: 2024-03-14T23:01:38+01:00
Author: Johannes Raggam (thet) <thetetet@gmail.com>
Commit: plone/plone.app.z3cform@623e413

file input: Show accepted media types.

Files changed:
M plone/app/z3cform/templates/file_input.pt
M plone/app/z3cform/templates/image_input.pt
Repository: plone.app.z3cform

Branch: refs/heads/4.3.x
Date: 2024-03-15T12:40:14+01:00
Author: Johannes Raggam (thet) <thetetet@gmail.com>
Commit: plone/plone.app.z3cform@e58d843

Update plone/app/z3cform/templates/image_input.pt

Co-authored-by: Maurits van Rees &lt;maurits@vanrees.org&gt;

Files changed:
M plone/app/z3cform/templates/image_input.pt
Repository: plone.app.z3cform

Branch: refs/heads/4.3.x
Date: 2024-03-15T12:40:23+01:00
Author: Johannes Raggam (thet) <thetetet@gmail.com>
Commit: plone/plone.app.z3cform@cd8690a

Update plone/app/z3cform/templates/image_input.pt

Co-authored-by: Maurits van Rees &lt;maurits@vanrees.org&gt;

Files changed:
M plone/app/z3cform/templates/image_input.pt
Repository: plone.app.z3cform

Branch: refs/heads/4.3.x
Date: 2024-03-15T12:40:38+01:00
Author: Johannes Raggam (thet) <thetetet@gmail.com>
Commit: plone/plone.app.z3cform@be47183

Update plone/app/z3cform/templates/file_input.pt

Co-authored-by: Maurits van Rees &lt;maurits@vanrees.org&gt;

Files changed:
M plone/app/z3cform/templates/file_input.pt
Repository: plone.app.z3cform

Branch: refs/heads/4.3.x
Date: 2024-03-15T12:40:49+01:00
Author: Johannes Raggam (thet) <thetetet@gmail.com>
Commit: plone/plone.app.z3cform@2071ff4

Update plone/app/z3cform/templates/file_input.pt

Co-authored-by: Maurits van Rees &lt;maurits@vanrees.org&gt;

Files changed:
M plone/app/z3cform/templates/file_input.pt
Repository: plone.app.z3cform

Branch: refs/heads/4.3.x
Date: 2024-03-15T14:40:15+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.z3cform@f327f33

Depend on the just released plone.formwidget.namedfile 3.1.0.

Files changed:
M setup.py
Repository: plone.app.z3cform

Branch: refs/heads/4.3.x
Date: 2024-03-15T16:35:05+01:00
Author: Johannes Raggam (thet) <thetetet@gmail.com>
Commit: plone/plone.app.z3cform@dc9ccae

Merge pull request #199 from plone/allowed_content_types--4.3.x

Add support for accept attribute on file input (4.3.x branch)

Files changed:
A news/198.feature
M plone/app/z3cform/templates/file_input.pt
M plone/app/z3cform/templates/image_input.pt
M setup.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants