Skip to content
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

having problem using command -g to see graph #1

Open
ashiknur opened this issue Nov 30, 2019 · 1 comment
Open

having problem using command -g to see graph #1

ashiknur opened this issue Nov 30, 2019 · 1 comment

Comments

@ashiknur
Copy link

cfs -g ashiknur
The system cannot find the path specified.

    Rating Chart for user :  ashiknur

Traceback (most recent call last):
File "C:\Users\FAMILY\AppData\Local\Programs\Python\Python37\Scripts\cfs-script.py", line 11, in
load_entry_point('cfs==1.0.4', 'console_scripts', 'cfs')()
File "c:\users\family\appdata\local\programs\python\python37\lib\site-packages\cf_main_.py", line 79, in main

user_rating(json.loads(res.text))

File "c:\users\family\appdata\local\programs\python\python37\lib\site-packages\cf\user_rating.py", line 23, in user_rating
plotterm(x,y)
File "c:\users\family\appdata\local\programs\python\python37\lib\site-packages\cf\util.py", line 68, in plotterm

gnuplot = subprocess.Popen(["/usr/bin/gnuplot"], stdin=subprocess.PIPE)

File "c:\users\family\appdata\local\programs\python\python37\lib\subprocess.py", line 800, in init
restore_signals, start_new_session)
File "c:\users\family\appdata\local\programs\python\python37\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

@prasoonbatham11
Copy link
Owner

Hey @ashiknur, your system does not have gnuplot installed. I will add a check and ask the user to install it based on the system type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants