FS#12217 - gDesklets fails to start

Attached to Project: Arch Linux
Opened by Oz Katz (ozzyboy) - Sunday, 23 November 2008, 20:33 GMT
Last edited by Allan McRae (Allan) - Tuesday, 09 December 2008, 14:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Architecture i686
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
trying to start gdesklets from console produces the following output:

~]$ gdesklets start
Starting gdesklets-daemon...
Connecting to daemon [ ### ]
==========================================================[11/23/08-22:28:11]===
Could not import tiling module!


Cannot establish connection to daemon: timeout!
The log file might help you solving the problem.
~]$ ls -l ~/.gdesklets/logs/
total 0



Additional info:

regarding tiling module -
it seems that it is in place
~]$ ls -l /usr/lib/gdesklets/utils/tiling.so
-rwxr-xr-x 1 root root 19131 Feb 28 2008 /usr/lib/gdesklets/utils/tiling.so

* package version(s)

extra/gdesklets 0.36.0-1
extra/pygtk 2.13.0-2
extra/python 2.6-2


* config and/or log files etc.
no log files created under ~/.gdesklets/logs/

Steps to reproduce:
run from terminal: gdesklets [start]
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 09 December 2008, 14:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  gdesklets-0.36.1
Comment by Jud (judfilm) - Thursday, 04 December 2008, 09:44 GMT
@ Allan - The package is orphaned and is python based, any ideas?
Comment by Allan McRae (Allan) - Thursday, 04 December 2008, 12:42 GMT
Did this occur when python was upgraded to 2.6?
Comment by Oz Katz (ozzyboy) - Thursday, 04 December 2008, 17:42 GMT
Hi,
This is actually the first time for me, installing this package (gDesklets)
I haven't tried to do so before the switch to 2.6
Comment by Andrew Yates (andrewy) - Saturday, 06 December 2008, 06:41 GMT
It seems to be a problem with python 2.5/2.6
https://bugs.launchpad.net/ubuntu/+source/gdesklets/+bug/110103
Comment by Allan McRae (Allan) - Saturday, 06 December 2008, 17:17 GMT
so this is the import line that is failing:
from utils.tiling import Tiling

Manually trying to import this:
import sys
sys.path.append("/usr/lib/gdesklets")
from utils.tiling import Tiling

gives:
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
from utils.tiling import Tiling
ImportError: could not import gobject (error was: '_new_imp() takes at most 4 arguments (5 given)')

manually importing gobject then trying the import again gives:
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
from utils.tiling import Tiling
ImportError: could not import gobject (error was: '_new_imp() takes at most 4 arguments (5 given)')

Looking at the code:
#
# We are unable to load the source code if only a relative filename was
# available. Therefore, we have to extend the import handler in order to always
# give us an absolute path.
#

Sounds important.... but comment out that entire function and things run smoothly.

Please test gdesklets-0.36.1 which is making its way to [extra] now
Comment by Oz Katz (ozzyboy) - Tuesday, 09 December 2008, 14:43 GMT
Hi,

problem is indeed solved in gdesklets-0.36.1!

Thanks very much.

Loading...