deepstream failed to parse config file - machine-learning

I was downloading deepstream SDK 6.0 to my jetson nano with nvidia's quick start instructions. I run this command deepstream-app -c <path_to_config_file> while I m inside of /opt/nvidia/deepstream/deepstream-6.0 directory.
ERROR: <parse_config_file:536>: parse_config_file failed ** ERROR: <main:630>: Failed to parse config file 'source30_1080p_dec_infer-resnet_tiled_display_int8.txt' Quitting **
I tried to change config file and run by writing with path of config file but it did not work

Related

How to fix ' Error: Invalid or corrupt jarfile /root/.sbt/launchers/1.2.8/sbt-launch.jar'

I was following the tutorial Apache PredictionIO Docker.When I was the step "Build Template"
# pio-docker build --verbose
It went an error.
[root#docker01 MyRecommendation]# pio-docker build --verbose
[INFO] [Engine$] Using command '/usr/share/predictionio/sbt/sbt' at /templates/MyRecommendation to build.
[INFO] [Engine$] If the path above is incorrect, this process will fail.
[INFO] [Engine$] Uber JAR disabled. Making sure lib/pio-assembly-0.13.0.jar is absent.
[INFO] [Engine$] Going to run: /usr/share/predictionio/sbt/sbt package assemblyPackageDependency in /templates/MyRecommendation
[ERROR] [Engine$] Error: Invalid or corrupt jarfile /root/.sbt/launchers/1.2.8/sbt-launch.jar
[ERROR] [Engine$] Return code of build command: /usr/share/predictionio/sbt/sbt package assemblyPackageDependency is 1. Aborting.
[root#docker01 MyRecommendation]#
1.I've made the dirs
/templates/MyRecommendation
,I don't know some how why the command
pio-docker
,always need that dirs,nor the next dirs
templates/MyRecommendation
.My current dirs is
/root/predictionio/docker/templates/MyRecommendation
to execute the command
# pio-docker build --verbose
2.
/usr/share/predictionio/sbt/sbt
That file do not exists,before I made a softlinks to it.now if I execute it ,it works fine.In the original tutorial
Installing with Docker
,it didn't tell you to do it .
You must remove .sbt folder so fixed this error.

Failed loading config file

Getting error while running build from Jenkins with Git source. This config file is working fine from local terminal though. Can someone please help?
[13:07:10] Using gulpfile ~/.jenkins/workspace/Demo/gulpfile.js
[13:07:10] Starting 'test'...
[13:07:10] Testing sites/sitename
[13:07:10] E/configParser - error code: 105
[13:07:10] E/configParser - description: failed loading configuration file ./sites/sitename/protractor.conf.js
/Users/akuchhal/.jenkins/workspace/Demo/node_modules/protractor/built/configParser.js:130
throw new exitCodes_1.ConfigError(logger, 'failed loading configuration file ' + filename);
This is what I have in Jenkins shell command:
npm install;
node_modules/.bin/gulp test --site sitename --suite smoke;
I got this resolved. I was not including node_modules directory in my GIT repository.

Failed to copy /home/[...]/ecj.jar to /usr/share/ant/lib/ecj.jar due to java.io.FileNotFoundException /usr/share/ant/lib/ecj.jar (Permission denied)

While ant clean works fine within Liferay IDE, when trying from command line I get:
$ ant clean
Buildfile: /home/nico/myportlet/build.xml
[copy] Copying 1 file to /usr/share/ant/lib
Attempt to copy /home/nico/liferay-plugins-sdk-6.2-ee-sp14/lib/ecj.jar to /usr/share/ant/lib/ecj.jar using NIO Channels failed due to '/usr/share/ant/lib/ecj.jar (Permission denied)'. Falling back to streams.
BUILD FAILED
/home/nico/myportlet/build.xml:5: The following error occurred while executing this line:
/home/nico/liferay-plugins-sdk-6.2-ee-sp14/portlets/build-common-portlet.xml:5: The following error occurred while executing this line:
/home/nico/liferay-plugins-sdk-6.2-ee-sp14/build-common-plugin.xml:5: The following error occurred while executing this line:
/home/nico/liferay-plugins-sdk-6.2-ee-sp14/build-common.xml:94: Failed to copy /home/nico/liferay-plugins-sdk-6.2-ee-sp14/lib/ecj.jar to /usr/share/ant/lib/ecj.jar due to java.io.FileNotFoundException /usr/share/ant/lib/ecj.jar (Permission denied)
Total time: 2 seconds
How to fix that?
Just copy the file manually as root.
After you have done that, ant will be happy and execute the tasks without complaining.
Here is how to do on Linux/Mac:
sudo cp /home/nico/liferay-plugins-sdk-6.2-ee-sp14/lib/ecj.jar /usr/share/ant/lib/
Or to not messing up with system libraries we could reference folder to ant like :
ant clean -lib /home/nico/liferay-plugins-sdk-6.2-ee-sp14/lib

compile vlc for android

I am trying to compile vlc for android in RHEL 6.4 (Santiago). I am following the instructions given in this page https://wiki.videolan.org/AndroidCompile. I am getting some errors.
First is when I build this, I get error in git.
error: unknown switch `B'. refer http://txt.do/6tjh for log
I changed the git checkout -B android ${TESTED_HASH} to git checkout -b android ${TESTED_HASH}. Then this error does not come
Then when I run sh compile.sh, I get following errors (refer http://tny.cz/bb552912 I have removed some part of log which had code to download packages like automake, protobuf, ragel etc)
rmdir: failed to remove /root/Documents/android/android/vlc/contrib/arm-linux-androideabi/include/freetype2/freetype/config': No such file or directory
make[1]: [install] Error 1 (ignored)
rmdir: failed to remove `/root/Documents/android/android/vlc/contrib/arm-linux-androideabi/include/freetype2/freetype': No such file or directory
make[1]: [install] Error 1 (ignored)
Then if I again run sh compile.sh, weird things happen. I don't get this error again, but it builds some library and then stops.
First it build libdvdcss and then stops (refer http://tny.cz/5f3ab58f)
It ends like
Libraries have been installed in:
/root/Documents/android/android/vlc/contrib/arm-linux-androideabi/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following:
add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution
add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
use the `-Wl,-rpath -Wl,LIBDIR' linker flag
have your system administrator add LIBDIR to `/etc/ld.so.conf'
make[2]: Leaving directory `/root/Documents/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/dvdcss'
make[1]: Leaving directory `/root/Documents/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/dvdcss'
touch .dvdcss
Then each time I run "sh compile.sh" it build one more library and then stops.
it has build following libraries
libopenjpeg (http://tny.cz/86236e8b)
libgpg-error http://tny.cz/26c5626b)
ffmpeg (http://tny.cz/1f05aa0f)
gmp
libgcrypt
iconv
nettle
libjpeg
Finally I get an following error and I am not able to do any after that (http://tny.cz/ed7798ea)
autopoint: * The AM_GNU_GETTEXT_VERSION declaration in your configure.ac file requires the infrastructure from gettext-0.18 but this version is older. Please upgrade to gettext-0.18 or newer.
autopoint: * Stop.
autoreconf: autopoint failed with exit status: 1
configure.in:20: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /root/Documents/android/android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *[.ogg] Error 1
I am not able to find gettext package with version > .18 for RHEL 6.4. Maximum available is .17 which is installed
Is not this weird. Should not doing "sh compile.sh" build all libraries and I should not have to do this again and again.
Also Is RHEL 6.4 (Santiago) compatible for building vlc android
Any help for these errors

FastPdfKit Shell Script Invocation error

I have downloaded a projects from git while opening it from Xcode 6 giving me These errors
FastPdfKit
Shell Script Invocation error
Console log
Console log
** BUILD SUCCEEDED **
Create universal static library
/Applications/Xcode 6.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool -static /Users/xeemu1/Library/Developer/Xcode/DerivedData/Popboardz-dtuwsutwwdhzqlglwojmwozfwhvo/Build/Products/Debug-iphonesimulator/FastPdfKit.framework/Versions/A/FastPdfKit /Users/xeemu1/Library/Developer/Xcode/DerivedData/Popboardz-dtuwsutwwdhzqlglwojmwozfwhvo/Build/Products/Debug-iphoneos/FastPdfKit.framework/Versions/A/FastPdfKit -o /Users/xeemu1/Library/Developer/Xcode/DerivedData/Popboardz-dtuwsutwwdhzqlglwojmwozfwhvo/Build/Products/Debug-iphonesimulator/FastPdfKit.framework/Versions/A/FastPdfKit.temp
/Users/xeemu1/Library/Developer/Xcode/DerivedData/Popboardz-dtuwsutwwdhzqlglwojmwozfwhvo/Build/Intermediates/FastPdfKit.build/Debug-iphonesimulator/FastPdfKit.build/Script-958A819E14027EEE00837C82.sh: line 97: /Applications/Xcode 6.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: No such file or directory
Just check permissions, it worked to me in the cordova/phonegap environment using CLI.

Resources