Modify

Opened 6 years ago

Closed 6 years ago

#3381 closed defect (fixed)

"Unknown Function First Called": Clearsilver 0.10.5 Interaction Failure

Reported by: wbranderson@… Owned by: dagomez
Priority: normal Component: StractisticsPlugin
Severity: normal Keywords: clearsilver render unknown function called
Cc: Trac Release: 0.11

Description

I recently upgraded my Clearsilver from 0.9.14 to 0.10.5. After getting everything compiled, I dropped the neo_cgi.pyd file in my site-packages folder and reloaded Trac. I get the following error (same error I received when using Clearsilver 0.9.14). I am running a Win2k3 SBS system.

2008-07-13 14:48:20,611 Trac[main] ERROR: ParseError: [C:\Documents and Settings\Administrator\Application Data\Python-Eggs\stractistics-0.4.2-py2.4.egg-tmp\stractistics\templates/myHeader.cs:98] Unknown function first called
Traceback (most recent call last):

File "c:\python24\lib\site-packages\trac-0.11-py2.4.egg\trac\web\main.py", line 423, in _dispatch_request

dispatcher.dispatch(req)

File "c:\python24\lib\site-packages\trac-0.11-py2.4.egg\trac\web\main.py", line 206, in dispatch

req.display(template, content_type or 'text/html')

File "c:\python24\lib\site-packages\trac-0.11-py2.4.egg\trac\web\api.py", line 309, in display

data = self.hdf.render(template, form_token)

File "c:\python24\lib\site-packages\trac-0.11-py2.4.egg\trac\web\clearsilver.py", line 311, in render

template.parseFile(filename)

ParseError: ParseError: [C:\Documents and Settings\Administrator\Application Data\Python-Eggs\stractistics-0.4.2-py2.4.egg-tmp\stractistics\templates/myHeader.cs:98] Unknown function first called

Additional Info:

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Trac: 0.11
Python: 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)]
setuptools: 0.6c7
SQLite: 3.4.0
pysqlite: 2.3.5
Genshi: 0.5
Subversion: 1.4.2 (r22196)
jQuery: 1.2.3

Any help in getting this issue resolved would be great. Thanks!

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by dagomez

Hi, both first() and last() functions were included in http://www.clearsilver.net/downloads/Notes-0.10.2 Clearsilver 0.10.2. It seems that Python is still using !0.9.14 instead of !0.10.5. Could you check it?

comment:2 Changed 6 years ago by wbranderson@…

How do I check? And what files comprise clearsilver (other than neo_cgi.pyd)? My apologies for the newbie type question but I compiled clearsilver on another (identical) system and then dropped neo_cgi.pyd in my site-packages directory.

comment:3 Changed 6 years ago by anonymous

How did you install Clearsilver 0.9.14 Perhaps you've got a Clearsilver 0.9.14 egg in your site-packages. Look also for any reference in easy-install.pth. After any old clearsilver version is deleted, dropping the 0.10.5 neo_cgi.pyd (I think you also need neo_cgi.py) in your site-packages again should do the trick.

comment:4 Changed 6 years ago by wbranderson@…

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

I removed the clearsilver 0.9.14 egg from my site-packages dir (stupid error on my part), cleaned up easy-install.pth, and dropped in neo_cgi.pyd, and all is well. Looks great!

Issue resolved; ticket closed.

Add Comment

Modify Ticket

Action
as closed The owner will remain dagomez.
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.