Custom Query (43 matches)
Results (43 of 43)
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. |
Note: See TracQuery
for help on using queries.