Got pokerth client running on Debian 10.
Get many annoying error messages in the console: "Could not create pixmap from /opt/pokerth/data/gfx/gui/table/danuxil/NULL".
I have searched all the source code. Just can't find the place where this error is produced.
The caller has write access to the directory and everything is 777.
Habe pokerth client auf Debian 10 zum Laufen bekommen.
Bekomme viele nervige Fehlermeldungen in die Konsole: "Could not create pixmap from /opt/pokerth/data/gfx/gui/table/danuxil/NULL"
Ich habe in allen Quelltexten gesucht. Kann einfach nicht die Stelle finden, wo dieser Fehler produziert wird.
Der Aufrufer hat Schreibzugriffsrecht auf das Verzeichnis und alles ist 777.
Error Message: "Could not create pixmap from ..."
Who starts PokerTH from the console?
![Razz :P](./images/smilies/icon_razz.gif)
Code: Select all
[Desktop Entry]
Name=PokerTH
Name[bg]=PokerTH
Name[de]=PokerTH
Name[es]=PokerTH
Name[fr]=PokerTH
Name[it]=PokerTH
Name[nl]=PokerTH
Name[pl]=PokerTH
Name[pt_BR]=PokerTH
Name[pt_PT]=PokerTH
Name[ru]=PokerTH
Name[tr]=PokerTH
Name[uk]=PokerTH
GenericName=Poker Card Game
GenericName[bg]=Играта на покер
GenericName[de]=Pokerspiel
GenericName[es]=Juego de Poker
GenericName[fr]=Jeu de Poker
GenericName[it]=Gioco di Poker
GenericName[nl]=Pokerspel
GenericName[pl]=Gra w poker
GenericName[pt_BR]=Jogo do Poker
GenericName[pt_PT]=Jogo do Poker
GenericName[ru]=Игра в покер
GenericName[tr]=Poker Kart Oyunu
GenericName[uk]=Гра в покер
Comment=Texas hold'em game
Comment[bg]=Играта на Тексас Холдем
Comment[de]=Texas Hold'em Spiel
Comment[es]=Juego de Texas Hold'em
Comment[fr]=Jeu de Texas Hold'em
Comment[it]=Gioco di Poker alla Texano
Comment[nl]=Texas Hold'em-spel
Comment[pl]=Gra w teksański klincz
Comment[pt_BR]=Jogo do Texas Hol'dem
Comment[pt_PT]=Jogo do Texas Hol'dem
Comment[ru]=Игра в техасский холдем
Comment[tr]=Texas hold'em oyunu
Comment[uk]=Гра в техаський холдем
Exec=pokerth
Icon=pokerth
Terminal=false
Type=Application
X-DCOP-ServiceType=Multi
X-KDE-StartupNotify=true
Categories=Qt;Game;CardGame;
I just started pokerth from the console and get the same "errors". The reason is that the file gfx/gui/table/danuxi1/danuxi1tablestyle.xml has some values set to "NULL" and therefore the pixmap cannot be created. But the game works without problems. If you really want to start pokerth from the console and the error bothers you, do it wih "pokerth 2>/dev/null" to divert the error to /dev/null
Setting permissions to 777 is almost always the wrong solution.
How to register: viewtopic.php?f=24&t=29
Reset password: https://www.pokerth.net/app.php/user/forgot_password
Reset password: https://www.pokerth.net/app.php/user/forgot_password
Thanks very much. ![Smile :-)](./images/smilies/icon_e_smile.gif)
I create a small transparent nopic.png and I put in danuxi1tablestyle.xml instead of NULL.
Now no errors. But the action call, raise ... is not visible anymore.
I switch back to default table theme.
I need the console to put same printf statements in code for debugging and learn how pokerth client works and then change code.
I create fold, check, call, raise, allin, winner pngs with transparency
and put in folder . So there is no NULL in the xml file. It works. YEAH![Smile :-)](./images/smilies/icon_e_smile.gif)
![Smile :-)](./images/smilies/icon_e_smile.gif)
I create a small transparent nopic.png and I put in danuxi1tablestyle.xml instead of NULL.
Now no errors. But the action call, raise ... is not visible anymore.
I switch back to default table theme.
I need the console to put same printf statements in code for debugging and learn how pokerth client works and then change code.
I create fold, check, call, raise, allin, winner pngs with transparency
and put in folder . So there is no NULL in the xml file. It works. YEAH
![Smile :-)](./images/smilies/icon_e_smile.gif)