Ticket #2616 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 months ago

admin -> downloader gives an error

Reported by: ham_se17 Assigned to: peca
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

Change History

(in reply to: ↑ description ) 03/01/08 01:41:35 changed by peca

  • status changed from new to assigned.

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.argspage? = 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 }}}

(follow-up: ↓ 3 ) 03/02/08 14:19:58 changed 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.

(in reply to: ↑ 2 ) 03/02/08 15:18:45 changed by peca

  • status changed from assigned to closed.
  • resolution set to invalid.

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.

03/14/08 16:03:27 changed by ham_se17

  • status changed from closed to reopened.
  • resolution deleted.

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

02/02/12 23:22:53 changed by rjollos

  • status changed from reopened to closed.
  • resolution set to wontfix.

0.9 and 0.10 not supported.


Add/Change #2616 (admin -> downloader gives an error)




Change Properties
Action