Pyarmor - Marshal loads failed - pyarmor

How do I fix the issue "The python version in runtime is different from the build time".
When I try to run the obfuscated file present in a folder I am getting this error.
Please help me with this!!

According to this:
https://pyarmor.readthedocs.io/en/latest/questions.html
You are probably running Pyarmor (building your obfuscated code) with a different version than the environment where the app is running. Find out the version that runs the app and try to run Pyarmor with the same version, for example by creating an environment with that version.

Related

jhipster hot deploy on client side using npm

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.

Failed to retrieve NativeApplicationBuilder when running IBM MobileFirst 6.3 CLI

We're trying to build our IBM MobileFirst project on version 6.3 via the command line and we always get a BUILD FAILED:
C:\Program Files\IBM\MobileFirst-CLI\mobilefirst-cli\node_modules\generator-worklight-server\lib\build.xml:341: Failed to retrieve NativeApplicationBuilder
What is NativeApplicationBuilder? Is it a Java thing, or something else?
Java Version being used is 1.7.0_80 64-Bit.
The error ended up being because there was no common folder and we are running a hybrid app. Since we use a preprocessing script to build the common folder, it hadn't been run yet. Since there was no common folder, it looked for something native to build which didn't exist either. Therefore, we got the error.
I should have looked closer into the build.xml file where it reported the error. It made sense after I saw that.

Build ti.barcode failed

This is my first time to build Titanium module. What I am building is the ti.barcode for Android. I grasp the source code from Github and import to Titanium studio. Some build path error is easily corrected by opening build path and just close. There is no error shown on the project.
But when I tried to package it, I always get error message:
Launching build and packaging failed
Build failed. Unable to locate generated zip file at /Users/ymlan/Code/ti.barcode-android-2.3.5/dist/ti.barcode-android-2.3.5.zip
I use JDK 1.8 , SDK 5.2.2GA , it seems to be some configuration error, but I can not figure it out after hours of googling. Since I request your keens help here.
Thanks in advance for your help.
Cliff
Maybe it's related to https://jira.appcelerator.org/browse/AC-3806.
It gives me the same error with a new module too.
I had a similar issue. After two days of hell, I have found the cause of my problem! In my workspace root there was an old tiapp.xml (I do not know how it got there...). After removing it, I managed to make the build of the modules, both from Appcelerator Studio that from the CLI.
Try to see if you also have a tiapp.xml or timodule.xml file in the root of the workspace.
Maybe this one might help you
https://github.com/acktie/Acktie-Mobile-Android-Barcode
Or is it definitely required to use Ti.barcode ?

qtcreator cmake "No executable specified"

Im having a very annoying issue with qtcreator and cmake projects: qtcreator fails to find the executable. It just prints "No executable specified" when trying to launch any executable from the IDE. Everything works fine after configuring the project (first time only). The issue manifests when loading the project afterwards. Only workaround is deleting the "CMakeLists.txt.user" before every use. This is tedious and unnecessary.
This is happening to projects that were running just fine for years, both my own and my colleagues, on multiple machines running ubuntu 14.04 & 14.10. Problems started with qtcreator version 3 and higher from ubuntu 14.04 upwards.
Assuming that the issue is triggered by some changes in the "CMakeLists.txt.user", after the project is closed the first time, I replaced the file with a copy of it right after it was created the first time. This worked, thus confirming that there is either something wrong with the file itself, or changes to it trigger an existing bug in qt-creator. Unfortunately it is just as tedious as deleting the file in the first place.
My Challenge:
Unfortunately I am not familiar with the inner workings of qtcreaor, however I managed to identify the specific config lines that are responsible. What does qtcreator actually change here?
Please note that "racoon" is the project name and the above diff screenshot is much larger than formatted by stackoverflow (right-click to view full resolution).
Thank you.
i had exactly the same problem using Ubuntu 14.10 and resolved it by doing the following:
Get ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/a/an/anthonos/mirror/os3-next/os3-rpm/q/qtcreator-3.1.2-0.x86_64.rpm
Extract the file /usr/lib/qtcreator/plugins/QtProject/libCMakeProjectManager.so
Overwrite this file at
/usr/lib/x86_64-linux-gnu/qtcreator/plugins/ ( at least on x64)
in your system
This will replace the cmake plugin which is currently version 3.1.1 with 3.1.2 which will make the problem disappear !
I installed qtcreator using Qt's own installer instead of the one provided by Ubuntu. It installs version 5.3.1 and fixes the problem.

nunit-console tests produces different result from different locations

I have got nunit-console.exe in 2 locations on my machine. First is where I installed it (c:\program files (x86)\nunit 2.5.10) and second is where I have copied it into (d:\tests\nunit). I am required to work with the copied version.
I am trying to run a test from a test assembly and I get strange results. When I try to invoke the installed version, the test runs fine. But, when I try to invoke the copied version, the tests dont run. The copied version was initally throwing the NUnit components for version 4.0.30319 of the CLR are not installed error and I followed the solution for this question to fix it. But, now the tests (which include BizUnit 2010 maps and schemas) fail with an error which I am unable to fix.
The strange this is, if I invoke the installed version, all runs smooth. I am not required to do any config changes and tests pass ok.
I tried to use the /domain=None option of nunit-console.exe, the tests pass. But, I dont want to use it.
Please can someone help? What am I missing?
I am running on Win 2008R2 with .NET version 4 and NUnit version 2.5.10
Thanks
I've had the same problem. In my case it was because the path where I had copied nunit included a # letter. I renamed the folder and it worked flawlessly.
I got the answer from here:
https://groups.google.com/forum/#!topic/nunit-discuss/bc73uuP-Lbw