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

Import from GitHub Always Returns "Semaphore Locked" #121

Closed
mAAdhaTTah opened this issue Dec 9, 2015 · 6 comments
Closed

Import from GitHub Always Returns "Semaphore Locked" #121

mAAdhaTTah opened this issue Dec 9, 2015 · 6 comments
Labels

Comments

@mAAdhaTTah
Copy link
Owner

Maybe? I got this when importing a new post after a PR got merged. It was also mentioned in another issue.

@BoweFrankema
Copy link

I'm having the same issue. Import/Export seems to be not working anymore since 4.4. Sadly don't have any other additional errors/info

@mAAdhaTTah
Copy link
Owner Author

Part of the problem is I don't have a solid way to fully integration test the plugin together with the GitHub API. I'll have to take a closer look at whether that's possible.

@benbalter
Copy link
Collaborator

I think I might be running into the same issue? Clicking "import" simply reloads the page, with no feedback message on 4.4.1.

I don't have a solid way to fully integration test the plugin together with the GitHub API.

I don't know testing in the PHP world as well anymore, but in the Ruby world, I use Webmock often, which can intercept HTTP calls, and return a cached response (along with VCR). It looks like https://github.com/php-vcr/php-vcr might work?

@mAAdhaTTah
Copy link
Owner Author

I haven't tested on 4.4 yet. I wonder if there's something specific about the new version that's breaking thoughts? Though I have had this issue on 4.3, so maybe not. I have to spend some time digging into this. The Semaphore may be causing a lot of these issues, so maybe I messed that up somewhere.

@benbalter Is an integration tests against the live GitHub API using a test repository possible or would the GitHub API cut us off?

@benbalter
Copy link
Collaborator

@benbalter Is an integration tests against the live GitHub API using a test repository possible or would the GitHub API cut us off?

Possible, yes. You'd have to provide Travis with an encrypted token to make the write calls (and to get around rate limits), and document how to do the same locally, but no 🔴 🎏s. The creds would get you 5k requests an hour, which I suspect would be fine given the rate of development in the repo.

@mAAdhaTTah mAAdhaTTah added the bug label Jan 17, 2016
@mAAdhaTTah
Copy link
Owner Author

I think I might be running into the same issue? Clicking "import" simply reloads the page, with no feedback message on 4.4.1.

Can confirm this issue, but I believe this is an unrelated bug. Follow #127 for that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants