Modify ↓
Opened 13 years ago
Closed 13 years ago
#9007 closed defect (fixed)
I can not import test cases
Reported by: | Owned by: | Roberto Longobardi | |
---|---|---|---|
Priority: | highest | Component: | TestManagerForTracPlugin |
Severity: | normal | Keywords: | |
Cc: | andres.kaiser@… | Trac Release: | 0.12 |
Description
I can not import test cases
I get the following error:
File "build/bdist.linux-x86_64/egg/testmanager/api.py", line 617, in _process_imported_testcase_row\n new_tc.insert()\n', ' File "build/bdist.linux-x86_64/egg/tracgenericclass/model.py", line 481, in insert\n if not self.pre_insert(db):\n', ' File "build/bdist.linux-x86_64/egg/testmanager/model.py", line 86, in pre_insert\n AbstractWikiPageWrapper.pre_insert(self, db)\n', ' File "build/bdist.linux-x86_64/egg/tracgenericclass/model.py", line 934, in pre_insert\n wikipage.save(self.author, \'\', self.remote_addr)\n', ' File "/usr/lib/python2.6/site-packages/trac/wiki/model.py", line 126, in save\n @self.env.with_transaction(db)\n']
attached more information
Attachments (4)
Change History (10)
Changed 13 years ago by
Changed 13 years ago by
comment:1 Changed 13 years ago by
Cc: | andres.kaiser@… added; anonymous removed |
---|
comment:2 Changed 13 years ago by
Trac Release: | 0.11 → 0.12 |
---|
comment:3 Changed 13 years ago by
Status: | new → assigned |
---|
comment:4 Changed 13 years ago by
Hello Roberto,
It worked perfectly the solution that you sent us. 1300 Load test cases using csv:) Thanks!
comment:5 Changed 13 years ago by
Glad to be helpful :D
Also feel free to open enhancement requests if you have some nice idea for this plugin development.
Ciao, Roberto
comment:6 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Hi Christopher, I'm back from holidays :D
I think I found the problem here. There are a few:
All problems are fixed: 1) Use the modified version of "testman4trac/trunk/testmanager/api.py" that you can find in attachment to this ticket. Build the plugin and replace the egg files. 2) and 3) See as an example the modified_datos.csv attached to this ticket, and make sure you use this format for your CSV.
Let me know if this works.
Ciao, Roberto