draigwen: (Default)
draigwen ([personal profile] draigwen) wrote in [site community profile] dw_dev_training2009-08-11 09:41 pm

XPoster and Dreamhack

Sorry to always be posting with problems!

I'm trying to get the crossposter working on my Dreamhack. It took a bit of hunting around but I finally worked out how to turn on the XPost worker, but it's still not working.

Running the XPost worker in Verbose mode I just get:

TheSchwartz::work_once found no jobs

My dreamhack gave me the error:

Failed to crosspost to draigwen@Dreamwidth. You may go here to attempt to crosspost this entry again.

Is there anything else I need to get it working, or anywhere I can look to find out why it's not working?

Cheers
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2009-08-11 08:49 pm (UTC)(link)
It sounds like you already have an xpost worker running? Try doing,

ps aufx | grep xpost

And look for any workers named xpost with your username. If you have any, then those workers are probably stealing the job before it actually gets run by the new worker you're starting up.

If you do have a worker running, you will need to kill it (and probably kill the worker-manager too, so it doesn't just start up a new xpost worker).

If this isn't the problem, let us know!
allen: (Default)

[personal profile] allen 2009-08-11 09:14 pm (UTC)(link)
You may want to take a look at your TheSchwartz tables (some info here) to make sure that they're set up properly. The XPostWorker reads from those tables, so if the configuration for those isn't correct, then the worker won't ever get any jobs.

(Actually, if you're getting an error in the UI immediately, rather than as an inbox notification, then you're certainly having something go wrong before the XPostWorker would come into play...)