Custom Query (7 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 7)

1 2 3
Ticket Resolution Summary Owner Reporter
#9 fixed python error when viewing source Thomas Moschny claudesebjean@…
Description

After installing the plugin (v0.0.14) and trying to browse source I have the following error:

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 112, in process_request
    rev_or_latest = rev or repos.youngest_rev
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 189, in <lambda>
    youngest_rev = property(lambda x: x.get_youngest_rev())
  File "build/bdist.linux-i686/egg/tracmtn/backend.py", line 392, in get_youngest_rev
  File "build/bdist.linux-i686/egg/tracmtn/backend.py", line 527, in get_dates
  File "build/bdist.linux-i686/egg/tracmtn/util.py", line 112, in __call__
  File "build/bdist.linux-i686/egg/tracmtn/backend.py", line 291, in _get_cache
  File "build/bdist.linux-i686/egg/tracmtn/cache.py", line 35, in get_cache
TypeError: __init__() takes exactly 3 arguments (2 given)

Thanks.

#2 fixed many datetime.datetime to int compare errors as of trac rev 4475 Thomas Moschny marcel@…
Description

From casual inspection it seems that either trac switched to datetime objects or earlier checks/conversions are not present anymore in the trac trunk (rev 4475 )

Inserting conversions (for example in util/datefmt.py) helps getting rid of some, but i wonder is the mtn.dates() method should perhaps be adapted to return a list of datetime objects?

#7 fixed Trac ticket #4972 needs a change in the mtn plugin Thomas Moschny anonymous
Description

I've just done this in backend.py

 @@ -382,6 +382,12 @@ class MonotoneRepository(Repository):
          """
          return dates(self.mtn.certs(rev).get('date', []))
   
 +    def close(self): 
 +       """
 +       Do whatever is needed to close a repository. 
 +       Nothing yet, we just dont raise the exception like our parent does.
 +       """
 +

Other than that, i'm clueless what would need to be done in that method.

1 2 3
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.