I have installed ODOO on google cloud and it is working fine.
But when i give print command then it gives error:
Unable to find Wkhtmltopdf on this system. The report will be shown in html
Then I installed wkhtmltopdf on my cloud machine (linux 16).
After after installation I check:
wkhtmltopdf --version
And it checked that wkhtmltopdf is installed.
But still the same error when I give print Command.
Check that you have added the path where wkhtmltopdf is stored in the Odoo Service file. For instance:
PATH=/bin:/sbin:/usr/bin:/usr/local/bin:/usr/local/lib
Remember that you should restart the service to get the updated path.
Make sure you have installed a well tested wkhtmltopdf library for Odoo such as this version: 0.12.1.3
Related
I tried to install rubyrep following their instructions on their website and the the files are not running for installation. I have the latest JVM and on Windows 7. The application I am using is using POSTGRE 9.3.
I was running the batch file generated from the folder rubyrep.bat or is there a way to run the installation ?
Can someone guide me or give me tip on troubleshooting this problem even though the installation is straight forward?
From the command line change into the directory where you have extracted the rubyrep zip file. You then just run rubyrep NOT rubyrep.bat as shown in the picture below.
I'm using Tess4J (JNA wrapper around tesseract), and trying to call tess.doOCR(myFile) to OCR text from a single-page PDF.
I have GhostScript installed (by using yum install ghostscript), gs -h works correctly.
My app server is using 64-bit JVM, and I have gsdll64.dll, and the 64-bit tesseract dll's liblept168.dll and libtesseract302.dll in the class path.
When tess.doOCR(myFile) is called, this is logged:
GPL Ghostscript 8.70 (2014-09-22)
Copyright (C) 2014 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
But then it just stops there. The program doesn't go any further.
UPDATE --
It looks like the real issue is from this error:
java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract': Native library (linux-x86-64/libtesseract.so) not found in resource path
After looking around a lot, I don't see a convenient place to find this libtesseract.so file, and I'm not sure what it takes to get this onto my Linux app server. I read that maybe I need to download some C++ runtime, but I don't see a Linux download for that. Any advice would be much appreciated.
Or is this something to do with a symbolic link?
The Fix was simple for me,just do sudo apt-get install tesseract-ocr from the command line. For linux you dont need to worry about the DDL librarires or the jvm version. Installing tessearct from apt-get will do the trick.
Those DLLs are for Windows. For Linux, you'll need to install or build from Tesseract source.
That GS version, 8.70, is quite old. The latest Ghost4J library that Tess4J uses is not compatible with that.
Tess4J should include required libraries. However, you need to extract them first.
This should do the trick:
File tmpFolder = LoadLibs.extractTessResources("win32-x86-64"); // replace platform
System.setProperty("java.library.path", tmpFolder.getPath());
You should replace the argument of extractTessResources(..) with your platform. You can find possible options by looking into the Tess4J jar file.
This way you need not to install Tesseract on your system.
Recently I wrote a blog post about Tess4J in which I used this technique. Maybe it can help if you need further information or a running example project.
sudo apt-get update
sudo apt-get install tesseract-ocr
download test data by git
https://github.com/tesseract-ocr/tessdata
I am a web developer and new to Phonegap..
I was trying to install phone gap on my windows 7 machine as per described here
http://docs.phonegap.com/en/3.1.0/guide_cli_index.md.html#The%20Command-line%20Interface
but when i run the following command
cordova platform add android
i am getting the following error
[Error: An error occured during creation of android sub-project.
ERROR : executing command 'ant', make sure you have ant installed and added to y
our path.
]
does this mean that i should install apache ant on my machine ? if so can someone redirect me to right link.
I am also running wampserver on my machine for my other developments..
will installing 'ant' affect on my wamp ?
As described in PhoneGap Getting Started
Finally, you may need to include %ANT_HOME%\bin to your PATH as well. To check to see if this is required, run a command prompt and type ant. If the program can not be found add %ANT_HOME%\bin to the PATH. You may need to specify the full path instead of using the %ANT_HOME% environment variable.
If you need ant for Windows, you may want to download and install it from here
You need ant to add the android platform.
Ant is a java-based build tool.
You can get further informations and download it at http://ant.apache.org.
ant has nothing to do with the apache webserver and doesn't effect your wamp installation. It's another software product provided by the apache foundation.
lg
fastrde
I just installed Sencha Touch CMD and downloaded the Sencha Touch code and everything. I created a new folder on Mac called MySenchaApp. I then dragged the "touch-2.3.1" folder inside the MySenchaApp folder. I went inside touch-2.3.1 folder and generated my app. The screenshot shows the content inside the "MySenchaApp" folder.
But now I am stuck as I don't know what URL to use to see my website. I went inside the "MySenchaApp" folder and issues the following command to start the server:
sencha web start
It says server is running at localhost:1841. I visited that link but it takes me to some SETUP.html page.
Any ideas
you have to follow these steps:
Download and install this software:
JRE Sencha Cmd requires Java Runtime Environment version 1.7 to
support all functionality, however, most features will work with 1.6
(the minimum supported version).
Sencha Cmd Ruby differs by OS:
Windows: Download Ruby from rubyinstaller.org. Get the .exe file
version of the software and install it.
Mac OS: Ruby is pre-installed. You can test if Ruby is installed
with the Ruby -v command.
Ubuntu: Use sudo apt-get install ruby2.0.0 to download Ruby.
iOS Packaging: Apple Xcode
Android Packaging: Android SDK Tools and Eclipse (optional).
Add the install paths to your PATH environmental variable.
Also read the sencha documentation in setup.html.
If you already had done these things then open command prompt and run command:
cd bin
sencha web start
and then open your browser, type localhost:1841 then press enter.
Here's my set up on Ubuntu
dalek and dalek-cli installed as instructed in the website, the version is displayed correctly
phantomjs was installed via npm install but the phantomjs command could not be run
installed phantomjs via apt-get ... now I have version 1.4
in the folder /var/www/first_tests/ I have the package.json file provided in the website along with a subfolder tests containing first.js with the google example provided
I am in my homedirectory since that's the only place I can call dalek (I'm guessing because that where I was when I installed it) so I'm doing
dalekjs /var/www/first_tests/tests/*.js
The console shows "Running tests" but nothing happens. Trying to run
phantomjs /var/www/first_tests/tests/first.js
gives me "undefined:0 ReferenceError: Can't find variable: module"
Dalek expects the PhantomJS binary in the:
node_modules/dalekjs/node_modules/dalek-browser-phantomjs/node_modules/phantomjs/bin
Folder. Also, it definitely needs version 1.9.0 or higher.
You could try to download the binary from the PhantomJS homepage & manually copy it to the folder mentioned above.
It would be awesome, if you could send me (dalekjs#asciidisco.com) the npm debug log,
so that I can check why this happened in the first place.