Error Missing Option Buildout Parts
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How can I install my project from source with Buildout? up vote 6 down vote favorite 3 I want to use Buildout to install my Distribute-based project and its dependencies to an isolated environment. My project should be installed directly from the source tree (a local Git repository), and is not registered with PyPI. How do I accomplish this? Edit: Thanks to M. Pieters I was able to suss out what to do. I'm posting my buildout.cfg for reference: [buildout] develop = . parts = fbt [fbt] recipe = z3c.recipe.scripts eggs = BuildTools Although I didn't need it right now, knowledge of mr.developer could definitely come in handy in the future. python deployment buildout share|improve this question edited Apr 20 '11 at 10:08 asked Apr 18 '11 at 13:15 aknuds1 21.1k28102190 add a comment| 2 Answers 2 active oldest votes up vote 11 down vote accepted You have 3 options, depending on where you want your buildout configuration to live and what options you have to check out your git repository. Note that as far as Python is concerned, the resulting egg is exactly the same. The only difference between a development egg and a "normal" egg is that a development egg overrides any version requirements set elsewhere for that egg; it will be used regardless of what other versions of the egg are found elsewhere. Inside the development repository Just use the develop option. This creates a development egg, which is just the same as a normal egg but without a version check, nothing more, nothing less.
Foundation Core Development Package Index > zc.buildout > 1.4.4 Not Logged In Login Register Lost Login? Use OpenID Login with Google zc.buildout 1.4.4 Download zc.buildout-1.4.4.tar.gz System for managing development buildouts Latest Version: 2.5.3 Note: the 1.4.4 release is a release for people who encounter trouble with the 1.5 line. By switching to the associated bootstrap script you can stay on 1.4.4 until you are ready to migrate. Contents Recipes Buildout examples Try out an egg Work on a package Install egg-based scripts Multi-program multi-machine systems Questions and Bug Reporting Detailed Documentation Buildouts Recipes http://stackoverflow.com/questions/5703456/how-can-i-install-my-project-from-source-with-buildout Error reporting Recipe Error Handling Configuration file syntax Annotated sections Variable substitutions Automatic part selection and ordering Extending sections (macros) Adding and removing options Multiple configuration files Loading Configuration from URLs User defaults Log level Uninstall recipes Command-line usage Alternate directory and file locations Logging control Predefined buildout options Creating new buildouts and bootstrapping Newest and Offline Modes Preferring Final https://pypi.python.org/pypi/zc.buildout/1.4.4 Releases Finding distributions Dependency links Controlling the installation database Extensions Allow hosts Always unzipping eggs Repeatable buildouts: controlling eggs used Using the download utility Downloading without using the cache Downloading using the download cache Simple usage Using namespace sub-directories of the download cache Using a hash of the URL as the filename in the cache Using the cache purely as a fall-back Configuring the download utility from buildout options Regressions Clean up Using a download cache Installing solely from a download cache Caching extended configuration Basic use of the extends cache Specifying extends cache and offline mode Extends cache Clean up Using zc.buildout to run setup scripts Automatic Buildout Updates Debugging buildouts Testing Support zc.buildout.testing.buildoutSetUp(test) zc.buildout.testing.buildoutTearDown(test) install(project, destination) install_develop(project, destination) Output normalization Python API for egg and script installation Distribution installation Specifying version information independent of requirements Dependency links Script generation Including extra paths in scripts Providing script arguments Passing initialization code Relative paths Handling custom build options for extensions provided in source distributions Handling custom build options for extensions in develop eggs Download cache Installi
Sign in Pricing Blog Support Search GitHub This repository Watch 174 Star 103 Fork 40 collective/buildout.python Code Issues 5 Pull requests https://github.com/collective/buildout.python/issues/35 2 Projects 0 Pulse Graphs New issue installation fails on debian http://community.plone.org/t/trouble-install-crontab/1396 #35 Closed mgrbyte opened this Issue Nov 6, 2013 · 6 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants mgrbyte commented Nov 6, 2013 Using system python2.7, following the instructions in docs/INSTALL.txt Updating python-3.4-test. error missing Installing pypy-download. While: Installing pypy-download. Error: Missing option: pypy-download:url Plone Collective member fschulze commented Nov 9, 2013 Damn, that's a side effect of enabling pypy by default in #34 😦 Could you try the pypy-on-osx-only branch? mgrbyte commented Nov 9, 2013 Hi, I have commented py24, py25 out of the buildout.cfg did: git checkout -b origin/pypy-on-osx-only bin/buildout error missing option Output: Installed /home/zope/buildout.python/parts/opt/lib/python3.4/site-packages/Pillow-2.2.1-py3.4-linux-x86_64.egg Processing dependencies for Pillow Finished processing dependencies for Pillow Unused options for python-3.4-PIL: 'update-command'. Installing python-3.4-test. Unused options for python-3.4-test: 'update-script'. Installing pypy-download. While: Installing pypy-download. Error: Missing option: pypy-download:url Plone Collective member fschulze commented Nov 10, 2013 git checkout -b origin/pypy-on-osx-only I'd say that created a branch. Check git log for this commit: b7f8cd3 I think you need to use git checkout -t origin/pypy-on-osx-only mgrbyte commented Nov 10, 2013 Yep, doh. I checked out the remote tracking branch, re-ran buildout: Installed /home/zope/buildout.python/parts/opt/lib/python3.4/site-packages/Pillow-2.2.1-py3.4-linux-x86_64.egg Processing dependencies for Pillow Finished processing dependencies for Pillow Installing python-3.4-test. Installing pypy-download. While: Installing pypy-download. Error: Missing option: pypy-download:url Plone Collective member fschulze commented Nov 22, 2013 I tested it myself now and it works for me. Merged on master. fschulze closed this Nov 22, 2013 mgrbyte commented Nov 22, 2013 master works for me too, thanks. Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training
question is on getting crontab to work. Below is the pertinent section of buildoutfollowed by the error I get when running buildout. Parts Specification -------------------- Specifies the components that should be included in the buildout. Most are defined in the base.cfg extension; you may add your own if you need them at the end of this file. parts = instance repozo backup zopepy unifiedinstaller mycronjob Major Parts ---------------------- These common parts make use of sane base settings from base.cfg. To customize a part, just add whatever options you need. Read base.cfg for common settings. [instance]<= instance_baserecipe = plone.recipe.zope2instancehttp-address = 20545recipe = plone.recipe.zope2instance [mycronjob] recipe = z3c.recipe.usercrontabtimes = 0 12 * * *command = echo nothing happens at nooncomment = this is for the coming soon content rule Error message I get: While: Installing.Error: Missing option: buildout:parts Thoughts on what I am missing vangheem (Nathan Van Gheem) 2016-01-11 02:56:25 UTC #2 Can you paste the entire file and put it in a code block so formatting doesn't get weird please rileydog (Wayne Glover) 2016-01-11 06:56:57 UTC #3 Ok, I figured out what I was doing wrong. When I use wget on it's own, the command goes on the same line URL. However, for the crontab the command has a separate line. also, I was trying to use 24 for midnight (on a different version than posted above) and turns out has to be "0". Thus, this is the code that worked in buildout [mycronjob] recipe = z3c.recipe.usercrontabtimes = 1 0 * * * command = wget http://mckennariley.webfactional.com/@@comingsoon-notifycomment = for "coming soon" content rule. runs wget everyday at midnight + 1 min Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled plone.org plone.com training.plone.org docs.plone.org  Code of Conduct – Hosting courtesy of Rackspace