Issue25

Title Unable to create workspace double plus ungood
Priority BUG Status resolved
Superseder Nosy List jgentry, sfalcon
Assigned To sfalcon Topics

Created on 2006-05-18.16:14:11 by sfalcon, last changed 2006-05-19.12:36:51 by sfalcon.

Messages
msg88 (view) Author: sfalcon Date: 2006-05-19.12:36:51
Forgot to set status to resolved.
As noted in msg84, this is fixed with rev524 in svn.
msg86 (view) Author: jgentry Date: 2006-05-19.12:06:20
Also, is this the same as Issue21?
msg85 (view) Author: jgentry Date: 2006-05-19.12:05:50
So does this fix the problem for you?  Should this be swithched to 'resolved'?

I'm putting it in as 'testing' for now.
msg84 (view) Author: sfalcon Date: 2006-05-19.11:13:48
Fixed in rev524

removed support for pscyopg2.  I was picking up psycopg2.ProgrammingError
but otherwise was using pysycopg (ver 1.1.x).
msg83 (view) Author: sfalcon Date: 2006-05-19.11:01:11
ERROR reading file: msg83
Possibly a access right configuration problem.
[Errno 13] Permission denied: '/extra/trackers/sgdi/db/files/msg/0/msg83'
msg82 (view) Author: jgentry Date: 2006-05-19.10:54:04
That's the function I was talking about.  The relevant code is:
        try:
            sqlInterface('SELECT * FROM %(grpTab)s LIMIT 1'%locals())
        except ProgrammingError:
            createQry = "CREATE TABLE %(grpTab)s (geneid varchar(80));"%locals()

Why would the ProgrammingError not get caught there?
msg81 (view) Author: sfalcon Date: 2006-05-19.10:51:38
ERROR reading file: msg81
Possibly a access right configuration problem.
[Errno 13] Permission denied: '/extra/trackers/sgdi/db/files/msg/0/msg81'
msg76 (view) Author: jgentry Date: 2006-05-19.10:42:26
Wha'ts the traceback on this?  

Is the error coming from createWorkspaceDBTables() (in SGDIworkspace.py)?

That's the only place I see with the 'LIMIT 1' on the query and it is explicitly
catching the ProgrammingError and creating the table if it doesn't exist.
msg75 (view) Author: jgentry Date: 2006-05-19.10:39:07
This is the same error (and description) as the previous one you put in.  Does
this imply that this time you have datasets in the DB?
msg72 (view) Author: sfalcon Date: 2006-05-18.16:14:11
So I thought I would get further than this.  But I can't create a workspace.
This is with my starting from scratch ova instance.

Site Error

An error was encountered while publishing this resource.

Error Type: ProgrammingError
Error Value: ERROR: relation "sgdi_seth_test1_globalreppool" does not exist
SELECT * FROM sgdi_seth_test1_globalreppool LIMIT 1

Troubleshooting Suggestions
History
Date User Action Args
2006-05-19 12:36:51sfalconsetstatus: testing -> resolved
assignedto: sfalcon
messages: + msg88
2006-05-19 12:06:20jgentrysetmessages: + msg86
2006-05-19 12:05:50jgentrysetstatus: in-progress -> testing
messages: + msg85
2006-05-19 11:13:48sfalconsetmessages: + msg84
2006-05-19 11:01:11sfalconsetmessages: + msg83
2006-05-19 10:54:04jgentrysetmessages: + msg82
2006-05-19 10:51:38sfalconsetmessages: + msg81
2006-05-19 10:42:26jgentrysetmessages: + msg76
2006-05-19 10:39:07jgentrysetstatus: unread -> in-progress
nosy: + jgentry
messages: + msg75
2006-05-18 16:14:11sfalconcreate