I am trying to get libtorrent to work by starting a libtorrent session in Twisted.
I have created two scripts to demonstrate the problem. When these scripts are ran, libtorrent status is stuck on checking_resume_data for both scripts. When the contents of the main functions are executed without Twisted, that is, on the non-reactor, default main thread, these scripts work properly (and the libtorrent status of the torrent is set to downloading and seeding respectively). The behavior is the same under python versions 2.7 and 3.5.
This issue is confirmed by a Twisted developer.
I tried to attach the python debugger (python -m pdb seeder.py), but couldn't find anything abnormal.
Does anyone have any experience with this problem or know why it exists? Has someone found a solution?
Thanks in advance!
Related
I’m a newbie to using SDKs, using Jupiter Notebooks to play around.
I have pip installed xero-python per Xero’s github page below:
https://github.com/XeroAPI/xero-python
I saved the repository to my hard drive and opened a Jupiter Notebook within repository master folder and copied the code from the configuration section but get an error “no module called logging.settings found” (referring to the parameter passed into dictConfig)
Could someone help me get this up and running, I’m sure there will be a cascade of other errors after sorting this one.
Also, I’d be really grateful if someone could point me to some resources on how to work with SDKs, I’m used to just pip installing a library and just getting familiar with the objects/methods in that library.
Thank you!!!
We have currently about 200 test features. We start to face something strange, most of the times tests are just stuck and would not proceed when we run mvn test command as the following:
mvn clean test -Dcucumber.options="--tags $tags" -Dtest=TestRunner -Dkarate.env=$env
Some tests would run as it was perfectly fine. But at some point the rest will just stuck as it it hangs.
We run the tests in parallel using 10 threads.
It stucks like this
Anybody experienced similar things? Any ideas what could possibly went wrong?
Thanks
This should be fixed in 0.9.5.RC3 - it is stable to use for API testing, so I recommend you upgrade.
If anyone faces this problem for any other version of Karate, please understand that the best (and possibly only) way to troubleshoot or solve this - is to follow this process: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue
I actually have the same problem as you but I can't comment because of reputation, my project works with Gradle and I'm using IntelliJ IDEA and JDK1.8(at another moment before all this I tried Jetbrains SDK11 but had the same problem, I downgraded to java 8 and everything worked again) on this ocassion I did as peter said and upgraded to 0.9.5.RC4 but still when I execute some of my features they never end, for example, I'm currently working on a very simple feature that calls another feature for login, it works for many other features but for this one it appears to get to the end of its execution and never go back to the caller feature, as I was running out of options I made a new simple project copied the resources folder I store my features in and my run parallel class and tried again but it behaves in the same way, the execution never ends.
I'll upload an image with my screen while it executes as you can see it's been executing for 15 minutes
projectView
We have currently about 200 test features. We start to face something strange, most of the times tests are just stuck and would not proceed when we run mvn test command as the following:
mvn clean test -Dcucumber.options="--tags $tags" -Dtest=TestRunner -Dkarate.env=$env
Some tests would run as it was perfectly fine. But at some point the rest will just stuck as it it hangs.
We run the tests in parallel using 10 threads.
It stucks like this
Anybody experienced similar things? Any ideas what could possibly went wrong?
Thanks
This should be fixed in 0.9.5.RC3 - it is stable to use for API testing, so I recommend you upgrade.
If anyone faces this problem for any other version of Karate, please understand that the best (and possibly only) way to troubleshoot or solve this - is to follow this process: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue
I actually have the same problem as you but I can't comment because of reputation, my project works with Gradle and I'm using IntelliJ IDEA and JDK1.8(at another moment before all this I tried Jetbrains SDK11 but had the same problem, I downgraded to java 8 and everything worked again) on this ocassion I did as peter said and upgraded to 0.9.5.RC4 but still when I execute some of my features they never end, for example, I'm currently working on a very simple feature that calls another feature for login, it works for many other features but for this one it appears to get to the end of its execution and never go back to the caller feature, as I was running out of options I made a new simple project copied the resources folder I store my features in and my run parallel class and tried again but it behaves in the same way, the execution never ends.
I'll upload an image with my screen while it executes as you can see it's been executing for 15 minutes
projectView
I am using version 4.5.5 of jhipster.
My OS is Linux Mint.
I am using IntelliJ as my IDE.
Everything is working fine in terms of generating the code, building and running the code.
Client
Unfortunately, when I make changes to the client code (html or ts), the changes are not reflected until I recompile the client code completed. To achieve this I do "mvn -Pdev,webpack". It takes quite a while to restart the client and this is really holding me back.
Hot Deploy
What I expect to happen is that I can run "npm start" and when I save a change to a ts or a html file that it will be picked up and the change immediately visible in the browser.
Questions
Any ideas why the client hot deploy is not working ?
Any ideas how I identify where the issue is ?
For example, how do I know what folders are being watched by the hot deploy ?
Thanks a million for you help.
I am sure others have encountered the same issue and will read the answer gladly.
Kind regards,
Fergal.
PS Need any details, simply ask.
Figured it out.
Somebody else had a similar issue with a globally installed instance of webpack.
I installed a local version and the file updates are being detected and recompiled and the app hot deployed. Now working perfectly.
To install a local version webpack.js.org/guides/installation/#local-installation.
I am using Windows OS. I went through the loadui website to understand the automation process. As I am very new with this software, I cant even understand how to run certain command. For example, there is command like this "loadUI-Agent-1_5_0.exe -c" need to be run in command line.
I try to paste it in command prompt, but it is not recognized. Anybody have any idea how to do that? It is very good if you guys can provide me link to learn from zero, where I can follow step by step to automate the load testing using loadui.
Thanks
You have to use loadui-cmd.bat, which can be found in the LoadUI installation directory.
You should also use the latest version of LoadUI which is 2.1.1.
Source: Getting Started with Automation from the LoadUI documentation.