进程已完成,退出代码为-1073741819 [英] Process finished with exit code -1073741819

查看:11617
本文介绍了进程已完成,退出代码为-1073741819的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在RubyMine中运行一个功能文件时,它会随机崩溃,这个错误。有时它会运行一个场景其他时间它会运行一对夫妇之前给出这个错误,但它总是。我们认为它与我们使用的IE的版本有关,但似乎发生在所有版本。此外,这个问题似乎并不影响每个人,我们不确定是什么原因,因为每个环境的设置是一样的...任何想法?

When I run a feature file in RubyMine it will randomly crash with this error. Sometimes it will run one scenario other times it will run a couple before giving this error but it always does. We thought it had something to do with the version of IE we were using but it seems to occur with all versions. Also this issue doesn't seem to affect everyone and we're unsure as to what causes it because the settings on each environment are the same... Any ideas?

推荐答案

我不认为这是解决方案,但到目前为止似乎已经修复了我的代码...在我的hooks文件中,我有一个后块,其中有线@ browser.quit我跟踪失败,直到这行,当我评论这一行,我没有得到的错误。就像我说的,我不知道这是否是这个问题的原因,但到目前为止它似乎解决了...只是想我会分享。

I don't think that this is the solution but so far it seems to have fixed my code... In my hooks file I have an after block that among other things has the line @browser.quit I've tracked the failure down to this line and when I comment this line out I don't get the error. Like I said I don't know if this is actually the cause of the problem but so far it seems to have resolved it... Just thought I'd share.

编辑:Ok我找到了真实的解决方案。显然在命令退出的某处有一个错误,导致-1073 ...错误。而不是使用退出,我把它切换到.close,似乎已经解决了。关闭命令将清除地关闭浏览器实例,没有任何错误。

Ok I found out the real solution. Apparently somewhere in the command "quit" there's a bug that causes the -1073... error. Instead of using "quit" I switched it to ".close" and that seems to have resolved it. The close command will cleanly close out of the browser instance without any errors.

这篇关于进程已完成,退出代码为-1073741819的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆