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

python populate.py error workaround #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions documentation/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@ python populate.py

The process is fairly self-explanatory: fill in the requested information, or hit 'Enter' to defer at any step. By default, the resulting profile will be stored as a [YML](http://fdik.org/yml/) file at `~/.jasper/profile.yml`.

If, instead of being asked for your First Name you get the following error:
{% highlight bash %}
Traceback (most recent call last):
File "populate.py", line 146, in <module>
run()
File "populate.py", line 26, in run
simple_request('first_name', 'First name')
File "populate.py", line 19, in simple_request
input = raw_input(cleanVar + ": ")
NameError: name 'raw_input' is not defined
{% endhighlight %}
then simply run
{% highlight bash %}
python2 populate.py
{% endhighlight %}
As this error is caused by python3.x being linked to your python executable and not python2.x

**Important**: _populate.py_ will request your Gmail password. Of course, this is purely optional and will never leave the device. This password allows Jasper to report on incoming emails _and_ send you text or email notifications, but be aware that the password will be stored as plaintext in _profile.yml_. The Gmail _address_ can be entered alone (without a password) and will be used to send you notifications if you configure a Mailgun account, as described below.


Expand Down