Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'volume' #4

Open
gustavofonseca opened this issue Aug 31, 2017 · 0 comments
Open
Assignees

Comments

@gustavofonseca
Copy link
Collaborator

Traceback (most recent call last):
  File "/Users/gustavofonseca/prj/oai-pmh/tests/test_articlemeta.py", line 112, in test_get_known_resource_returns_namedtuple_resource
    self.assertIsInstance(am.get('validID'), entities.Resource)
  File "/Users/gustavofonseca/prj/oai-pmh/oaipmh/articlemeta.py", line 290, in get
    return ArticleResourceFacade(doc).to_resource()
  File "/Users/gustavofonseca/prj/oai-pmh/oaipmh/articlemeta.py", line 238, in to_resource
    source=self.source(),
  File "/Users/gustavofonseca/prj/oai-pmh/oaipmh/articlemeta.py", line 211, in source
    return [self.article.bibliographic_legends().get('descriptive_format')]
  File "/Users/gustavofonseca/prj/envs/oai-pmh/lib/python3.6/site-packages/xylose/scielodocument.py", line 1486, in bibliographic_legends
    self.issue.volume,
AttributeError: 'NoneType' object has no attribute 'volume'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants