-
Notifications
You must be signed in to change notification settings - Fork 27
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
Trac-github suddenly stops working #8
Comments
What does the log says? Check your logging settings, http://dev.piwik.org/trac/admin/general/logging |
Well, this is certainly incredible. It is working again ! Now I do: $ curl --data "test=1" http://dev.piwik.org/trac/github (as expected) It's working again. I don't get it... we havent changed anything! But thank you for the tip for the logging I will remember for next time to check there. Keep it up! Btw you can maybe put a Flattr on your page we would be glad to flattr you :) |
FYI Looking at logs I found an error, that may be of interest:
Maybe this exception should be caught in the plugin... |
That happens when a request contains broken UTF-8. I know Django contains code to deal with this problem, but I don't remember what it does exactly. The request isn't processable anyway. The exception could be caught at the HTTP layer of Trac ie. |
Occasionally the post-commit hook doesn't work and I see the following in the logs:
Next time it happens I will try to gather more info, but I think that the changeset isn't being pushed to the remote. Running a fetch on the repository seems to fix the issue. |
Yes, we've seen that on Django as well. It appears to be a race condition where Trac is notified but the git fetch doesn't get the commit. I never figured out when it happens exactly. |
I wonder if we could reorder the code and implement a retry of |
I remember trying various things, but that was several years ago, so unfortunately I don't remember the details. |
Hello,
First of all thank you for this great plugin. We've been using it for a few weeks on http://dev.piwik.org and it is great!
However, today we have a problem that the plugin seems disabled, and we can't find a way to enable it again. There has been no change in the files. Do you know, how or why the plugin could stop working and appear disabled, very suddenly ? It was working 24 hours ago: http://dev.piwik.org/trac/ticket/3668#comment:2
We have tried reinstalling via;
$ cd /path/www/dev.piwik.org/trac/plugins
$ pip install -e git://github.com/aaugustin/trac-github.git#egg=TracGitHub-dev
To test I use:
$ curl --data "test=1" http://dev.piwik.org/trac/github
But that returns the "Error handler not found".
Also our timeline: http://dev.piwik.org/trac/timeline is not showing git commits anymore.
We compared the whole filesystem to backup and nothing changed in the last 24 hours.
Thank you very much for your help!
Matt
The text was updated successfully, but these errors were encountered: