python-在创建新产品时,在plone4.3上出现错误“找不到鸡蛋信息目录”
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了python-在创建新产品时,在plone4.3上出现错误“找不到鸡蛋信息目录”,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含4642字,纯文字阅读大概需要7分钟。
内容图文
![python-在创建新产品时,在plone4.3上出现错误“找不到鸡蛋信息目录”](/upload/InfoBanner/zyjiaocheng/677/a4307bdb344744d5abd2f370408f0179.jpg)
oomsys@oomsysmob-7:~/brundel/src$../bin/zopeskel plone_basic bdr.theme
plone_basic: A project for Plone products
This creates a package for a basic Plone add-on project, with a
single namespace (like Products.PloneFormGen). To create a package
with a nested namespace use the plone_nested_addon template. If
you are trying to create a Plone *site* you want to use one of the
installers from plone.org or the ploneX_buildout (where x is the
major version of Plone you wish to use)
To create a Plone project with a name like 'plone.app.myproject'
(2 dots, a 'nested namespace'), use the 'plone_app' template.
If at any point, you need additional help for a question, you can enter
'?' and press RETURN.
Expert Mode? (What question mode would you like? (easy/expert/all)?) ['easy']: easy
Version (Version number for project) ['1.0']: 1.0
Description (One-line description of the project) ['']:
Register Profile (Should this package register a GS Profile) [False]: yes
Creating directory ./bdr.theme
Replace 1019 bytes with 1123 bytes (0/43 lines changed; 3 lines added)
Replace 0 bytes with 119 bytes (0/0 lines changed; 5 lines added)
Traceback (most recent call last):
File "../bin/zopeskel", line 21, in <module>
sys.exit(templer.core.zopeskel_script.run())
File "/home/oomsys/brundel/eggs/templer.core-1.0b3-core/zopeskel_script.py", line 398, in run
command.run( [ '-q', '-t', template_name ] + optslist )
File "/home/oomsys/brundel/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 238, in run
result = self.command()
File "/home/oomsys/brundel/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/create_distro.py", line 170, in command
egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name)
File "/home/oomsys/brundel/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/pluginlib.py", line 135, in egg_info_dir
% ', '.join(all))
IOError: No egg-info directory found (looked in ./bdr.theme/./bdr.theme.egg-info, ./bdr.theme/CONTRIBUTORS.txt/bdr.theme.egg-info, ./bdr.theme/src/bdr.theme.egg-info, ./bdr.theme/setup.py/bdr.theme.egg-info, ./bdr.theme/README.txt/bdr.theme.egg-info, ./bdr.theme/docs/bdr.theme.egg-info, ./bdr.theme/CHANGES.txt/bdr.theme.egg-info, ./bdr.theme/buildout.cfg/bdr.theme.egg-info, ./bdr.theme/bootstrap.py/bdr.theme.egg-info)
当我尝试使用此命令创建新产品时,bdr.theme是我的新产品../bin/zopeskelplone_basic bdr.theme我得到了IOERROR(无鸡蛋信息目录).所以任何人都可以回答这个问题
解决方法:
尝试更新到最新的ZopeSkel.我刚刚用最新版本的ZopeSkel创建了一个干净的virtualenv:3.0b3
$../bin/zopeskel plone_basic bdr.theme
plone_basic: A package for Plone add-ons
This template creates a package for a basic Plone add-on project with
a single namespace (like Products.PloneFormGen).
To create a Plone project with a name like 'collective.geo.bundle'
(2 dots, a 'nested namespace'), use the 'plone_nested' template.
This template supports local commands. These commands allow you to
add Plone features to your new package.
If you are trying to create a Plone *site* then the best place to
start is with one of the Plone installers. If you want to build
your own Plone buildout, use one of the plone'N'_buildout templates
If at any point, you need additional help for a question, you can enter
'?' and press RETURN.
Expert Mode? (What question mode would you like? (easy/expert/all)?) ['easy']: easy
Version (Version number for project) ['1.0']: 1.0
Description (One-line description of the project) ['']:
Register Profile (Should this package register a GS Profile) [False]: yes
Robot Tests (Should the default robot test be included) [False]:
Creating directory ./bdr.theme
Replace 1019 bytes with 1450 bytes (2/43 lines changed; 10 lines added)
Replace 42 bytes with 119 bytes (1/1 lines changed; 4 lines added)
------------------------------------------------------------------------------
The project you just created has local commands. These can be used from within
the product.
usage: paster COMMAND
Commands:
add Allows the addition of further templates to an existing package
For more information: paster help COMMAND
------------------------------------------------------------------------------
**************************************************************************
** Your new package supports local commands. To access them, change
** directories into the 'src' directory inside your new package.
** From there, you will be able to run the command `paster add
** --list` to see the local commands available for this package.
**************************************************************************
所以对我有用.但是我也会遇到一个关于您没有获得的机器人测试的问题,所以我猜您有一个较旧的版本.尝试更新.
内容总结
以上是互联网集市为您收集整理的python-在创建新产品时,在plone4.3上出现错误“找不到鸡蛋信息目录”全部内容,希望文章能够帮你解决python-在创建新产品时,在plone4.3上出现错误“找不到鸡蛋信息目录”所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。