← Back to team overview

openerp-connector-community team mailing list archive

Re: Jobs are not assign to worker

 

Adam, 

I have no idea if this is related, but I had pending Jobs last week when I was reconfiguring my system. I can't say exactly what fixed everything but primarily I double checked all the installs, and for sure I needed to "update" my data base "-u all" in the start up command. My recollection is that I did not get the Jobs to start processing until I got the "patches" also installed vis a vis Magento PHP 5.4 and the Partner code 

[0] https://bugs.launchpad.net/openerp-connector-magento/+bug/1210775 

I can download the patches (have done so) 
https://launchpadlibrarian.net/147252239/partner_group_id.patch 
https://launchpadlibrarian.net/156823948/php_version.patch 

The command to actually install a patch you have downloaded is the following and seem to need to be done from within the actual folder it is working, not the Addons folder it seems referenced from (someone can correct me) 

bzr patch PATCH_FILE_NAME_OR_URL 

There were also a few restarts of the system involved. 

Just in case. This was the summary of the "end" of last weeks thread from me in my "upgrade" travails. 

best of luck, 

Landis Arnold 

----- Original Message -----

From: "Adam Langowski / IDEA07 Studio Kreatywne" <adam.langowski@xxxxxxxxx> 
To: "Guewen Baconnier" <guewen.baconnier@xxxxxxxxxxxxxx> 
Cc: openerp-connector-community@xxxxxxxxxxxxxxxxxxx 
Sent: Wednesday, April 16, 2014 5:47:24 AM 
Subject: Re: [Openerp-connector-community] Jobs are not assign to worker 

Hi, 
I haven't had specified database. Now I change my init.d file into 
start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid --chuid ${USER} --background --make-pidfile --exec ${DAEMON} -- --config=${CONFIG} --logfile=${LOGFILE} --debug --database=AMG24 --addons-path /usr/lib/pymodules/python2.7/openerp/addons/openerp-connector,/usr/lib/pymodules/python2.7/openerp/addons/openerp-connector-ecommerce,/usr/lib/pymodules/python2.7/openerp/addons/openerp-connector-magento,/usr/lib/pymodules/python2.7/openerp/addons/e-commerce-addons,/usr/lib/pymodules/python2.7/openerp/addons/openerp-product-attributes,/usr/lib/pymodules/python2.7/openerp/addons/sale-wkfl,/usr/lib/pymodules/python2.7/openerp/addons 

but still all jobs are Pending. 
Do you have some more clues? 

Kind Regards 

W dniu 2014-04-16 12:52, Guewen Baconnier pisze: 



On 04/16/2014 12:49 PM, Petar Najman wrote: 

<blockquote>

Hi Adam,

We've experienced the same issue and came to conclusion that connector does
not work well with multiple databases.
Once we removed other databases everything started working just fine.

I hope this helps.

Anyhow, can someone please point us in the right direction because after
looking at the code I don't think it suppose to work like this.

Kind Regards,
Petar



On Wed, Apr 16, 2014 at 12:33 PM, Adam Langowski / IDEA07 Studio Kreatywne < adam.langowski@xxxxxxxxx > wrote: 

<blockquote>

Hello,

I'm after installation. Everything was done according to Installation
Guide http://openerp-magento-connector.com/guides/installation_guide.html Problem is that my jobs are still "Pending" and not assign to worker. I've
read http://openerp-magento-connector.com/guides/monitor_resolve_jobs.html I've checked my worker and "Last Alive Check" is always actual.
In jobs "Execute only after" is not set up
"Schedules Actions" are active.
OpenERP in not running in multiprocess.

So what could be wrong?

Thanks for your help.

Best Regards
Adam Langowski

--
Mailing list: https://launchpad.net/~openerp-connector-community Post to     : openerp-connector-community@xxxxxxxxxxxxxxxxxxx Unsubscribe : https://launchpad.net/~openerp-connector-community More help   : https://help.launchpad.net/ListHelp 




</blockquote>

Hi,

If OpenERP is started with databases specified in the `dbname` (or
--database) option, the crons (standard) and the jobs won't run on the
other databases than the specified.

So the first thing you'd want to check is if this option is set (empty
means all databases). 

</blockquote>







-- 
Mailing list: https://launchpad.net/~openerp-connector-community 
Post to : openerp-connector-community@xxxxxxxxxxxxxxxxxxx 
Unsubscribe : https://launchpad.net/~openerp-connector-community 
More help : https://help.launchpad.net/ListHelp 


References