Modify

Opened 10 years ago

Closed 6 years ago

#2616 closed defect (wontfix)

admin -> downloader gives an error

Reported by: ham_se17 Owned by: Petr Škoda
Priority: high Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

Oops... Trac detected an internal error:

expected read buffer, int found


Python traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4240-py2.4.egg/webadmin/web_ui.py", line 109, in process_request
    path_info)
  File "/usr/lib/python2.4/site-packages/TracDownloader-0.1-trac-0.9.egg/tracdownloader/admin.py", line 127, in process_admin_request
    req.args['page'] = 1
  File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 172, in __setitem__
    self.list.append(util.Field(key, StringIO(value), 'text/plain',
TypeError: expected read buffer, int found


Attachments (0)

Change History (5)

comment:1 in reply to:  description Changed 10 years ago by Petr Škoda

Status: newassigned

Hello,

please get me more information like what was clicked before this error occured and what is extact branch (like for what version of Trac) of DownloaderPlugin and exact version of Trac.

Thanks and I'm sorry for such late reply - my mailbox often filters Trac-hack emails as spam. :o(

Replying to ham_se17:

Oops... Trac detected an internal error:

expected read buffer, int found


Python traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4240-py2.4.egg/webadmin/web_ui.py", line 109, in process_request
    path_info)
  File "/usr/lib/python2.4/site-packages/TracDownloader-0.1-trac-0.9.egg/tracdownloader/admin.py", line 127, in process_admin_request
    req.args['page'] = 1
  File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 172, in __setitem__
    self.list.append(util.Field(key, StringIO(value), 'text/plain',
TypeError: expected read buffer, int found


comment:2 Changed 10 years ago by kervala

I suspect URLs are bad formed. I'm using a http://trac.mydomain.com/project_name/ URL for Trac and when I click on "Downloader" URL becomes http://trac.mydomain.com/downloader/ which one is not valid anymore for this project because the "project_name" was removed.

comment:3 in reply to:  2 Changed 10 years ago by Petr Škoda

Resolution: invalid
Status: assignedclosed

Hello,

your problem is in your environment configuration, you must correctly set up variable "base_url" in [trac] section.

Have a nice day!

Replying to kervala:

I suspect URLs are bad formed. I'm using a http://trac.mydomain.com/project_name/ URL for Trac and when I click on "Downloader" URL becomes http://trac.mydomain.com/downloader/ which one is not valid anymore for this project because the "project_name" was removed.

comment:4 Changed 10 years ago by ham_se17

Resolution: invalid
Status: closedreopened

Hi again, well the error does not occur when i browse the "DOWNLOAD" site itself, the error occurs when I try do use the administration part of this plugin.

I use this url for the administration: TRAC: http://somesite.com/tracpath/ ADMIN: http://somesite.com/tracpath/admin/general/downloader

Then I see the error (post #0).

My trac version: 0.9.6

Python 2.4.4 (#1, Feb 21 2008, 11:37:15) [GCC 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)] on linux2

comment:5 Changed 6 years ago by Ryan J Ollos

Resolution: wontfix
Status: reopenedclosed

0.9 and 0.10 not supported.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Petr Škoda.
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.