← Back to team overview

openerp-connector-community team mailing list archive

Re: Jobs are not assign to worker

 

Hello,
Finally I have found solution.
The problem was that in my addons-path, root addons folder wasn't first. When I have changed the order everything is fine. That's my init.d line: 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,/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

It caused several other errors:
- static content have been downloaded with random 404 state
- debug mode have given blank page

Problem SOLVED. Hope it helps.

Kind regards
W dniu 2014-04-23 14:36, Adam Langowski / IDEA07 Studio Kreatywne pisze:
Hello,
Finally I have found solution.
The problem was that in my addons-path, root addons folder wasn't first. When I have changed the order everything is fine. That's my init.d line: 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,/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

It caused several other errors:
- static content have been downloaded with random 404 state
- debug mode have given blank page

Problem SOLVED. Hope it helps.

Kind regards

W dniu 2014-04-23 14:26, Adam Langowski / IDEA07 Studio Kreatywne pisze:


W dniu 2014-04-22 10:04, Guewen Baconnier pisze:
On 04/18/2014 08:20 AM, Adam Langowski / IDEA07 Studio Kreatywne wrote:
Hello,
I try to install one more time magento connector on new installation of openERP
and everything was fine till openERP server was restarted. From that time all
jobs are pending. Any ideas?

Kind Regard
Adam
W dniu 2014-04-16 12:52, Guewen Baconnier pisze:
On 04/16/2014 12:49 PM, Petar Najman wrote:
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:

Hello,

I'm after installation. Everything was done according to Installation
Guidehttp://openerp-magento-connector.com/guides/installation_guide.html
Problem is that my jobs are still "Pending" and not assign to worker. I've
readhttp://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

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).

Hi all,

I just created 3 databases with the Magento Connector, started the
server with the option --workers=0 not to use the multiprocessing mode
and the jobs are correcly executed on the 3 databases. I cannot
reproduce what you observe on my end, so if one of you could analyze
what happens and create a proper bug report (or even a merge proposal),
I would be thankful for that.

Best,



References