Questions tagged [python-gearman]
22 questions
9
votes
1 answer
How to get status of Gearman Jobs by their uniq id?
I need to get status of Gearman jobs by these uniq id, not by open handlers, as desribed every place I seen
Is it possible? using in python-gearman v. 2...
Thanks for assistance!

Michael_XIII
- 175
- 1
- 14
3
votes
1 answer
Python Gearman get data from background task
I'm try use gearman with backgroud tasks and get data progress from worker.
In documentation I'm see methods: send_job_data and send_job_status, but with background first method not work (I'm not see data in job.data_updates), but status changes in…

gigimon
- 1,443
- 2
- 13
- 19
3
votes
3 answers
How to configure or install GEARMAN in windows OS?
I want to implement "GEARMAN" in project but I don't know how to install or configure "GEARMAN" in windows OS. Can anyone provide me any link from where I can work with "GEARMAN"?

Chandru
- 67
- 3
- 5
2
votes
2 answers
Python gearman basic example error
I am trying a vaery basic example of string reversal using Python gearman module
MY localhost has been set up using IIS on port 4730
However i am getting the error
raise UnknownCommandError(missing_callback_msg)
UnknownCommandError: Could not handle…

fsociety
- 977
- 3
- 12
- 23
2
votes
1 answer
Loading Yii models outside of framework
How can I access Yii models outside of the framework?
I have some gearman workers performing tasks and are managed using BrianMoons GearmanManager. I'd like to be able to access a few Yii models in the worker's script without have to load the whole…

dandan
- 1,016
- 8
- 16
1
vote
2 answers
How to delay/postpone Gearman job?
I'm using gearman for synchronizing data on different servers. We have 1 main server and, for example, 10 local servers. Let me describe one of possible situations. Say, gearman started working, and 5 jobs are done, data on that 5 servers is synced.…

megido
- 4,135
- 6
- 29
- 33
1
vote
1 answer
How to submit non-blocking job in Gearman?
I want to use result = gearman_client.submit_job("reverse_task", "Hello World!", wait_until_complete=False) to submit a non-blocking job to Gearman Job Server. However, result.state is always 'CREATED', and result.complete is always False. If I…

expoter
- 1,622
- 17
- 34
1
vote
1 answer
Gearman Submit Multiple Jobs AttributeError: 'str' object has no attribute 'get'
What I'm trying to achieve here is to submit multiple jobs to Gearman and print the results returned by the workers once they are done with processing the job.
I've read through the examples…

Gabriel
- 77
- 1
- 6
1
vote
3 answers
gearman stop start restart command
What are the command to start, restart and stop gearman?
So far I know:
gearadmin --shutdown # stop
gearmand -d # I believe it is to restart. Not sure.
Any idea for managing gearman?

nlper
- 2,297
- 7
- 27
- 37
1
vote
1 answer
Calling remote gearman worker from local gearman client?
Does calling remote gearman worker from local system is possible? I tried calling using my remote azure server IP:
client on local system:
gm_client = gearman.GearmanClient(['204.43.9.41:4730'])
sent = sys.argv[1]
completed_job_request =…

user123
- 5,269
- 16
- 73
- 121
1
vote
0 answers
running mutliple worker in parallel in gearman-python
I have 5 workers doing different tasks and i am passing the same input to all the 5 workers and retrieving the collective output of all the 5 workers.
I am using gearman library of python and i have tried using
m_client.submit_multiple_jobs(site,…

pacifier
- 181
- 6
1
vote
0 answers
Error Running Gearman for Windows 7
Hi I installed perl's gearman package in windows 7 and written simple client and worker just to connect to gearman server as follows :
Client.pl
use Gearman::Client;
my $client = Gearman::Client->new;
$client->job_servers('127.0.0.1:7003');
and…

Sanjay Bhosale
- 685
- 2
- 8
- 18
1
vote
1 answer
Cannot trap exceptions from Gearman Client instantiation
When connecting to a gearman daemon, if the daemon url or port are incorrect and no connection can be made an exception is raised:
File "/usr/lib/python2.7/dist-packages/gearman/client.py", line 205, in establish_request_connection
raise…

RoyHB
- 1,715
- 1
- 22
- 38
1
vote
2 answers
Error running basic python-gearman example
I am trying to run a basic example of gearman using python-gearman library available here. I am running python 2.7.3
Worker:
import gearman
gm_worker = gearman.GearmanWorker(['localhost:4730'])
def task_listener_reverse(gearman_worker,…

ducky
- 1,113
- 1
- 11
- 23
1
vote
0 answers
I can not use django-gearman-commands make the worker work all the time
I use django-gearman-commands to do some work like this document(http://pypi.python.org/pypi/django-gearman-commands/0.1) says.When I run the worker frist time ,it works well,but when I submit another job just like make a select query from DB,it…

Steve
- 495
- 4
- 12