bamos / cv Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://bamos.github.io
License: MIT License
Home Page: http://bamos.github.io
License: MIT License
I'm looking into this cv project for myself, but it doesn't seem to work out of the box, at least on windows.
I end up with this:
D:\Riley\Desktop\cv-master>generate.py -p cv.yaml
+ Processing section: interests
+ Processing section: education
Traceback (most recent call last):
File "D:\Riley\Desktop\cv-master\generate.py", line 289, in <module>
main()
File "D:\Riley\Desktop\cv-master\generate.py", line 284, in main
process_resume(LATEX_CONTEXT, yaml_data, args.preview)
File "D:\Riley\Desktop\cv-master\generate.py", line 251, in process_resume
rendered_resume = context.render_resume(yaml_data)
File "D:\Riley\Desktop\cv-master\generate.py", line 199, in render_resume
section_template_name, section_data)
File "D:\Riley\Desktop\cv-master\generate.py", line 150, in _render_template
return self._jinja_env.get_template(template_name).render(yaml_data)
File "C:\Python34\lib\site-packages\jinja2\environment.py", line 791, in get_template
return self._load_template(name, self.make_globals(globals))
File "C:\Python34\lib\site-packages\jinja2\environment.py", line 765, in _load_template
template = self.loader.load(self, name, globals)
File "C:\Python34\lib\site-packages\jinja2\loaders.py", line 113, in load
source, filename, uptodate = self.get_source(environment, name)
File "C:\Python34\lib\site-packages\jinja2\loaders.py", line 160, in get_source
pieces = split_template_path(template)
File "C:\Python34\lib\site-packages\jinja2\loaders.py", line 31, in split_template_path
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: sections\education.tex
Any chance that I'm doing something wrong?
All I did was clone, pip3 install -r requirements.txt, generate.py cv.yaml
I was getting this error:
Traceback (most recent call last):
File "generate.py", line 289, in <module>
main()
File "generate.py", line 284, in main
process_resume(LATEX_CONTEXT, yaml_data, args.preview)
File "generate.py", line 255, in process_resume
context.write_to_outfile(rendered_resume)
File "generate.py", line 209, in write_to_outfile
out.write(output_data)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1387: ordinal not in range(128)
is fixed with:
output_data = output_data.encode('utf-8')
I went to your top link in the readme and it 404's, I then went to the afriggeri's github and searched for 'cv' and 'resume' both to no avail. It appears he has deleted this repo or github is broken.
It would seem that the projects section in cv.yaml template has been deprecated since there is no projects.tex template available
So how do I add the projects section?, I am not sure what is the new alternative? or should I come up with my own template?
Thanks for the awesome cv generator
Regards,
Kamra
Command make stage
gives:
./generate.py cv.yaml
Processing section: about
Processing section: positions
Processing section: education
Processing section: industry
Processing section: honors
Processing section: all_publications
Processing section: repos
Traceback (most recent call last):
File "./generate.py", line 616, in <module>
main()
File "./generate.py", line 611, in main
process_resume(LATEX_CONTEXT, yaml_data, args.preview)
File "./generate.py", line 578, in process_resume
rendered_resume = context.render_resume(yaml_data)
File "./generate.py", line 476, in render_resume
add_repo_data(self, section_content)
File "./generate.py", line 388, in add_repo_data
item['stars'] = soup.find(
AttributeError: 'NoneType' object has no attribute 'text'
make: *** [Makefile:35: build/cv.tex] Error 1
What's goes wrong?
If the input text (in cv.yaml
) contains long dash ("—"
), it's incorrectly translated in PDF output and the result looks like "âĂŤ"
.
The .tex file looks OK, so it's the PDF creation failure. How can I fix that?
Cyrillic letters fail as well — looks like the problem is wrong encoding. How to change it?
I'm trying to build on OS X, using texlive distribution from https://tug.org/mactex/
publications.conference.bib
publications.journal.bib
publications.magazine.bib
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'
$ make
ImportError: cannot import name 'soft_unicode' from 'markupsafe'
make: *** [Makefile:35: build/cv.tex] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.