Footer is missing in odoo 8 report - report

I am using ubuntu 13.10 (32 bit) and wkhtmltopdf 0.12.2.1. While printing the reports as pdf in odoo, footer is missing. How could i solve the problem?

I had the same problem. There is a related issue on github:
https://github.com/odoo/odoo/issues/2907
downgrade the version to 0.12.0 worked for me.
This is what I did:
downloaded previous version from (note the underscore in http. Stack overflow only allows me 1 link): h_ttp://ufpr.dl.sourceforge.net/project/wkhtmltopdf/archive/0.12.0/wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz
unzip the file: tar Jxf wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz
replace existing the files in /usr/local/lib/ and /usr/local/bin/ folders with the previous version
Now wkhtmltopdf -V is:
Name:
wkhtmltopdf 0.12.0 03c001de254b857f08eba80b62d4b6490ffed41d
License:
Copyright (C) 2010 wkhtmltopdf/wkhtmltoimage Authors.
License LGPLv3+: GNU Lesser General Public License version 3 or later
http://gnu.org/licenses/lgpl.html. This is free software: you are free to
change and redistribute it. There is NO WARRANTY, to the extent permitted by
law.
Authors:
Written by Jan Habermann, Christian Sciberras and Jakob Truelsen. Patches by
Mehdi Abbad, Lyes Amazouz, Pascal Bach, Emmanuel Bouthenot, Benoit Garret > > and
Mário Silva.
Compiled against wkhtmltopdf patched qt.
I hope this help you

First you have to check which version of wkhtmltopdf 0.12.2.1 is installed in your system
Enter the Below command From the Terminal some think like
wkhtmltopdf -V
that gives us the version and the wkhtmltopdf 0.12.2.1
if it fine then uninstalled that packages from the terminal and reinstall it again
other wise install a new one from the below link based on system requirement
Click To download wkhtmltopdf package hear
and restart the server and upgrade the Report Module and Print the Report

I had similar problem and the solution with wkhtmltopdf didn't work for me.
What helped me was creating report.url with http://0.0.0.0:8069/ in settings/technical/parameters - as soon as I created this, the footer showed up.

You can check this Report formatting not working in Odoo 8 Qweb Reports

I had same issue today and the problem was that
web.base.url
was defined with different value thаn my current port.
Ex: It was 127.0.0.1:8079 and my localhost port for odoo is 8069. After changing the port the issue has gone.

Related

Why is my served site not rendering with this error?

New to both Hugo & Blogdown. In a new R project called personal-blog I ran
blogdown::new_site(theme = "lxndrblz/anatole") and even after doing blogdown::build_site() and restarting the Rstudio I get the following
C:\Users\myName\AppData\Roaming\Hugo\hugo.exe server --bind 127.0.0.1 -p 4321 --themesDir themes -t anatole -D -F --navigateToChanged
Serving the directory . at http://127.0.0.1:4321
Launched the hugo server in the background (process ID: 19844). To stop it, call blogdown::stop_server() or restart the R session.
None of the site formats properly. Supposed to look like what you see here. But none of the formatting is right on my local server. I don't see any of the CSS.
EDIT: Regarding the warning I got below with respect to Rtools -- it had something to do with MinGW and my version of R (4.0.3). When I was using my machine's default version R 3.6.1 nothing was working. I downloaded Rtools (this is not an R package from my understanding, it is something entirely different that you get from CRAN) Rtools from CRAN
Once I reinstalled Rtools, added it to my system PATH and did it for both 32 & 64-bit versions, blogdown went back to working for me. Blogdown wasn't really the problem it was Rtools & MinGW not working nicely from what I can tell. Now I'll try to develop my blog.
I have fixed this issue in the dev version of blogdown, which you may install with (remember to restart R):
remotes::install_github('rstudio/blogdown')
The problem was because the theme used the Hugo function absURL for CSS files, which led to URLs of the form http://localhost:port/path/to/css, but the site was viewed from http://127.0.0.1:port, and the CORS issue of the browser prevented the CSS files from being loaded.

Error while loading the Code Generator toolbox in Scilab

I installed Scilab 5.5.2 on Windows 10, and then installed the Scilab Code Generator toolbox.
However, when I start Scilab, the following message appears and I can't use the toolbox. This problem occurs for every toolbox.
Start Scilab Code Generator
Version: 0.9.20190122
Load macros
atomsLoad: An error occurred while loading 'xcos_code_generator-0.9.20190122':
File "C:\Users\光\AppData\Roaming\Scilab\SCILAB~1.2\atoms\x64\XCOS_C~1\09E129~1.201\macros\names" does not exist or read access denied.
(光 is my username.)
I suppose the problem comes from "\Scilab\SCILAB~1.2" in the middle of the file path. In my computer, the only folder in "Scilab" is "scilab-5.5.2", so indeed the software cannot find the file it's looking for.
Does anyone have any ideas?
I need to use the toolbox at work soon, so any help is greatly appreciated. Thank you in advance.
Note: I'm not using the latest Scilab 6.0.2 because it fails to work on my computer. It closes immediately after I open it.
I solved the problem by myself.
It was my user name "光" that caused the problem. I found people saying that user names in full-width characters such as Japanese sometimes cause problems like this.
The solution is to create another user account with a name in half-width characters and install Scilab in that account. (Just changing the full-width user name doesn't work because it doesn't change the filenames that already exist.)
I couldn't find the solution until today because I was searching for solutions only in the context of Scilab, not in the context of software in general.
I hope this answer helps someone.
I'm not sure why you are using an outdated version of Scilab. The latest version is 6.0.2 on Windows. If the newer version doesn't work properly then that's the problem you need to fix first. To test your Scilab installation you may run it in the terminal. Find the installation folder. For me, it is C:\Program Files\scilab-6.0.2\bin the on cmd go to the path and run Scilex.exe. If not uninstall everything and install it in a proper way. My recommendation is to uninstall the old Scilab you already have. Then:
Install Chocolatey package manager
Open PowerShell as Admin and run choco update all -y, once in a while update your packages this way.
run choco install Scilab -y
then open the Scilab software
run the atomsInstall("xcos_code_generator") in the console
runt the atomsLoad("xcos_code_generator") to make sure your package is installed properly. You should see this as a result:
--> atomsInstall("xcos_code_generator")
Scanning repository http://atoms.scilab.org/6.0 ... Done
ans =
!xcos_code_generator 0.9.201901 user SCIHOME\atoms\x64\xcos_code_generator\0.9.201901 I !
--> atomsLoad("xcos_code_generator");
Start Scilab Code Generator
Version: 0.9.20190122
Load macros
Load help
Load demos

Using different version of R per user in Rstudio Server

I am using an Rstudio Server (0.98.490) on a CentOS machine, that uses the default installation in the machine which is an older version of R. I also have a newer version of R compiled elsewhere in the system. Can I, as a non-root user, tell Rstudio to use the new installation instead of the old one when I start a session?
I'm not sure if there are any peculiarities for CentOS, but I believe you should be able to change your ~/.profile or ~/.bash_profile file to include the following line: export RSTUDIO_WHICH_R=/path/to/desired/compiled/R.
You can see which version of R RStudio is currently running by entering which R into a terminal. the export command listed above should change it to your desired build.
These links might help:
https://support.rstudio.com/hc/en-us/articles/200486138-Using-Different-Versions-of-R
Running newer version of R from terminal when older version is invoked by default
Hope this helps
The first answer was relevant RStudio, not rstudio-server as the question asks. The question is addressed in the section "RStudio Desktop and RStudio Server Open-Source".
However, adding a line like export RSTUDIO_WHICH_R=/usr/local/bin/R to my ~/.profile and ~/.bash_profile does not actually seem to affect rstudio-server for me. So I am giving up for now. The Pro version seems to have other options, as listed here.
Starting in RStudio Server 1.3 (newest version is 1.4.1106, released February 22, 2021), a user’s preferred version of R can be specified in the rstudio-prefs.json file in the global-level /etc/rstudio folder or in the user-level ~/.config/rstudio folder.
See https://blog.rstudio.com/2020/02/18/rstudio-1-3-preview-configuration/ and https://docs.rstudio.com/ide/server-pro/session-user-settings.html for user setting options in newer versions of RStudio Server.
See https://support.rstudio.com/hc/en-us/articles/200716783-RStudio-Release-History for RStudio release history and https://www.rstudio.com/products/rstudio/download-server/redhat-centos/ for Red Hat downloads of the newest version of RStudio Server.

How to install previous version of Aptana

I don't like the 3.6 version at all. It has too many bugs and it's too slow compared with the previous versions, so I'd like to install to a previous version and wait till they fix the problems. I can't downgrade the installation, so no, not an option.
I know that in this web: https://wiki.appcelerator.org/display/guides2/Reverting+to+a+Previous+Version there is a list of old versions, but this are VERY old, I'd like to download at least the 3.4.2 version or newer (like 3.5), but I can't see any link from wich I can download it. Can anyone give me a link or way to get previous versions of aptana?
Oh yes, oh yes, finally I found them:
MAC OS
http://d1iwq2e2xrohf.cloudfront.net/tools/studio/standalone/3.4.2.201308081805/mac/Aptana_Studio_3_Setup_3.4.2.dmg
WINDOWS
http://d1iwq2e2xrohf.cloudfront.net/tools/studio/standalone/3.4.2.201308081805/win/Aptana_Studio_3_Setup_3.4.2.exe
Linux 32 bits
http://d1iwq2e2xrohf.cloudfront.net/tools/studio/standalone/3.4.2.201308081805/linux/Aptana_Studio_3_Setup_Linux_x86_3.4.2.zip
Linux 64 bits
http://d1iwq2e2xrohf.cloudfront.net/tools/studio/standalone/3.4.2.201308081805/linux/Aptana_Studio_3_Setup_Linux_x86_64_3.4.2.zip
Can't get the plugin, sorry.
You could find Aptana 3.4.2 as Eclipse plugin at the following URL: http://d1iwq2e2xrohf.cloudfront.net/tools/studio/plugin/update/studio3/3.4.2.201308081736/com.aptana.feature.studio-3.4.2.201308081736-7W7I57boG98RAi489ctbvKi7VXbq.zip
When you are installing it from the zip, make sure you un-tick "Group Items by Category"

Searching pdfs in Plone 4 on Mac OS

I've got Plone 4 running on Mac OS Server 10.6. I'd like to make it possible for the search facility on my Plone site to search for text within the pdf files which are stored there.
I've searched around, but the closest I can find is information about doing this on Plone 3 with Linux.
Please could anyone help?
The basic idea is the same. You need to install the external "pdftohtml" command line utility. In Plone 4 you don't need to do any other configuration in the ZMI or other places. Once the pdftohtml tool is installed new files being uploaded will get their contents indexed. You can go to the catalog in the ZMI to the indexes tab and "reindex" the "SearchableText" index to also cover already uploaded files.
One way to install system packages on Mac is to use MacPorts (http://www.macports.org/install.php). If you use that approach, you can call:
$ sudo port install poppler
Once that has finished, you should be able to call the tool and see something like:
$ pdftohtml -v
pdftohtml version 0.16.5
Copyright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org
You might need to add /opt/local/bin to the PATH variable of the user running the Plone process.
The documentation for Plone 3 applies for Plone 4 in the same way.

Resources