Modify

Opened 10 years ago

Closed 10 years ago

#2153 closed defect (worksforme)

Cannot access the downloads page

Reported by: anonymous Owned by: Radek Bartoň
Priority: normal Component: DownloadsPlugin
Severity: critical Keywords:
Cc: susheel.varma@… Trac Release: 0.10

Description

Here's the traceback: Traceback (most recent call last):

File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "build/bdist.linux-x86_64/egg/tracdownloads/core.py", line 72, in process_request File "build/bdist.linux-x86_64/egg/tracdownloads/api.py", line 324, in process_downloads File "build/bdist.linux-x86_64/egg/tracdownloads/api.py", line 458, in _do_action File "build/bdist.linux-x86_64/egg/tracdownloads/api.py", line 90, in get_downloads File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 51, in execute

return self.cursor.execute(sql)

File "/usr/lib64/python2.3/site-packages/sqlite/main.py", line 244, in execute

self.rs = self.con.db.execute(SQL)

DatabaseError: no such column: count

Please help!!

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by anonymous

Cc: susheel.varma@… added; anonymous removed

comment:2 Changed 10 years ago by anonymous

Severity: normalcritical

comment:3 Changed 10 years ago by Radek Bartoň

Status: newassigned

Seems like your database is not set up properly. Try to remove all DownloadsPlugin database entries by using recently added clean.sh script with trac envirnoment as a argument or execute SQL commands directly in sqlite console. Then trac-admin upgrade your environment aggain. If this will still occur, send debug log and relevant parts of .schema sqlite console command output, please.

comment:4 Changed 10 years ago by Radek Bartoň

Still acual?

comment:5 Changed 10 years ago by Radek Bartoň

Resolution: worksforme
Status: assignedclosed

Probably misconfiguration or unexpected error during environment update. Removing all DownloadsPlguin tables and re-updating aggain may help. I'm closing the ticket due lack of feedback, reopen if something changes.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.