jupyterhub / nbgitpuller

Jupyter server extension to sync a git repository one-way to a local path
https://nbgitpuller.readthedocs.io
BSD 3-Clause "New" or "Revised" License
212 stars 86 forks source link

[Exit Status 128] - Nbgitpuller Doesn't Allow Access to R.Datahub #327

Open paulamarm opened 1 year ago

paulamarm commented 1 year ago

Bug description

Hi, I'm experiencing the same bug as issue #153 for one student. They see the same nbgitpuller error when they open the datahub and I'm wondering what files I should be trying to fix in her downstream data hub to fix this issue, since I can open her datahub even though she is getting this issue.

How to reproduce

  1. Go to the course website and access datahub using the nbgitpuller link (https://publichealth.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fph142-ucb%2Fph142-fa23&urlpath=rstudio%2F&branch=main) See error:
Screenshot 2023-10-05 at 11 29 17 AM

Your personal set up

Full environment ``` # paste output of `pip freeze` or `conda list` here ```
Configuration ```python # jupyterhub_config.py ```
Logs ``` # paste relevant logs here, if any ```
welcome[bot] commented 1 year ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

balajialg commented 1 year ago

@paulamarm I think this solution would fix this issue. You can also check the solution provided for a similar issue faced by a Berkeley instructor.

paulamarm commented 1 year ago

I recognize that this is usually a merge issue but I haven't made changes post-uploading to github in many assignments/weeks and the student also mentioned that they doubt opening the assignment anytime soon after it was released. Every file I uploaded that week showed merge behavior on the student's github, but since there are so many files and I was able to export their submission I simply deleted the files that had been duplicated or released by that point. The student still has the same issue so I think it's either device-related or something I'm missing at this point in the student's files/ the commit history. (https://publichealth.datahub.berkeley.edu/user/andreamald4/git-pull?repo=https%3A%2F%2Fgithub.com%2Fph142-ucb%2Fph142-fa23&urlpath=rstudio%2F&branch=main&redirects=1) Any advice?

balajialg commented 1 year ago

@paulamarm I think this can be solved more easily by troubleshooting the students' server. I have reached out to you via Slack to get the student's calnet id so that I can log into their servers and do the necessary troubleshooting.

balajialg commented 1 year ago

@paulamarm confirmed over Slack that this issue was resolved. Renaming the user file seemed to do the trick.