on 04-27-2015 10:47 PM
sqlanydb.OperationalError: Operation failed on file due to file permissions. File: /tmp/junk.junk
-- (hos_clientfileio.cxx 142)
unfortunately, this msg doesn't allow me to discern real permission issue from missing file b/c when I use the name of a non-existent file, i get the same error.
I am using sqlanydb python module version: sybase-iq-15.4
i have tried to set this option:
sql_statement='''
sa.stored_proc_name '{f}' '''.format(f=filename)
conn = sqlanydb.connect( DSN=s, userid=u, pwd=p )
cur = conn.cursor()
cur.execute('''set option ALLOW_READ_CLIENT_FILE='ON' ''')
cur.execute(sql_statement)
cur.close()
conn.commit()
conn.close()
but no luck.
can you help me determine what is wrong here?
thanks,
Mark
Are you able to run these SQL statements direct with e.g. dbisql?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.