Skip to content

unicode bug which is claimed to be fixed in #142 #191

Description

@functure

I am still getting error on the line which is claimed to be fixed in #142

System Specs:
Debian Wheezy
Python 2.7.14
MRQ 0.2.1
Mongo 3.4.10
Redis 3.0.6

Traceback:

2017-12-13 15:44:17.787133 [DEBUG] mongodb_jobs: Connecting to MongoDB at [('mongo', 27017)]/mymongo...
2017-12-13 15:44:17.788948 [DEBUG] mongodb_jobs: ... connected. (readPreference=Primary())
2017-12-13 15:44:17.789091 [DEBUG] Starting mrq.basetasks.cleaning.RequeueRedisStartedJobs({'{': '}'})
2017-12-13 15:44:17.790134 [INFO] redis: Connecting to Redis at redis...
Traceback (most recent call last):
File "/usr/local/bin/mrq-run", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/mrq/bin/mrq_run.py", line 62, in main
ret = job.perform()
File "/usr/local/lib/python2.7/site-packages/mrq/job.py", line 304, in perform
result = self.task.run_wrapped(self.data["params"])
File "/usr/local/lib/python2.7/site-packages/mrq/task.py", line 19, in run_wrapped
return self.run(params)
File "/usr/local/lib/python2.7/site-packages/mrq/basetasks/cleaning.py", line 105, in run
unserialized_job_ids = queue_obj.unserialize_job_ids(job_ids)
File "/usr/local/lib/python2.7/site-packages/mrq/queue.py", line 172, in unserialize_job_ids
for x in job_ids]
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0ff6' in position 2: ordinal not in range(128)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions