Strict Standards: Non-static method Flyspray::absoluteURI() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/constants.inc.php on line 29 Strict Standards: Non-static method Flyspray::get_tmp_dir() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/constants.inc.php on line 78 Strict Standards: Non-static method Flyspray::base_version() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 29 Strict Standards: Non-static method Flyspray::base_version() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 29 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 39 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Req::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 40 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 42 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::enum() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 15 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 37 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::enum() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 37 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 21 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 21 Strict Standards: Non-static method Cookie::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 28 Strict Standards: Non-static method Get::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 36 Strict Standards: Non-static method Get::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 100 Strict Standards: Non-static method Get::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 95 Strict Standards: Non-static method Get::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 100 Strict Standards: Non-static method Flyspray::requestDuplicated() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 104 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 143 Strict Standards: Non-static method Req::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 15 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Flyspray::GetTaskDetails() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 17 Strict Standards: Non-static method Flyspray::GetAssignees() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.flyspray.php on line 358 Strict Standards: Non-static method Get::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 34 Strict Standards: Non-static method Get::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 100 Strict Standards: Non-static method Post::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 34 Strict Standards: Non-static method TextFormatter::render() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 128 FS#942 : Special german characters not shown correct
homepage | forum | wiki | feature requests & bugs

MMS

Before posting a bug report please read: http://wiki.mymediasystem.org/wiki/index.php/Bug_reports
Tasklist

FS#942 - Special german characters not shown correct

Attached to Project: MMS
Opened by Strict Standards: array_map() expects parameter 1 to be a valid callback, non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 281 Ingmar Joern (naicheben) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Thursday, 05 February 2009, 10:37 GMT+1
Task Type Bug Report
Category Plugins → Output → LCD-output
Status Assigned
Assigned To Strict Standards: array_map() expects parameter 1 to be a valid callback, non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 281 Anders Rune Jensen (arj)
Operating System Linux
Severity Low
Priority Normal
Reported Version 1.1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

On Debian 4.0
LANG=de_DE.UTF-8
lcdproc-0.5.2
graphlcd-media-0.1.2
graphlcd-base-0.1.5
glcdprocdriver-0.0.4
all self compiled using glcdlib
none of the special characters are shown correct.
In german these are äöüÄÖÜß.
This task depends upon

Comment by Ingmar Joern (naicheben) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Thursday, 05 February 2009, 10:55 GMT+1
Might be relatet to 818 - poish letters not correct.

Forgot to say that I use Debian packages for 1.1.0rc9

Not using freetype2
Comment by Ingmar Joern (naicheben) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Saturday, 07 February 2009, 01:12 GMT+1
Anotherone:
in plugins/output/lcd/lcd.cpp
setlocale(LC_ALL,"") will load the defaults environment-locales. If I log into the box it says:
s100@vision:~$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

Will it then set the locale to "" or to de_DE.UTF-8 ?
I don't have a file called /etc/environment nor does anything work in .xsession like these:
LC_ALL=de_DE.UTF-8
unclutter -idle 0& 2>&1 >/dev/null
xmodmap .xmodmap 2>&1 >/dev/null
xbindkeys -f .xbindkeysrc 2>&1 >/dev/null
LC_ALL=de_DE.UTF-8 mms 2>&1 >/tmp/mms.log
Comment by Strict Standards: array_map() expects parameter 1 to be a valid callback, non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 281 lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Friday, 13 February 2009, 13:13 GMT+1
"Will it then set the locale to "" or to de_DE.UTF-8 ?"

to "de_DE.UTF-8". It basically means: use settings from environment variables.
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Friday, 13 February 2009, 13:15 GMT+1
"LC_ALL=de_DE.UTF-8
unclutter -idle 0& 2>&1 >/dev/null"

It won't work.

Use this instead:
"export LC_ALL=de_DE.UTF-8
unclutter -idle 0& 2>&1 >/dev/null"

To check what environment variable mms sees, launch it with the -e switch (mms -e 2>&1 >/tmp/mms.log).
Comment by Ingmar Joern (naicheben) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Friday, 13 February 2009, 23:38 GMT+1
Sorry to say that it does not change anything. Nor does mms -e send anything about environment variables to the logfile.

vision:~# cat /tmp/mms.log
Config: Öffne Konfigurationsdatei => /etc/mms/Config
Nutze /home/s100/.mms/ als primäres Konfigurationsverzeichnis
Nutze /etc/mms/ als sekundäres Konfigurationsverzeichnis
Nutze /home/s100/.mms/ als persönliches Verzeichnis
Nutze /home/s100/.mms/cache/ als Cache Verzeichnis
Config: Öffne Konfigurationsdatei => /etc/mms/RemoteConfig
Config: Öffne Konfigurationsdatei => /etc/mms/LircConfig
Config: Öffne Konfigurationsdatei => /etc/mms/AudioConfig
Config: Öffne Konfigurationsdatei => /etc/mms/RadioConfig
Notify:: registered: audio
Config: Öffne Konfigurationsdatei => /etc/mms/AlsaplayerConfig
Config: Öffne Konfigurationsdatei => /etc/mms/ClockConfig
Config: Öffne Konfigurationsdatei => /home/s100/.mms/ClockAlarms
NotifyArea::add Clock
Config: Öffne Konfigurationsdatei => /etc/mms/MovieConfig
Notify:: registered: movie
Config: Öffne Konfigurationsdatei => /etc/mms/MplayerConfig
Config: Öffne Konfigurationsdatei => /etc/mms/PictureConfig
Notify:: registered: pictures
Config: Öffne Konfigurationsdatei => /etc/mms/PythonConfig
Config: Öffne Konfigurationsdatei => /etc/mms/WeatherConfig
NotifyArea::add Weather
Weather: DEBUG -> /home/s100/.mms//Weather.xml opened...
weather DEBUG: unit_system=Celsius
Config: Öffne Konfigurationsdatei => /etc/mms/LcdConfig
loading last saved playlist
NotifyArea::add audio_playtrack
NotifyArea::add audio_options

Here ist the .xsession:
vision:~# cat /home/s100/.xsession
unclutter -idle 0& 2>&1 >/dev/null
xmodmap .xmodmap 2>&1 >/dev/null
#xbindkeys -f .xbindkeysrc 2>&1 >/dev/null
export LC_ALL=de_DE.UTF-8
#export LC_ALL=de_DE@euro
mms -e 2>&1 >/tmp/mms.log

I tried showtext from commandline (a tool from graphlcd-base) and it shows characters correct. So it must be somehow lcdproc/mms related.

LCDd.conf:
## glcdlib meta driver for graphical LCDs ##
[glcdlib]

## mandatory:

# which graphical display supported by graphlcd-base to use [default: image]
# (see /etc/graphlcd.conf for possible drivers)
#Driver=noritake800
Driver=ks0108

# no=use graphlcd bitmap fonts (they have only one size / font file)
# yes=use fonts supported by FreeType2 (needs Freetype2 support in libglcdprocdriver and its dependants)
UseFT2=no

# text resolution in fixed width characters [default: 16x4]
# (if it won't fit according to available physical pixel resolutioni
# and the minimum available font face size in pixels, then
# 'DebugBorder' will automatically be turned on)
TextResolution=20x4

# path to font file to use
#FontFile=/usr/share/fonts/corefonts/courbd.ttf
#FontFile=/usr/share/graphlcd-media/fonts/f12bn.fnt
FontFile=/usr/share/graphlcd-media/fonts/verdana-012.fnt
## these only apply if UseFT2=yes:

# character encoding to use
#CharEncoding=iso8859-15
CharEncoding=UTF-8

# minumum size in pixels in which fonts should be rendered
MinFontFaceSize=7x12

## optional:
Brightness=50 # Brightness (in %) if applicable
Contrast=50 # Contrast (in %) if applicable
Backlight=no # Backlight if applicable

Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Saturday, 14 February 2009, 10:55 GMT+1
"Sorry to say that it does not change anything. Nor does mms -e send anything about environment variables to the logfile."

???

Can you please try and run mms -e manually?


Also, redirection should be:
mms -e >/tmp/mms.log 2>&1

Comment by Ingmar Joern (naicheben) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Sunday, 15 February 2009, 20:29 GMT+1
it's a settopbox, so it's allways hard to get it out of the TV-Rack...
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Sunday, 15 February 2009, 20:36 GMT+1
Anyway, redirection should be "mms -e >/tmp/mms.log 2>&1"
Comment by Ingmar Joern (naicheben) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Sunday, 15 February 2009, 22:23 GMT+1
Did so, but no env-vars in logfile. MMS is compiled with:
mms -v
My Media System: 1.1.0 rc9
Configuration: --prefix=/usr --enable-lirc --enable-evdev --enable-notify-area --enable-res-switch --enable-gst-audio --enable-alsaplayer --enable-opengl --enable-dxr3 --enable-dvb --enable-mpeg --enable-lcd --enable-game --enable-tv --enable-weather --enable-python --enable-clock --enable-vbox --enable-debug --disable-optimization --use-internal-ffmpeg
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Monday, 16 February 2009, 00:40 GMT+1
Don't you even have a line that says "Full list of environment variables"?
Comment by Ingmar Joern (naicheben) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Monday, 16 February 2009, 00:59 GMT+1
No, sorry. The log is the same as above.

Loading...