odoo11 :: wkhtmltopdf is not recognising css - odoo-11

I have installed wkhtmltopdf however the styling is not working.
I using a mac with OSX 10.13.2 and wkhtmltopdf version is 0.12.1.
I have tried 0.12.4 & restarted odoo. However, it never worked. Is there any special configurations that needs to be done ?

Related

I am facing a PHP_CodeSniffer Error. Can you please help me?

One of our engineers facing an error with PhpStorm. Whenever he edits anything in PhpStorm, it gives the error related to PHP_Codesniffer:
phpcs: env: php: No such file or directory...
If open PHPCodeSniffer Inspection Settings, the below attached settings can be seen.
One more point, it was working fine until he upgrades his MacOS from Big Sur to Monterey 12.0.1. Not sure this OS upgrade affect the application settings. Presently he cannot work with PhpStorm.
Could you please have a look and let me know?
One more point, it was working fine until he upgrades his MacOS from Big Sur to Monterey 12.0.1. Not sure this OS upgrade affect the application settings. Presently he cannot work with PhpStorm.
I had the same issue. Monterey removes the installed PHP version, as Mac OS no longer ships with php installed.
Install php and it should work again.
In my case, using homebrew
brew install php#7.4
brew link php#7.4

atom-live-server installed but does not appear in packages and wont run... just nothing

So I am a bit of a noob but I have installed atom on my mac (editor works fine) and installed live-server.
I am unable to start ls, and although it appears to be installed in settings i.e. I can disable or uninstall it, it is not listed under the packages drop down - also tried the hotkeys for my version.
Ive tried uninstalling and reinstalling a few times, even following instructions to remove hidden files etc courtesy of Google. It just looks like its not there...
Versions: atom 1.18.0 X64, live-server 2.1.2, running on Mac OS Sierra 10.12.5

wkhtmltopdf generates tiny output on Mac

I'm running wkhtmltopdf 0.12.4 on Mac OS 10.11.6. When I try to run the basic example "wkhtmltopdf http://google.com google.pdf", though, I'm getting an unusual output. Where I'm expecting something like this:
(PDF generated directly from Chrome), I'm instead getting this:
It seems odd to me that the default output should be so far off, but I've tried some options as well (including --disable-smart-shrinking) with no luck. Would appreciate any direction you can offer!
Same here with Mac OS 10.11.6 WKHTMLTOPDF v 0.12.4.
Using --lowquality is the only thing that seems to resolve the "tiny output" issue.
Default wkhtmltopdf output without --lowquality:
screenshot
With --lowquality, "tiny output" issue is fixed (and works with additional options like increasing resolution via --viewport-size):
--lowquality screenshot
I had the same problem, using wkhtmltopdf version 0.12.4 on a Mac installed via homebrew. I uninstalled that and tried version 0.12.3, downloaded from http://wkhtmltopdf.org/, and now I have normal size output.
I have been trying to use the 0.12.4 version on Mac OS 10.13.3.
Adding some information about this issue.
This is a known issue in 0.12.4 version. https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3241
It has been fixed in a commit but not yet released as part of 0.12.4
https://github.com/wkhtmltopdf/wkhtmltopdf/commit/1c0e72d2faa6da026edc139fac97fcda43535fd3
the 'lowquality' flag fix discussed above is the fastest way to resolve this OR you can install the 0.12.5 version if you are an advanced user. https://github.com/wkhtmltopdf/wkhtmltopdf/blob/master/CHANGELOG.md
To solve problem install wkpdftohtml via
brew install Caskroom/cask/wkhtmltopdf
I encountered this issue when running wkhtmltopdf on very large screens, and found that specifying print media-type instead of screen media-type, i.e. via --print-media-type, resolved the issue.
For example:
wkhtmltopdf --print-media-type http://google.com google.pdf

Downloading Geany for El Capitan

I just started using OSX, I am somewhat more familiar with Ubuntu and Fedora. I am trying to install Geany and I was successful in doing so but it isn't recognizing the command. I used homebrew to install it and it is showing that it is available in my applications as Geany.app but I can't seem to find the icon.
There is a native Geany build for MacOS X available to download from the webpage.
To start Geany on MacOS on default the easiest way is to use Cmd + Space and type Geany. For more questions about MacOS I however recommend to check https://apple.stackexchange.com/

SCSS formatting in Netbeans on a Mac?

I'm using Netbeans 7.3.1 on a Macbook Pro with OS X 10.8.3.
I've installed the SCSS plugin. Until now, I've been using Windows (Mac is new to me), and the SCSS plugin worked fine on Netbeans and was able to auto-indent and format my SCSS files.
Now that I'm using Netbeans on a Mac, this plugin doens't seem to do the formatting.
I go to Source > Format (or CTRL-Shift-F), and the code spacing doesn't change.
Or you can try 7.4 Beta with new support for editing and compiling Scss/Less files. Download link is on netbeans.org

Resources