Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved: activate logger] kajongg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
nabla²
Apprentice
Apprentice


Joined: 17 May 2005
Posts: 280

PostPosted: Sat Apr 23, 2011 7:58 am    Post subject: [Solved: activate logger] kajongg Reply with quote

kajongg is not running. My wife wants it. NOT GOOD! ;)

OK, here is the error:
Code:
sebschub@tux ~ $ kajongg
Traceback (most recent call last):
  File "/usr/bin/kajongg", line 87, in <module>
    initLog('kajongg')
  File "/usr/share/apps/kajongg/util.py", line 120, in initLog
    handler = logging.handlers.SysLogHandler('/dev/log')
  File "/usr/lib64/python2.6/logging/handlers.py", line 715, in __init__
    self._connect_unixsocket(address)
  File "/usr/lib64/python2.6/logging/handlers.py", line 730, in _connect_unixsocket
    self.socket.connect(address)
  File "<string>", line 1, in connect
socket.error: [Errno 2] No such file or directory


I rebuilt python (all installed version), kde-base/libkdegames and kajongg itself. I ran puthon-updater. What can I do?
_________________
Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64)


Last edited by nabla² on Sat Apr 23, 2011 3:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3677

PostPosted: Sat Apr 23, 2011 8:43 am    Post subject: Reply with quote

no idea, but you've made a mistake, i don't expect python2.6 been use, so you're python update fail in some way.
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7098
Location: Sat in front of my computer

PostPosted: Sat Apr 23, 2011 10:47 am    Post subject: Reply with quote

Does /dev/log exist?
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
nabla²
Apprentice
Apprentice


Joined: 17 May 2005
Posts: 280

PostPosted: Sat Apr 23, 2011 3:51 pm    Post subject: Reply with quote

tomk. you are right, it does not exists because normally I do not care about logs (maybe I should) and I wanted to reduce write on SSD. After starting syslog-ng, it works.
_________________
Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64)
Back to top
View user's profile Send private message
wrohdewald
n00b
n00b


Joined: 27 Apr 2011
Posts: 1

PostPosted: Wed Apr 27, 2011 4:09 pm    Post subject: Reply with quote

nabla² wrote:
tomk. you are right, it does not exists because normally I do not care about logs (maybe I should) and I wanted to reduce write on SSD. After starting syslog-ng, it works.


I wish people would tell the developers when there are problems. Sigh.

Anyway I just committed a patch making sure kajongg works even if no syslogger is running. This is for KDE SC 4.7, I do not plan to backport it. But you can easily patch your local util.py

http://websvn.kde.org/?view=revision&revision=1229545
_________________
Kajongg developer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum