Ticket #631 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 years ago

Error when trying to compile plugin

Reported by: anonymous Assigned to: coderanger
Priority: normal Component: SimileTimelinePlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.10

Description (Last modified by coderanger)

I cannot compile this plugin. I have Python 2.4 with Trac 0.10dev on Ubuntu dapper 6.06.

# python setup.py install
running install
running bdist_egg
running egg_info
creating TracSimileTimeline.egg-info
writing requirements to TracSimileTimeline.egg-info/requires.txt
writing TracSimileTimeline.egg-info/PKG-INFO
writing top-level names to TracSimileTimeline.egg-info/top_level.txt
writing entry points to TracSimileTimeline.egg-info/entry_points.txt
warning: manifest_maker: standard file not found: should have one of README, README.txt
writing manifest file 'TracSimileTimeline.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/stimeline
copying stimeline/web_ui.py -> build/lib/stimeline
copying stimeline/__init__.py -> build/lib/stimeline
creating build/lib/stimeline/templates
copying stimeline/templates/stimeline.cs -> build/lib/stimeline/templates
copying stimeline/templates/stimeline_xml.cs -> build/lib/stimeline/templates
creating build/lib/stimeline/htdocs
creating build/lib/stimeline/htdocs/js
creating build/lib/stimeline/htdocs/js/simile
error: can't copy 'stimeline/htdocs/js/simile/ext': doesn't exist or not a regular file

Attachments

Change History

08/21/06 22:43:31 changed by anonymous

Sorry that did not paste properly...

# python setup.py install
running install
running bdist_egg
running egg_info
creating TracSimileTimeline.egg-info
writing requirements to TracSimileTimeline.egg-info/requires.txt
writing TracSimileTimeline.egg-info/PKG-INFO
writing top-level names to TracSimileTimeline.egg-info/top_level.txt
writing entry points to TracSimileTimeline.egg-info/entry_points.txt
warning: manifest_maker: standard file not found: should have one of README, README.txt
writing manifest file 'TracSimileTimeline.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/stimeline
copying stimeline/web_ui.py -> build/lib/stimeline
copying stimeline/__init__.py -> build/lib/stimeline
creating build/lib/stimeline/templates
copying stimeline/templates/stimeline.cs -> build/lib/stimeline/templates
copying stimeline/templates/stimeline_xml.cs -> build/lib/stimeline/templates
creating build/lib/stimeline/htdocs
creating build/lib/stimeline/htdocs/js
creating build/lib/stimeline/htdocs/js/simile
error: can't copy 'stimeline/htdocs/js/simile/ext': doesn't exist or not a regular file

08/21/06 22:58:18 changed by coderanger

  • description changed.

Fixing formatting.

08/21/06 23:36:07 changed by coderanger

  • status changed from new to assigned.

Okay, [1176] should fix this.

08/24/06 22:55:23 changed by anonymous

Good, the fix compiles now. I just have to figure how to get it installed in trac. The egg was deployed, but adding stimeline.* or TracSimileTimeline?.* does nothing. Nothing is getting unpacked in the python-egg-cache either. Doesn't show up in WebAdmin plugins. I'm out of time so I will have to address this later.

08/27/06 17:22:06 changed by anonymous

I get the following

2006-08-27 18:10:04,654 Trac[loader] ERROR: Failed to load plugin stimeline.web_ui from /usr/lib/python2.4/site-packages/TracSimileTimeline-0.1-py2.4.egg
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/loader.py", line 100, in load_components
    entry_point.load()
  File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg/pkg_resources.py", line 1625, in load    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-i686/egg/stimeline/web_ui.py", line 8, in ?
ImportError: No module named html

From the following: from trac.util.html import html, Markup

So perhaps my Trac 0.10 is not a new enough Trac 0.10? I have 3519.

I'll look to see if I can compile a later version. I installed this Trac 0.10 as I backported it to Ubuntu from Debian experimental.

08/27/06 17:48:09 changed by anonymous

  • status changed from assigned to closed.
  • resolution set to fixed.

I installed the same version that's on Edgewall's site (3645) and it works great now.

08/27/06 17:54:45 changed by coderanger

  • status changed from closed to reopened.
  • resolution deleted.

08/27/06 17:55:26 changed by coderanger

  • status changed from reopened to closed.
  • resolution set to worksforme.

Just being a resolution stickler :)

08/28/06 07:16:49 changed by anonymous

I don't get it -- it was a bug and it was fixed by [1176]? I thought 'worksforme' is for tickets filed for what someone thought was a bug but wasn't?


Add/Change #631 (Error when trying to compile plugin)




Change Properties
Action