Modify ↓
#11840 closed defect (fixed)
Installation error on Trac 1.0.1
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | CollapsiblePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
I just downloaded the source from Trac Hacks (collapsibleplugin-13996.zip) and, when running (in the 0.12 branch):
python setup.py install
There is an indentation error in one of the files. I looked at collapsibleplugin/0.12/traccollapsible/collapsible.py but did not see the problem. My Python is minimal.
Here is what was printed from the command above:
running install running bdist_egg running egg_info creating TracCollapsiblePlugin.egg-info writing requirements to TracCollapsiblePlugin.egg-info/requires.txt writing TracCollapsiblePlugin.egg-info/PKG-INFO writing top-level names to TracCollapsiblePlugin.egg-info/top_level.txt writing dependency_links to TracCollapsiblePlugin.egg-info/dependency_links.txt writing entry points to TracCollapsiblePlugin.egg-info/entry_points.txt writing manifest file 'TracCollapsiblePlugin.egg-info/SOURCES.txt' reading manifest file 'TracCollapsiblePlugin.egg-info/SOURCES.txt' writing manifest file 'TracCollapsiblePlugin.egg-info/SOURCES.txt' installing library code to build/bdist.linux-i686/egg running install_lib running build_py creating build creating build/lib creating build/lib/traccollapsible copying traccollapsible/__init__.py -> build/lib/traccollapsible copying traccollapsible/collapsible.py -> build/lib/traccollapsible creating build/bdist.linux-i686 creating build/bdist.linux-i686/egg creating build/bdist.linux-i686/egg/traccollapsible copying build/lib/traccollapsible/__init__.py -> build/bdist.linux-i686/egg/traccollapsible copying build/lib/traccollapsible/collapsible.py -> build/bdist.linux-i686/egg/traccollapsible byte-compiling build/bdist.linux-i686/egg/traccollapsible/__init__.py to __init__.pyc byte-compiling build/bdist.linux-i686/egg/traccollapsible/collapsible.py to collapsible.pyc Sorry: IndentationError: ('expected an indented block', ('build/bdist.linux-i686/egg/traccollapsible/collapsible.py', 42, 8, ' args, kw = parse_args(content)\n')) creating build/bdist.linux-i686/egg/EGG-INFO copying TracCollapsiblePlugin.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO copying TracCollapsiblePlugin.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO copying TracCollapsiblePlugin.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO copying TracCollapsiblePlugin.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO copying TracCollapsiblePlugin.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-INFO copying TracCollapsiblePlugin.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/TracCollapsiblePlugin-0.1-py2.7.egg' and adding 'build/bdist.linux-i686/egg' to it removing 'build/bdist.linux-i686/egg' (and everything under it) Processing TracCollapsiblePlugin-0.1-py2.7.egg Copying TracCollapsiblePlugin-0.1-py2.7.egg to /usr/lib/python2.7/site-packages Adding TracCollapsiblePlugin 0.1 to easy-install.pth file Installed /usr/lib/python2.7/site-packages/TracCollapsiblePlugin-0.1-py2.7.egg Processing dependencies for TracCollapsiblePlugin==0.1 Searching for Trac==1.0.1 Best match: Trac 1.0.1 Adding Trac 1.0.1 to easy-install.pth file Installing trac-admin script to /usr/bin Installing tracd script to /usr/bin Using /usr/lib/python2.7/site-packages Searching for setuptools==3.6 Best match: setuptools 3.6 Adding setuptools 3.6 to easy-install.pth file Installing easy_install script to /usr/bin Installing easy_install-2.7 script to /usr/bin Using /usr/lib/python2.7/site-packages Searching for Genshi==0.7 Best match: Genshi 0.7 Adding Genshi 0.7 to easy-install.pth file Using /usr/lib/python2.7/site-packages Finished processing dependencies for TracCollapsiblePlugin==0.1
Attachments (0)
Change History (4)
comment:1 Changed 11 years ago by
Owner: | changed from codingking to Ryan J Ollos |
---|---|
Status: | new → accepted |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:3 Changed 11 years ago by
Thanks. Works for me now. Great to be able to make some big wiki pages less intimidating!
comment:4 Changed 11 years ago by
There are a few other similar plugins that provide a different macro syntax, in case the one provided by this plugin isn't ideal for you: FoldingMacro, FoldMacroProcessorMacro, FoldMacro.
Note: See
TracTickets for help on using
tickets.
In 13997: