Custom Query (43 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (43 of 43)

5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#53 worksforme pbs python - uwsgi bas dbikas@…
Description

Can someone explain me why this code:

import pbs
connection = pbs.pbs_connect(pbs.pbs_default())
print connection

Returns: -1 all the time if i run it under uwsgi???

server = pbs.pbs_default()
print "Server name: ", server

returns: Server: and even if i run: connection = pbs.pbs_connect(str('myservername')) i keep getting -1 as the answer

OS: ubuntu 14.04 torque version: 4.1.3 pbs_python version:4.4.0 python version: 2.7

if i run the same code under django's embbedded server or ipython in terminal it returns 1 as expected..

This is the 2nd ticket i create with the same subject. I am trying to find a solution for almost a month with no success... So if someone has any idea, or has already implemented something similar, please give me a hand. Thanks in advance.

5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.