Modify

Opened 9 years ago

Closed 9 years ago

#12662 closed defect (fixed)

After drag n drop: "TypeError: select() got an unexpected keyword argument 'db'"

Reported by: lkraav Owned by: Jun Omae
Priority: normal Component: TracDragDropPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description

2016-02-05 23:41:28,171 Trac[web_ui] ERROR: Internal error in tracdragdrop
Traceback (most recent call last):
  File "/home/trac/src/trac-hacks.git/tracdragdropplugin/0.12/tracdragdrop/web_ui.py", line 207, in process_request
    return self._delegate_new_request(req)
  File "/home/trac/src/trac-hacks.git/tracdragdropplugin/0.12/tracdragdrop/web_ui.py", line 244, in _delegate_new_request
    return self._render_attachments(req)
  File "/home/trac/src/trac-hacks.git/tracdragdropplugin/0.12/tracdragdrop/web_ui.py", line 267, in _render_attachments
    in Attachment.select(self.env, realm, path, db=db)]
TypeError: select() got an unexpected keyword argument 'db'

Surprisingly, the attachments still show up, but only after a full page reload.

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Jun Omae

Resolution: fixed
Status: newclosed

In 15220:

TracDragDropPlugin: fix TypeError after a file is attached on Trac 1.2dev (closes #12662)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.