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

SVN Process got stuck and the plugin goes into loop #330

Closed
Selonka opened this issue Dec 20, 2019 · 1 comment
Closed

SVN Process got stuck and the plugin goes into loop #330

Selonka opened this issue Dec 20, 2019 · 1 comment

Comments

@Selonka
Copy link

Selonka commented Dec 20, 2019

Hi,

Iam running Mantis 2.23 with XAMPP 3.2.4 on Window server 2016 and got the following issue, after I setup the svn(binary version 1.8) settings, the svn process started on the the server is running forever with no usage of cpu und no change in memory consumption. The plugin gets in a kind of loop, waiting for data.

After killing the svn process manually, the loop ends and the plugin creates some log entrys, but no data is imported.

I found a solution in altering the code of the sourceSVN.php I simply changed these two lines near line 342

		$t_svn_out = stream_get_contents( $t_pipes[1] );
		fclose( $t_pipes[1] );
		$t_stderr = stream_get_contents( $t_pipes[2] );
		fclose( $t_pipes[2] );

Iam a noob with php, so I dont know if these changes are appropriate, but after the changing these lines the import of my svn data runs smoothly.

I will create a pull request for this!

@Selonka
Copy link
Author

Selonka commented Dec 20, 2019

Sry I see its a duplicate of #261

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

No branches or pull requests

2 participants