Comments (7)
Hi @rlabrecque - thanks for the report.
The code is written to be cross-platform, but I've
never tested in Windows before.
I think this is a subtle bug with the jinja templates.
I'll debug on a Windows machine today or tomorrow.
Afterwards, I'd like to set up Linux and Windows CI so
this won't be problem in the future.
I've filed #12 for this.
from cv.
Hi @rlabrecque - can you pull the latest code and try again?
I think I've fixed the problem, caused by how Jinja's FileSystemLoader handles paths in Windows.
from cv.
Yep, It's all good now! Thanks!
from cv.
\cc @emichael
from cv.
Huh, I don't quite understand what the problem was, and I'm curious. Did he have a folder/file with a forward slash in the path?
from cv.
@emichael - in windows, generate.py
will create a string like
sections\education.tex
(with backslashes from os.path.sep
)
to retrieve and render a template with self._jinja_env.get_template
.
I don't understand why, but Jinja's get_template
method expects
the path to be separated with forward slashes, even in Windows.
This seems to be a problem in other projects too:
https://github.com/mrobb/complexity/commit/912ca3ac2fa97deb427d529a452c805903f686d2
from cv.
Ugh. And I thought religious use of os.path.join
would prevent such nonsense...
from cv.
Related Issues (19)
- Fix spacing
- Add Linux and Windows CI
- bibtex: Instead of using tags to categorize publications, just use separate files
- Fix HTML list spacing
- Convert LaTeX to markdown for publications
- Long dash is translated incorrectly HOT 1
- Broken link in the Readme https://github.com/afriggeri/cv is returning a 404. HOT 1
- Better document and write README
- Problem with "Projects" section HOT 1
- AttributeError while running generate.py HOT 2
- ImportError: cannot import name 'soft_unicode' from 'markupsafe' HOT 2
- bibtexparser 0.6 isn't working HOT 1
- Possibly switch to moderncv
- Improve web cv HOT 1
- Consider integrating changes from @emichael's fork
- Link to papers on HTML and PDF
- Clean up bibtex to HTML/markdown code
- UnicodeEncodeError: HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cv.