Skip to content

Instantly share code, notes, and snippets.

@elialbert
Created April 19, 2012 14:45
Show Gist options
  • Save elialbert/2421402 to your computer and use it in GitHub Desktop.
Save elialbert/2421402 to your computer and use it in GitHub Desktop.
avro fail
2012-04-19 09:10:24,588 - django.request - ERROR - Internal Server Error: /xcom/listener/marketplace/profile/create
Traceback (most recent call last):
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/django/views/decorators/csrf.py", line 39, in wrapped_view
resp = view_func(*args, **kwargs)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/django/views/decorators/csrf.py", line 52, in wrapped_view
return view_func(*args, **kwargs)
File "/var/www/apps/sandbox.koaladeal.com/koaladeal_django/xcom/views.py", line 50, in listener
result = reader.read(decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 445, in read
return self.read_data(self.writers_schema, self.readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 490, in read_data
return self.read_record(writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 690, in read_record
field_val = self.read_data(field.type, readers_field.type, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 490, in read_data
return self.read_record(writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 690, in read_record
field_val = self.read_data(field.type, readers_field.type, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 488, in read_data
return self.read_union(writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 654, in read_union
return self.read_data(selected_writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 458, in read_data
return self.read_data(writers_schema, s, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 490, in read_data
return self.read_record(writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 690, in read_record
field_val = self.read_data(field.type, readers_field.type, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 484, in read_data
return self.read_array(writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 584, in read_array
readers_schema.items, decoder))
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 490, in read_data
return self.read_record(writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 690, in read_record
field_val = self.read_data(field.type, readers_field.type, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 484, in read_data
return self.read_array(writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 584, in read_array
readers_schema.items, decoder))
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 490, in read_data
return self.read_record(writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 690, in read_record
field_val = self.read_data(field.type, readers_field.type, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 488, in read_data
return self.read_union(writers_schema, readers_schema, decoder)
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 646, in read_union
index_of_schema = int(decoder.read_long())
File "/home/deploy/.virtualenvs/sandbox.koaladeal.com/lib/python2.6/site-packages/avro/io.py", line 184, in read_long
b = ord(self.read(1))
TypeError: ord() expected a character, but string of length 0 found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment