Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10497 closed defect (cantfix)

IOError: [Errno 9] Bad file descriptor: 'userlist201112121437530998.tsv'

Reported by: zhangxf@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /admin/accounts/userimport, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'e21aa2381b461c3301dbd726',
 'cat_id': u'accounts',
 'filename': FieldStorage('filename', '\xe3\x82\xb3\xe3\x83\x94\xe3\x83\xbc \xef\xbd\x9e \xe3\x83\xa6\xe3\x83\xbc\xe3\x82\xb6\xe7\xae\xa1\xe7\x90\x86_\xe3\x83\xa6\xe3\x83\xbc\xe3\x82\xb6\xe7\x99\xbb\xe9\x8c\xb2_20111212.txt', ''),
 'panel_id': u'userimport',
 'path_info': None,
 'upload': u'\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9'}

User agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0

System Information

Trac 0.12.ja1
Babel 0.9.5
Docutils 0.6
Genshi 0.6
mod_python 3.3.1
Pygments 1.2.2dev-20101012
pysqlite 2.3.2
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c11
SQLite 3.3.4
Subversion 1.6.6 (r40053)
jQuery 1.4.2

Enabled Plugins

authzsvnfileadminplugin 0.1.1
batchmodify 0.6.0-trac0.12
codereviewplugin 0.1
excelreportexportplugin 0.0.2
iniadmin 0.2
privatewikis 1.0.1
report2excelplugin 0.1
searchmultiprojectplugin 0.1
ticketauthoritycontrol 0.1
ticketclone 0.1
ticketextplugin 0.2
tracaccountmanager 0.3dev
traccustomfieldadmin 0.2
tracdatefield 1.0.1
traclogviewer 0.1
tracsectioneditplugin 0.1
tracticketdelete 2.0
tracticketvalidatiorplugin 0.1
tractocmacro 11.0.0.3
tracusermanagerplugin 0.4
tracwysiwyg 0.12.0.2
typedticketworkflow-plugin 0.1dev
usercompletion 0.1
userimport 0.1
workfloweditorplugin 1.0.1

Python Traceback

Traceback (most recent call last):
  File "c:\sdwb\python\lib\site-packages\Trac-0.12.ja1-py2.5.egg\trac\web\main.py", line 513, in _dispatch_request
  File "c:\sdwb\python\lib\site-packages\Trac-0.12.ja1-py2.5.egg\trac\web\main.py", line 235, in dispatch
  File "c:\sdwb\python\lib\site-packages\Trac-0.12.ja1-py2.5.egg\trac\admin\web_ui.py", line 116, in process_request
  File "c:\sdwb\python\lib\site-packages\userimport-0.1-py2.5.egg\userimport\userimport.py", line 52, in render_admin_panel
  File "c:\sdwb\python\lib\site-packages\userimport-0.1-py2.5.egg\userimport\userimport.py", line 166, in _do_preview
  File "C:\SDWB\python\lib\codecs.py", line 791, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 9] Bad file descriptor: 'userlist201112121437530998.tsv'

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 13 years ago

Resolution: cantfix
Status: newclosed

PluginIssue (userimport).

in reply to:  1 comment:2 by anonymous, 13 years ago

Replying to rblank:

PluginIssue (userimport).

怎样解决呢

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.