Ok so getting the formgrader to assume a different class path was as simple as editing the course location in my nbgrader_config.py file, for the following line: c.CourseDirectory.root.The main problem now is that I can't figure out how to use formgrader with two classes. I think I need to set this up in the workstation's jupyterhub_config.py file under "services" but I am having trouble finding any detailed help on how to do this for formgrader exactly. Does this mean I need to set up an authentication token? I had to do this a year ago when I taught, but now it looks like this isn't happening with the nbgrader changes.
I'm also unclear why jupyterhub is looking for the course nbgrader_config.py file in my local .jupyter directory (among a few other places) instead of in my actual course directory. I am not sure how it would know to look there in particular, but in seemed to do so in the past! And how will it recognize two different course nbgrader_config.py files if I can get the jupyterhub_config.py file fixed?Thanks for any help,Kristen
On Monday, August 28, 2017 at 3:36:06 PM UTC-5, Kristen Thyng wrote:Hi,I know that nbgrader is supposed to be really easy to use now, but I am still managing to have trouble! I think I'm bumbling through and managing many of the steps, including getting formgrader to find an nbgrader_config.py file. However, it is assuming that my home directory is where it should look for all files, and I can't get it to look for more than one nbgrader_config.py file. I know that having multiple classes is a bit tricky, but I did it successfully last fall. I have the following line in my nbgrader_config.py file:c.Exchange.path_includes_course = Truewhich it says to do here: http://nbgrader.readthedocs.io/en/stable/user_guide/faq.html#id16, but this doesn't seem to have made a difference. I have a class directory in my home directory with an nbgrader_config.py file, which I have then simlinked into my .jupyter directory. When I use formgrader and ask it to make and then generate a new assignment (so I can see where it puts files), it makes a gradebook.db file in my home directory, and then tries to make a source directory but fails with a permissions error.Any thoughts on this?Thanks for your help,Kristen
--
You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-education+unsubscribe@googlegroups.com.
To post to this group, send email to jupyter-education@googlegroups.com.
Visit this group at https://groups.google.com/group/jupyter-education.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-education/dcc6df77-833c-4684-81d1-a42ae9294e03%40googlegroups.com.
On Tue, Aug 29, 2017 at 6:45 PM, Kristen Thyng <kth...@gmail.com> wrote:Ok so getting the formgrader to assume a different class path was as simple as editing the course location in my nbgrader_config.py file, for the following line: c.CourseDirectory.root.The main problem now is that I can't figure out how to use formgrader with two classes. I think I need to set this up in the workstation's jupyterhub_config.py file under "services" but I am having trouble finding any detailed help on how to do this for formgrader exactly. Does this mean I need to set up an authentication token? I had to do this a year ago when I taught, but now it looks like this isn't happening with the nbgrader changes.I *think* I have this figured out. I too am on jupyterhub, all local accounts. Trying to use the new, fancy, very nice GUI features.Some points I think I understand:1) The docs don't say it, but you need at least two nbgrader_config.py files: one in your home root that points to the current course, like:c.CourseDirectory.root = "CS110"
On Wednesday, August 30, 2017 at 8:06:08 PM UTC-4, Doug Blank wrote:On Tue, Aug 29, 2017 at 6:45 PM, Kristen Thyng <kth...@gmail.com> wrote:Ok so getting the formgrader to assume a different class path was as simple as editing the course location in my nbgrader_config.py file, for the following line: c.CourseDirectory.root.The main problem now is that I can't figure out how to use formgrader with two classes. I think I need to set this up in the workstation's jupyterhub_config.py file under "services" but I am having trouble finding any detailed help on how to do this for formgrader exactly. Does this mean I need to set up an authentication token? I had to do this a year ago when I taught, but now it looks like this isn't happening with the nbgrader changes.I *think* I have this figured out. I too am on jupyterhub, all local accounts. Trying to use the new, fancy, very nice GUI features.Some points I think I understand:1) The docs don't say it, but you need at least two nbgrader_config.py files: one in your home root that points to the current course, like:c.CourseDirectory.root = "CS110"I think I ended up required to use the full path:c.CourseDirectory.root = "/home/dblank/CS110"as well. I now have released two assignments from two classes, but they are getting confused. I can select each course (CS110/CS240) but it will only let me fetch one version. I think I need to include the course_id in the name of the assignment. Not much documentation/examples to go on here, though.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-education/8102889c-9575-4718-936c-3134d86cfbc6%40googlegroups.com.
-Doug
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
To post to this group, send email to jupyter-...@googlegroups.com.
Visit this group at https://groups.google.com/group/jupyter-education.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-education/dcc6df77-833c-4684-81d1-a42ae9294e03%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
To post to this group, send email to jupyter-...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Teaching with Jupyter Notebooks" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jupyter-education/hlAoxdic6xk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jupyter-education+unsubscribe@googlegroups.com.
To post to this group, send email to jupyter-education@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-education/e8680c78-6cf2-402e-a7be-9c92ce7886c0%40googlegroups.com.
After restarting JupyterHub, it works. That is to say that a user can't add a course without an admin or we have to add a cron to restart JupyterHub.
To unsubscribe from this group and all its topics, send an email to jupyter-educat...@googlegroups.com.
To post to this group, send email to jupyter-...@googlegroups.com.
Visit this group at https://groups.google.com/group/jupyter-education.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-education/e8680c78-6cf2-402e-a7be-9c92ce7886c0%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-education+unsubscribe@googlegroups.com.
To post to this group, send email to jupyter-education@googlegroups.com.
Visit this group at https://groups.google.com/group/jupyter-education.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-education/a7097ff0-698c-47e8-94e3-8f30b5423332%40googlegroups.com.