Modify

Opened 8 years ago

Closed 2 years ago

#631 closed enhancement (fixed)

Error when trying to compile plugin

Reported by: anonymous Owned by: coderanger
Priority: high Component: SimileTimelinePlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

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 (0)

Change History (11)

comment:1 Changed 8 years ago 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

comment:2 Changed 8 years ago by coderanger

  • Description modified (diff)

Fixing formatting.

comment:3 Changed 8 years ago by coderanger

  • Status changed from new to assigned

Okay, [1176] should fix this.

comment:4 Changed 8 years ago 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.

comment:5 Changed 8 years ago 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.

comment:6 Changed 8 years ago by anonymous

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:7 Changed 8 years ago by coderanger

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:8 Changed 8 years ago by coderanger

  • Resolution set to worksforme
  • Status changed from reopened to closed

Just being a resolution stickler :)

comment:9 Changed 8 years ago 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?

comment:10 Changed 6 years ago by anonymous

  • Priority changed from normal to high
  • Resolution worksforme deleted
  • Severity changed from blocker to major
  • Status changed from closed to reopened
  • Trac Release changed from 0.10 to 0.11
  • Type changed from defect to enhancement

Hi,

How do I add some information/events by sql-syntax or authors-specific to the timeline view?
Thanks a lot.

comment:11 Changed 2 years ago by rjollos

  • Resolution set to fixed
  • Status changed from reopened to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.