Comments (2)
Oh never mind, the latest commit (140a788) seems to be about fixing this issue. when do you plan to push a new package release ? :)
from academic-file-converter.
I backported the changes in the last commit, but it exits with an error:
Traceback (most recent call last): File "/home/florian/.local/bin/academic", line 11, in <module> sys.exit(main()) File "/home/florian/.local/lib/python3.6/site-packages/academic/cli.py", line 75, in main import_assets() File "/home/florian/.local/lib/python3.6/site-packages/academic/cli.py", line 242, in import_assets if not Path('content').is_folder(): AttributeError: 'PosixPath' object has no attribute 'is_folder'
Arguably, there is no is_folder
function in Python pathlib module, according to: https://docs.python.org/3/library/pathlib.html, but there is a is_dir
function that does the trick. I will open a PR with the change :)
from academic-file-converter.
Related Issues (20)
- tags and categories for bibtex entry HOT 2
- The LaTeX code inside title would become invalid after `clean_bibtex_str` HOT 3
- Fails to create publication if other publication exists from the same year HOT 1
- Created tags are considered as single tag by Hugo HOT 2
- hugo-academic-cli bibtex import is broken with hugo v0.89.0 HOT 3
- Add support for JSON CSL (web friendly Bibtex equivalent)
- Error: No such file or directory: 'content/publication/.../index.md' HOT 4
- Publication parameter on Journal article HOT 1
- import fails without any output even with verbose param HOT 1
- Install Error
- Issues with folder names while importing bibtex entry HOT 5
- Add support for extra hugo fields to be setup by extra bibtex fields. HOT 1
- Could you please add a `[build-sysem]` section to `pyproject.toml`?
- Hugo Academic CLI v0.8.1 does nothing HOT 3
- text in italics is not transformed to _italics_ in index.md HOT 1
- Feature request: skip duplicated arvix publications HOT 1
- When importing thesis' metadata, if it could also import if it is a B.S., M.S., or Ph.D. Thesis HOT 2
- hugo command usage in bibtext import does not check cmd return HOT 5
- academic 0.7.0 failed to import asserts for wowchemy 5.3.0 HOT 1
- update_wowchemy fail HOT 1
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 academic-file-converter.