Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Unable to run the examples

Open
#15 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

Start by running the README sample with the reported Python 3.8.6 environment and checking the avro.schema API used by the imports. Compare both README examples with the current API, then update the examples so they run without the reported AttributeError and verify both sample paths.

Written by the indexing model from the issue text.

Description

@0x26res thank you for your guidance.

I am trying to run the sample code in the read me . Not able to. both code. (simple or "another"

import avro.io
from avro import schema
from avro.schema import SchemaFromJSONData as make_avsc_object
from avro_json_serializer import AvroJsonSerializer

PS C:\a\Python\W\CSV> python dumpsa.py
Traceback (most recent call last):
File "dumpsa.py", line 44, in
avro_schema = avro.schema.make_avsc_object(schema_dict, avro.schema.Names())
AttributeError: module 'avro.schema' has no attribute 'make_avsc_object'

PS C:\a\Python\W\CSV> python --version
Python 3.8.6

Dominant language
Python
Stars
135
Forks
43
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linkedin/python-avro-json-serializer

All issues in linkedin/python-avro-json-serializer

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.