If i create a new theme, i become a Traceback:
../bin/paster create -t gomobile_theme gomobiletheme.mytheme
Selected and implied templates:
templer.core#basic_namespace A basic Python project with a
namespace package
gomobile.templates#gomobile_theme A theme for Go Mobile for Plone
Variables:
egg: gomobiletheme.mytheme
package: gomobilethememytheme
project: gomobiletheme.mytheme
Expert Mode? (What question mode would you like? (easy/expert/all)?)
['easy']:
Version (Version number for project) ['1.0']:
Description (One-line description of the project) ['A theme for Go mobile
for Plone']:
Creating template basic_namespace
Creating directory ./gomobiletheme.mytheme
Copying setup.py_tmpl to ./gomobiletheme.mytheme/setup.py
Recursing into src
Creating ./gomobiletheme.mytheme/src/
Recursing into +namespace_package+
Creating ./gomobiletheme.mytheme/src/gomobiletheme/
Recursing into +package+
Creating ./gomobiletheme.mytheme/src/gomobiletheme/mytheme/
Copying __init__.py_tmpl to
./gomobiletheme.mytheme/src/gomobiletheme/mytheme/__init__.py
Copying __init__.py_tmpl to
./gomobiletheme.mytheme/src/gomobiletheme/__init__.py
Creating template gomobile_theme
Recursing into +namespace_package+
Creating ./gomobiletheme.mytheme/gomobiletheme/
Recursing into +package+
Creating ./gomobiletheme.mytheme/gomobiletheme/mytheme/
Copying __init__.py to
./gomobiletheme.mytheme/gomobiletheme/mytheme/__init__.py
Copying configure.zcml_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/configure.zcml
Copying interfaces.py to
./gomobiletheme.mytheme/gomobiletheme/mytheme/interfaces.py
Recursing into profiles
Creating ./gomobiletheme.mytheme/gomobiletheme/mytheme/profiles/
Recursing into default
Creating
./gomobiletheme.mytheme/gomobiletheme/mytheme/profiles/default/
Copying metadata.xml_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/profiles/default/metadata.xml
Copying propertiestool.xml_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/profiles/default/propertiestool.xml
Copying skins.xml_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/profiles/default/skins.xml
Recursing into skins
Creating ./gomobiletheme.mytheme/gomobiletheme/mytheme/skins/
Recursing into +namespace_package+_+package+
Creating
./gomobiletheme.mytheme/gomobiletheme/mytheme/skins/gomobiletheme_mytheme/
Copying skins_folder_readme.txt to
./gomobiletheme.mytheme/gomobiletheme/mytheme/skins/gomobiletheme_mytheme/skins_folder_readme.txt
Recursing into static
Creating ./gomobiletheme.mytheme/gomobiletheme/mytheme/static/
Copying common.css_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/static/common.css
Copying highend.css_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/static/highend.css
Copying logo.png to
./gomobiletheme.mytheme/gomobiletheme/mytheme/static/logo.png
Copying lowend.css_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/static/lowend.css
Copying theme.js_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/static/theme.js
Recursing into templates
Creating ./gomobiletheme.mytheme/gomobiletheme/mytheme/templates/
Copying additionalhead.pt to
./gomobiletheme.mytheme/gomobiletheme/mytheme/templates/additionalhead.pt
Copying tests.py_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/tests.py
Copying viewlets.py_tmpl to
./gomobiletheme.mytheme/gomobiletheme/mytheme/viewlets.py
Recursing into docs
Replace 18092 bytes with 17987 bytes (8/339 lines changed)
Copying LICENSE.GPL to ./gomobiletheme.mytheme/docs/LICENSE.GPL
Replace 731 bytes with 738 bytes (13/16 lines changed)
Copying LICENSE.txt_tmpl to ./gomobiletheme.mytheme/docs/LICENSE.txt
Replace 1072 bytes with 1124 bytes (14/43 lines changed; 3 lines removed)
Copying setup.py_tmpl to ./gomobiletheme.mytheme/setup.py
Running /opt/plone4/plone4/../bin/python setup.py egg_info
Traceback (most recent call last):
File "../bin/paster", line 275, in <module>
paste.script.command.run()
File
"/opt/plone4/plone4/eggs/PasteScript-1.7.5-py2.6.egg/paste/script/command.py",
line 104, in run
invoke(command, command_name, options, args[1:])
File
"/opt/plone4/plone4/eggs/PasteScript-1.7.5-py2.6.egg/paste/script/command.py",
line 143, in invoke
exit_code = runner.run(args)
File
"/opt/plone4/plone4/eggs/PasteScript-1.7.5-py2.6.egg/paste/script/command.py",
line 238, in run
result = self.command()
File
"/opt/plone4/plone4/eggs/PasteScript-1.7.5-py2.6.egg/paste/script/create_distro.py",
line 170, in command
egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name)
File
"/opt/plone4/plone4/eggs/PasteScript-1.7.5-py2.6.egg/paste/script/pluginlib.py",
line 135, in egg_info_dir
% ', '.join(all))
IOError: No egg-info directory found (looked in
./gomobiletheme.mytheme/./gomobiletheme.mytheme.egg-info,
./gomobiletheme.mytheme/setup.cfg/gomobiletheme.mytheme.egg-info,
./gomobiletheme.mytheme/docs/gomobiletheme.mytheme.egg-info,
./gomobiletheme.mytheme/README.txt/gomobiletheme.mytheme.egg-info,
./gomobiletheme.mytheme/gomobiletheme/gomobiletheme.mytheme.egg-info,
./gomobiletheme.mytheme/src/gomobiletheme.mytheme.egg-info,
./gomobiletheme.mytheme/setup.py/gomobiletheme.mytheme.egg-info,
./gomobiletheme.mytheme/CONTRIBUTORS.txt/gomobiletheme.mytheme.egg-info,
./gomobiletheme.mytheme/CHANGES.txt/gomobiletheme.mytheme.egg-info)
Post by Danny Maertensfrom setuptools import setup, find_packages
import os
version = '1.0'
setup(name='gomobiletheme.yourcompanyname',
version=version,
description="A theme for Go mobile for Plone",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Framework :: Plone",
"Programming Language :: Python",
],
keywords='',
author='',
author_email='',
url='http://svn.plone.org/svn/collective/',
license='gpl',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['gomobiletheme'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'gomobiletheme.basic',
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
""",
setup_requires=["PasteScript"],
paster_plugins = ["ZopeSkel"],
)
Post by Mikko OhtamaaHi,
Is there setup.py file in src/gomobiletheme.yourcompanyname ?
-Mikko
Post by shinemaster../bin/paster create -t gomobile_theme gomobiletheme.yourcompanyname
Then I added my theme to buildout.cfg, reran it become a error like
------------------
bin/buildout
Develop: '/opt/plone4/plone4/src/gomobiletheme.yourcompanyname'
error in gomobiletheme.yourcompanyname setup command: Distribution
contains no modules or packages for namespace package 'gomobiletheme'
Installing.
Processing develop directory '/opt/plone4/plone4/src/
gomobiletheme.yourcompanyname'.
An internal error occured due to a bug in either zc.buildout or in a
File "/opt/plone4/plone4/eggs/zc.buildout-1.4.3-py2.6.egg/zc/
buildout/buildout.py", line 1660, in main
getattr(buildout, command)(args)
File "/opt/plone4/plone4/eggs/zc.buildout-1.4.3-py2.6.egg/zc/
buildout/buildout.py", line 394, in install
installed_develop_eggs = self._develop()
File "/opt/plone4/plone4/eggs/zc.buildout-1.4.3-py2.6.egg/zc/
buildout/buildout.py", line 634, in _develop
zc.buildout.easy_install.develop(setup, dest)
File "/opt/plone4/plone4/eggs/zc.buildout-1.4.3-py2.6.egg/zc/
buildout/easy_install.py", line 895, in develop
*args) == 0
AssertionError
------------------
Know anyone whats wrong?
--
You received this message because you are subscribed to the Google
Groups "gomobile-dev" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/gomobile-dev?hl=en.
--
Mikko Ohtamaa
http://opensourcehacker.com
--
You received this message because you are subscribed to the Google Groups
"gomobile-dev" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/gomobile-dev?hl=en.
--
You received this message because you are subscribed to the Google Groups "gomobile-dev" group.
To post to this group, send email to gomobile-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to gomobile-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/gomobile-dev?hl=en.