Summary: | Setting CSS stylesheet file for the output window via GUI fails | ||
---|---|---|---|
Product: | [Applications] rkward | Reporter: | Alfredo Sánchez Alberca <asalber> |
Component: | User Interface | Assignee: | RKWard Team <rkward-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | thomas.friedrichsmeier |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/rkward/a3fa002f3b4571e487bc2c715b8be88374e0dee2 | Version Fixed In: | |
Sentry Crash Report: |
Description
Alfredo Sánchez Alberca
2016-04-04 10:08:06 UTC
Hi! This is a problem in your installation: > ---Session Info--- > -- Frontend -- > RKWard version: 0.6.5 [...] > other attached packages: [...] rkward_0.6.3 How did you install? Don't you get a nag-dialog about mismatching versions? Regards Thomas --- N.B.: In the past I did occasionally forget to bump the rkward R package's version number. But this is now part of our release scripts, and I have checked that I really did adjust the version for 0.6.5. You are right! I don't know wy in mi local R library the version of package rkward is 0.6.3. So I've removed the package and repeated the installation using the inofficial ubuntu repositories. Now whe RKWard stats I get the error: - The 'rkward' R-library either could not be loaded at all, or not in the correct version. This may lead to all sorts of errors, from single missing features to complete failure to function. The most likely cause is that the last installation did not place all files in the correct place. However, in some cases, left-overs from a previous installation that was not cleanly removed may be the cause. Details: Attaching package: ‘rkward’ The following objects are masked from ‘package:grDevices’: quartz, x11, X11 The following objects are masked from ‘package:base’: makeActiveBinding, q, quit, require, setwd, Sys.setlocale Error: .rk.app.version == "0.6.5" is not TRUE starting httpd help server ... done After closing the window RKWard seems to work properly except when seleceting a CSS worksheet fiel that the problem persist. Thanks Thomas! Hi again! The error was produced because I also had an old version of rkward package in the path "/usr/local/lib/R/site-library". It is supposed that the new rkward versions will overwrite this package but the 0.6.5 version is in the path "/usr/lib/R/site-library", so both versions existed. Now I've removed the old version and updated libPath and RKWard starts without trouble. Regarding to the CSS worsheet, now I don't get the Error: unrecognized request 'getCSSlink', but when I set the path to the CSS file and flush the ouput, the new output windows continues to use the same CSS file. Oops. I messed up the graphical option, indeed. In fact, if you go back to settings, you will see that your custom CSS-file setting has simply been forgotten. Will fix, soon. Workaround until a fix is released: Add options ("rk.output.css.file"="whatever.css") to Settings->R Backend->Further (option) commands... Git commit a3fa002f3b4571e487bc2c715b8be88374e0dee2 by Thomas Friedrichsmeier. Committed on 05/04/2016 at 18:35. Pushed by tfry into branch 'releases/0.6.5'. Fix setting output CSS file via GUI. M +2 -1 ChangeLog M +3 -1 rkward/settings/rksettingsmoduleoutput.cpp http://commits.kde.org/rkward/a3fa002f3b4571e487bc2c715b8be88374e0dee2 |