Skip to Content
Menu
This question has been flagged

Hello, i gonna try to write in inglish for a major accessibility of the community, but i apologize after all.

(this its the first time when i use this kind of protocols or functions in odoo, after this i check the code used out of the enviroment provided by odoo)


The problem that i have its the next: I try to open the Chromedriver and Sublimetext for obtain certain data from internet, but in a particular moment this line

/usr/lib/python3.6/subprocess.py -> line 1401

pid, sts = _waitpid(self.pid, _WNOHANG)


this returns pid=self.pid and sts=133 , and not 0, 0 respectively (like effectively happen in the code when i runs appart of odoo).

for solve this and look what happen next i set this line, skipping the _waitpid function

pid, sts =0, 0


This i do because i cannot acced to _waitpid function and look whats happen, i dontknow what, maybie its not a python file, and its a C file, im not sure.



 Anyway, when i do this, the program continue until the title line :

_socket= socket.create_connection((host, port), 1)


in this line one function starts to call another and another, but in the end returns

 _socket=None


The port used its some generated previously obtaines some like 36372, or things like this with 5 digits, and the host its 'localhost' seted by default (no touch anything).

maybie i have  to set the configuration in odoo pycharm project for that to works?

or are another solution not so complex for a begginer like me?


thanks for read. Regards

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 17
5049
1
Mar 15
4072
2
Oct 24
408
2
Mar 24
2416
2
Feb 24
1661