Ask Pathway Tools logo   Pathway Tools Question & Answer forum for SRI's Pathway Tools

Ask Your Question
0

Pythoncyc PToolsError

asked 2019-03-25 10:08:55 -0500

anonymous user

Anonymous

Hi there,

I am running PythonCyc on Windows 10, using Python 2.7. I have pathway tools open on my computer using the option -python. Nonetheless, I have suddenly started to get errors of the form:

'pythoncyc.PTools.PToolsError: Failed to create a connection to a running Pathway Tools at localhost on port 5008. Make sure Pathway Tools is running with option -python. Error code: 10048, error message: Only one usage of each socket address (protocol/network address/port) is normally permitted'

I am looping through a list of pathways and the error happens at a different pathway with each attempted run, but I have not managed to successfully loop through my full list since this morning. Can anyone suggest what my problem might be?

Many thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-03-28 11:49:59 -0500

Hi, I'm not sure what's going on here, but have you tried rebooting Windows?

-Peter Midford

edit flag offensive delete link more

Comments

Hi, I have restarted my machine and the program several times with no improvement - it seems to just break the connection to pathway tools at random intervals. I can restart the program from where it left off and finish my full loop with about four tries, but it is impossible to get through the full program without breaking and I haven't managed to figure it out yet! Thanks for your help :)

naomccan gravatar imagenaomccan ( 2019-03-29 08:34:37 -0500 )edit

Could you post your code (not all the pathways, just the looping code)?

pmidford gravatar imagepmidford ( 2019-04-01 15:13:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-03-25 10:08:55 -0500

Seen: 68 times

Last updated: Mar 28