Modify

Opened 7 years ago

Closed 7 years ago

#53 closed defect (worksforme)

pbs python - uwsgi

Reported by: dbikas@… Owned by: bas
Priority: major Milestone:
Component: pbs Version: 4.6.0
Keywords: Cc:

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.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by bas

  • Resolution set to worksforme
  • Status changed from new to closed

It won't help to open mulitple tickets. I will close this one, conversation is going on in #52

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.