Modify

Opened 6 years ago

Last modified 2 years ago

#4330 new defect

IcalExporterPlugin does not work with MasterTickets

Reported by: k0s Owned by: olemis
Priority: normal Component: IcalExporterPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

see http://trac.openplans.org/topp-todo/ticket/1/ics :

BEGIN:VCALENDAR

VERSION:2.0

PRODID:-//Edgewall Software//NONSGML Trac 0.11//EN

METHOD:PUBLISH

X-WR-CALNAME:Topp Todo: Ticket #1: Upgrade svn.openplans.org/svn to SVN 1.5

  server

BEGIN:VEVENT

DTSTAMP:20081123T042624Z

DTSTART;VALUE=DATE:20081123

UID:<http://trac.openplans.org/topp-todo/ticket/1#comment:1\;http://trac.op

 enplans.org/topp-todo/ticket/1#comment:1>

DESCRIPTION:<ul>\n            <li><strong>blocking</strong>\n              

   set to <em>2</em>\n            </li>\n          </ul>

URL:http://trac.openplans.org/topp-todo/ticket/1#comment:1

SUMMARY:comment added\; blocking set

END:VEVENT

END:VCALENDAR


<pre>
MOD_PYTHON ERROR

ProcessId:      1024
Interpreter:    'main_interpreter'

ServerName:     'trac.openplans.org'
DocumentRoot:   '/var/www/localhost/htdocs'

URI:            '/topp-todo/ticket/1/ics'
Location:       '/'
Directory:      None
Filename:       '/var/www/localhost/htdocs/topp-todo'
PathInfo:       '/ticket/1/ics'

Phase:          'PythonHandler'
Handler:        'myvirtualtrac'

Traceback (most recent call last):

  File "//usr/lib64/python2.4/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "//usr/lib64/python2.4/site-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "//usr/lib64/python2.4/site-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/usr/local/topp/trac/builds/20080710182345/src/trac/trac/web/modpython_frontend.py", line 149, in handler
    gateway.run(dispatch_request)

  File "/usr/local/topp/trac/builds/20080710182345/src/trac/trac/web/wsgi.py", line 87, in run
    response = application(self.environ, self._start_response)

  File "/usr/local/topp/trac/builds/20080710182345/src/trac/trac/web/main.py", line 427, in dispatch_request
    return _dispatch_request(req, env, env_error)

  File "/usr/local/topp/trac/builds/20080710182345/src/trac/trac/web/main.py", line 522, in _dispatch_request
    req.send_error(exc_info, status=500, env=env, data=data)

  File "/usr/local/topp/trac/builds/20080710182345/src/trac/trac/web/api.py", line 397, in send_error
    exc_info)

  File "/usr/local/topp/trac/builds/20080710182345/src/trac/trac/web/main.py", line 456, in _dispatch_request
    dispatcher.dispatch(req)

  File "/usr/local/topp/trac/builds/20080710182345/src/trac/trac/web/main.py", line 243, in dispatch
    self._post_process_request(req)

  File "/usr/local/topp/trac/builds/20080710182345/src/trac/trac/web/main.py", line 334, in _post_process_request
    f.post_process_request(req, *(None,)*extra_arg_count)

  File "/usr/local/topp/trac/builds/20080710182345/src/masterticketsplugin/mastertickets/web_ui.py", line 43, in post_process_request
    tkt = data['ticket']

TypeError: unsubscriptable object

</pre>

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by rjollos

  • Owner changed from k0s to olemis

Add Comment

Modify Ticket

Action
as new The owner will remain olemis.
Author


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

 
Note: See TracTickets for help on using tickets.