bamos / cv

http://bamos.github.io
MIT License
403 stars 144 forks source link

bibtexparser 0.6 isn't working #3

Closed bamos closed 5 years ago

bamos commented 10 years ago

Perhaps this is a bug with the 0.6 release in the upstream project, 0.5.5 is working fine.

In publications.bib, bibtexparser 0.6 doesn't show amos2013applying as having a year, even though a year is in the bibtex file.

{'id': 'hu2014case', 'title': 'The Case for Offload Shaping', 'booktitle': '', 'type': 'inproceedings', 'author': ['W. Hu', '**B. Amos**', 'Z. Chen', 'K. Ha', 'W. Richter', 'P. Pillai', 'B. Gilbert', 'J. Harkes', 'M. Satyanarayanan'], 'year': 'submitted'}
{'id': 'amos2014performance', 'title': 'Performance study of Spindle, a web analytics query engine\nimplemented in Spark', 'booktitle': 'Proceedings of the 2014 IEEE International Conference on Cloud Computing Technology and Science (CloudCom), Big Data Track', 'type': 'inproceedings', 'author': ['**B. Amos**', 'D. Tompkins'], 'year': '2014'}
{'id': 'andrew2014global', 'title': 'Global Parameter Estimation for a Eukaryotic Cell Cycle Model\nin Systems Biology', 'booktitle': '2014 Summer Simulation Multiconference, Society for Modeling and Simulation International', 'type': 'inproceedings', 'author': ['T. Andrew', '**B. Amos**', 'D. Easterling', 'C. Oguz', 'W. Baumann', 'J. Tyson', 'L. Watson'], 'year': '2014'}
{'id': 'amos2014fortran', 'title': 'Fortran 95 implementation of QNSTOP for global and\nstochastic optimization', 'booktitle': '2014 Spring Simulation Multiconference, 22nd High Performance Computer Symposium, Society for Modeling and Simulation International', 'type': 'inproceedings', 'author': ['**B. Amos**', 'D. Easterling', 'L. Watson', 'B. Castle', 'M. Trosset', 'W. Thacker'], 'year': '2014'}
{'id': 'amos2013applying', 'title': 'Applying machine learning classifiers to dynamic Android\nmalware detection at scale', 'booktitle': "IWCMC'13 Security, Trust and Privacy Symposium", 'author': ['**B. Amos**', 'H. Turner', 'J. White'], 'type': 'inproceedings'}
Traceback (most recent call last):
  File "./generate.py", line 156, in <module>
    generate("md")
  File "./generate.py", line 134, in generate
    contents = get_bibtex_md(p, pub_types)
  File "./generate.py", line 100, in get_bibtex_md
    details += " " + item['year'] + "<br><br>\n"
KeyError: 'year'
bamos commented 10 years ago

Filed at https://github.com/sciunto-org/python-bibtexparser/issues/45