Thanks for your quick reply. It sounds like I don't need the integration enabled, so we can cross that off for troubleshooting.

Here's my sequence of steps:
1. Log in as an admin user
2. Choose Package Management from the drop down
3. Click Update a package
4. In the field github url, I enter: https://github.com/jhpyle/docassemble-baseball
5. I get the error noted above

Answering my own question:
Just to double check, I went to the docassemble-baseball url from the docs and it looks like it's just a placeholder. I just used that URL as it was in the docs and I figured it would be a good way to test.

When I used https://github.com/jhpyle/docassemble-eviction instead, it works just fine. Thanks again, and sorry to have troubled you.

Best,
Andy

On Thu, Aug 31, 2017 at 11:26 AM, Jonathan Pyle <jhpyle@gmail.com> wrote:
Hi Andrew,

The authorization callback URL will return a 404 if you try to access it without providing a valid code in the URL parameter.  If GitHub is showing that a user is connected, I think that means that the authorization callback process succeeded.

The GitHub integration feature is only used on the Playground -> Packages screen.  It provides a "GitHub" button that is used to push a docassemble extension package to GitHub.

Installing a package from GitHub does not require GitHub integration to be set up.  You should be able to go to Package Management -> Update a package and enter the URL of an existing public GitHub repository.  There is also a "Pull" button under Playground -> Packages that does a similar thing.

I am curious to know more about how exactly you got to the screen with the error that said "There was an error updating packages."  Also, there might be some information in the "Logs" about what went wrong.

Jonathan

On Thu, Aug 31, 2017 at 1:55 PM, Andrew Nanton <andrew.nanton@gmail.com> wrote:
Hi, I'm new to the listserv. I'm a forensic psychiatrist and I do expert witness work pretty often. I'm checking out Docassemble as a way to automate some of the reports I'm writing.

I am trying to set up GitHub integration so that I can store my interviews there. I got the application set up with GitHub (created it on GitHub, added credentials to the Docassemble config file), and on GitHub it shows one user connecting. In my profile, I see the GitHub integration link, and it when I click it, in gives me a message saying it's configured.

The problem is that when I try to install a package, I get the following message:

Updating packages
There was an error updating packages.
No error message. Result is None

I think the problem is the authorization callback. When I enter the GitHub authorization callback URL in the browser, I get a 404 not found. I am sure that the server name / url is correct. It works without /github_oauth_callback appended, but not when added to the end of the as directed in the docs.

Any suggestions would be most welcome, and thanks for making such a cool open source project.

Best,
Andy
_______________________________________________
Docassemble mailing list
docassemble@python.org
https://mail.python.org/mm3/mailman3/lists/docassemble.python.org/