-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
unable to run code #11
Comments
Python 3 is required, as per the docs and |
Thanks. Installed. New problem:
academic import --bibtex ./content/publication/articles/shpubs_2018.bib
leads to:
Traceback (most recent call last):
File "/usr/local/bin/academic", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/academic/cli.py", line 76, in main
import_bibtex(args.bibtex, pub_dir=args.publication_dir, featured=args.featured, overwrite=args.overwrite)
File "/usr/local/lib/python3.7/site-packages/academic/cli.py", line 88, in import_bibtex
with open(bibtex, mode='rb', encoding='utf-8') as bibtex_file:
ValueError: binary mode doesn't take an encoding argument
… On 17 Nov 2018, at 20:26, gcushen ***@***.***> wrote:
Python 3 is required, as per the docs and setup.py.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#11 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADygnuYLORw9rkQ3AmN0nbYDpLz1rIAUks5uwHDrgaJpZM4YnlKb>.
|
Thanks for reporting this. Try updating - it should be fixed in v0.2.4. |
Thanks for the quick return. Same problem after cloning:
baiao:hugo Simone$ git clone https://github.com/sourcethemes/academic-kickstart.git acad2
Cloning into 'acad2'...
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 214 (delta 0), reused 3 (delta 0), pack-reused 209
Receiving objects: 100% (214/214), 57.71 KiB | 0 bytes/s, done.
Resolving deltas: 100% (70/70), done.
Checking connectivity... done.
baiao:hugo Simone$ cd acad2
baiao:acad2 Simone$ ls
LICENSE.md config.toml netlify.toml themes
README.md content static update_academic.sh
baiao:acad2 Simone$ academic import --bibtex ./content/publication/articles/shpubs_2018.bib
Traceback (most recent call last):
File "/usr/local/bin/academic", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/academic/cli.py", line 76, in main
import_bibtex(args.bibtex, pub_dir=args.publication_dir, featured=args.featured, overwrite=args.overwrite)
File "/usr/local/lib/python3.7/site-packages/academic/cli.py", line 88, in import_bibtex
with open(bibtex, mode='rb', encoding='utf-8') as bibtex_file:
ValueError: binary mode doesn't take an encoding argument
… On 18 Nov 2018, at 17:26, gcushen ***@***.***> wrote:
Thanks for reporting this. Try updating - it should be fixed in v0.2.4.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#11 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADygnlSK8SRPXgyC4kvM4g4XelAXgZv1ks5uwZhagaJpZM4YnlKb>.
|
I was referring to updating Academic Admin (this repo) to v0.2.4, not Academic Kickstart. |
Success. Just what I needed! No more typing long references on websites!
Love you guys!
S
… On 18 Nov 2018, at 18:13, gcushen ***@***.***> wrote:
I was referring to updating Academic Admin (this repo) to v0.2.4, not Academic Kickstart.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#11 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADygnhb0z4l-bfk14Vma6o6Ijyzb91quks5uwaM7gaJpZM4YnlKb>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
unable to run -- some conflict with url parse after installation.
baiao:academic_sh Simone$ pip install -U academic
Requirement already up-to-date: academic in /usr/local/lib/python2.7/site-packages (0.2.2)
Requirement already satisfied, skipping upgrade: bibtexparser in /usr/local/lib/python2.7/site-packages (from academic) (1.0.1)
Requirement already satisfied, skipping upgrade: requests in /usr/local/lib/python2.7/site-packages (from academic) (2.20.1)
Requirement already satisfied, skipping upgrade: toml in /usr/local/lib/python2.7/site-packages (from academic) (0.10.0)
Requirement already satisfied, skipping upgrade: pyparsing in /usr/local/lib/python2.7/site-packages (from bibtexparser->academic) (2.3.0)
Requirement already satisfied, skipping upgrade: future in /usr/local/lib/python2.7/site-packages (from bibtexparser->academic) (0.17.1)
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/site-packages (from requests->academic) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/local/lib/python2.7/site-packages (from requests->academic) (2018.10.15)
Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in /usr/local/lib/python2.7/site-packages (from requests->academic) (1.24.1)
Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests->academic) (2.7)
baiao:academic_sh Simone$ academic academic import --bibtex ./content/articles/shpubs_2018.bib
Traceback (most recent call last):
File "/usr/local/bin/academic", line 7, in
from academic.cli import main
File "/usr/local/lib/python2.7/site-packages/academic/cli.py", line 11, in
from urllib.parse import urlparse
ImportError: No module named parse
baiao:academic_sh Simone$ pip install urlparse
Collecting urlparse
Could not find a version that satisfies the requirement urlparse (from versions: )
No matching distribution found for urlparse
The text was updated successfully, but these errors were encountered: