I created a simple python script to fetch crypto currency prices from website and then saves them to a csv file, the script works fine and flawlessly but when I compile the script and try to send it to someone or just create a release on GitHub it gets flagged as a virus when downloaded in edge and chrome but not brave (didn't test for Firefox) I tried compiling with pyinstaller of different versions 3.6 and the latest release I even tried to compile it myself by downloading the source code from github but it just keeps on getting flagged as virus, then I tried pyarmor-webui and changed some settings I know it uses pyinstaller but I though changing the settings will help but I was wrong
I tried nuikta with different settings but I keep on getting the same result
I followed this writeup but still not successful
I also tried changing the executable metadata with resource hacker and that didn't seem to help
I even tried to test with a simple hello world script and still got the same result
how do you fix this
import random
print ("Hello world!")
for i in range(3):
print (random.randrange(0,9))
Related
While I am aware that Hot Restart is in preview, it was for quite a while now and my testing never really worked since the first time I've tried it. I've waited for a few VS studio versions to come up, hoping that my issue will be fixed. Since I've kept an eye on issues and haven't seen something similar, I tend to believe that the issue is locally with my setup.
Here is the situation:
I've enabled Hot Restart in VS and added my account, picked the team (after I was added) and everything went fine without errors. I have a free apple account, but after I was added to a Team I was able to obtain automatic provisioning to work.
I've tried to set the debug build options similar to how the simulator was set
I've disabled device specific build as I saw in the docs that it can create problems.
I've installed iTunes just as specified in the docs and when I connect my device to my Windows 10 PC, I can select it from the list.
So basically it looks like everything is set up. I use for testing an iphone 7 with latest iOS version.
Here is what happens:
I've selected different types of output logs hopeing to catch some error in there that could lead me to find a solution.
when starting to build I can see "Building offline for a local device" and I can see my provisioning file details on "Detected signed identity"
I see no apparent error while it compiles and does its job, no complains about signing
then it gets to the IpaCopyToStagingDirectory and there it starts to copy a bunch of files from bin\Iphone\Debug to Artifacts\app.iOS.dSYM where I get the final error: Could not copy the file bin\iPhone\Debug\\app.iOS.ipa because it was not found
If I go to the bin folder, there are many files, including app.iOS.exe, but indeed there is no ipa file. I also don't know why it has two \ on its path.
Any ideas why is not working?
I am unable to have my screenshot automatically embed itself into the RobotFramework log file after my test is run. I am using:
SikuliX 1.1.4
RobotFramework 3.0.4 JAR distribution (placed in C:\Users[user]\AppData\Roaming\Sikulix\Extensions
I am able to run my simple test and also have a report/log kicked out - along with a screenshot. The only trouble is that the screenshot is not visible in the log file when viewed in a browser (tried Chrome and FF).
This is my code as written in Sikuli:
runScript("""
robot
*** Settings ***
Library Screenshot
*** Test Cases ***
Try to take a screenshot
Take Screenshot mypic 80%
""")
My folder where the logs are outputted looks like this after the test is run:
./log.html
./mypic_1.jpg
./output.xml
./report.html
./test2.robot
So far, all I have come across when searching the net is that the embed should 'just happen automatically' when using the 'Take Screenshot' keyword.
I have not tried this scenario with RobotFramework by itself - I think that may be my next step, but hoped someone would have an easy solution since I am wanting to use these two packages together. I am wanting to leverage Sikuli to help with my GUI intensive tests and RF for its' reporting and screenshotting capability.
I also had a similar problem with Sikurix 1.1.4 (with RF 3.0.0)
When overwriting the Robot directory of Robot Framework 3.0.4 in "C:\Users\xxxx\AppData\Roaming\Sikulix\Lib\robot", images are now embedded in Log.html.
Even though the comment made by temp temp didn't solve my issue right away, it did put me on the right track. After copying over the pip installed version of RF as mentioned in the comment, I removed the RF JAR file from my Extensions folder (not even sure why I tried this). Once I removed the JAR file, the image started embedding itself in the log. So it seems the combination of the RF version included with Sikuli combined with the RF JAR file was causing my issue.
I use Anaconda for both python and R, I updated today, after that none of my R files are opening. I wrote a block of code, saved and tried to open, but after it opens, the entire file is empty.
I tried uninstalling and installing again, but its the same. Can anyone help me out with this please, my college project work is struck in between and I see all my developed codes gone suddenly.
Thank You in Advance
I’ve had this happen to me a few times. My work around is the navigate to the file in file explorer, right click on it, and open in a text editor. This should provide you your code. From there copy and paste back into your IDE. Further, saving the file with UTF-8 encoding supposedly helps as well, but I have yet to determine if this is a full workaround.
Using atom-editor 1.13 with the love-ide package installed to run LOVE2d 10.2 games (windows 7)
Apparently if you create a conf.lua file in the same folder as your main.lua file you can add some configuations to main.lua. So, I've got these lines of code in my conf.lua to show console.
function love.conf(t)
t.console = true
end
But when I go back to my main.lua and type print("ballz"), all I see is a blank LOVE2d game screen with no extra console window. Not really sure if this is because I'm using atom editor or not. Everything seems to be PATH'ed correctly.
On a side note, whenever I run atom using the love-ide package it always tries to install some "dependecy files" like the hyperclick-love package, and the auto-complete-love package. These fail to install because I don't have git installed.. honestly I really don't know what git is, but neither it, hyperclick, or auto-complete seemed like requirements to run my game, so in the spirit of not installing unnecessary things onto my computer I never installed these things... annoying as it is to see this notification always pop up when I start atom. Anyone know if this is contributing to the issue, or know a way to remove these notifications or auto-download-attempts? My LOVE2d code still seems to run without these packages.
Have you set up the terminal emulator in your configuration?
(Windows only) Try using the lovec.exe executable instead of the normal love.exe. The first one attaches to the console that executed the game, the second one ignores it.
Lua has a buffered output, try adding io.stdout:setvbuf('no') to the top of main.lua
Having compiled and linked a NaCl module I am now attempting to debug why it seemingly won't run. Unfortunately the platform is not passing on ANY information about why nothing is happening.
I can't believe I'm asking something this basic but what do you have to do to get a single printf() statement to appear in stdout/stderr? Or in the Javascript console?
Yes I've read the SDK page about Debugging and enabled all the dozens of environment variables and flags, I've turned the logging verbosity up to max, and absolutely none of it makes the blindest bit of difference. No information whatsoever appears anywhere.
Occasionally the JS console will print the line "ServiceRuntime::Start (start failed)" (which also appears in stdout) but it's far more often that I get nothing at all.
NaCl SDK version is 28, am running Chrome 30 on OS X Mavericks.
Command used to start Chrome with the Graphics 3D example in the SDK:
export NACL_EXE_STDERR=~/nacl_stderr.log
export NACL_EXE_STDOUT=~/nacl_stdout.log
open -a "Google Chrome" http://localhost:5103/api/graphics_3d/ --args --enable-logging --no-sandbox --vmodule=ppb*=4
This should generate a ton of logging but the log files are never created.
As discussed on the mailing list, the solution is to make sure you invoke chrome (e.g. from the command line) using the actual path to the Chrome binary (for example, "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome") instead of using the open shell command, because open does not give you the stdout/stderr streams from the application it launches.