[14:49] hi [14:49] roadmr: hi there! === moustafa_ is now known as moustafa [17:30] anyone here using mago [17:30] i am trying to execute the first example ./bin/mago -a gedit [17:30] and am getting no love [17:30] File "/usr/lib/python2.6/socket.py", line 561, in create_connection [17:30] raise error, msg [17:30] socket.error: [Errno 111] Connection refused [17:31] http://pastebin.com/wUSjScwg [17:31] anyone have any recs? === yofel_ is now known as yofel [17:40] drizzle, hi, which release are you using ? do you have enabled accessibility ? It looks like at-spi-registryd is not running [17:41] i enabled accessibility [17:41] let me verify [17:42] i have enable assistive technologies checked [17:42] and have rebooted since enabling [17:42] i am running Ubuntu 10.10 [17:42] with all packages up to date [17:42] it was a fresh install [17:44] drizzle, hm, don't run as sudo but as normal user. root can't connect to the socket opened by the user. [17:45] what if i have rootsudo enabled? [17:45] what use to run it as? [17:45] user [17:45] drizzle, what do you mean ? Why do you want to run the test as root ? [17:46] let me retry [17:46] one sec [17:47] i thought i had something setup where i am always running as root [17:47] but my prompt says "daz@daz" [17:47] my username is daz [17:47] drizzle, it's clearly a bad habit to be always run stuff as root. [17:48] given the situation how is the mago error resolved [17:48] i would like to get cracking on this project [17:48] drizzle, just run [17:49] $ ./bin/mago -a gedit [17:49] drizzle, without the sudo [17:49] just tried [17:49] i got the same [17:49] error [17:49] socket.error: [Errno 111] Connection refused [17:52] drizzle, I tried there, and I get the same error with sudo, but the test runs fine without it. Does the command "id" indicates that you're identified as root (uid=0) ? [17:53] daz@daz:~/ldtp/mago$ id [17:53] uid=1000(daz) gid=1000(daz) groups=1000(daz),4(adm),20(dialout),24(cdrom),46(plugdev),111(lpadmin),119(admin),122(sambashare) [17:53] drizzle, looks fine. [17:55] im going to start crying [17:56] drizzle, when you run without sudo, do you get the exact same error ? [17:56] yes [17:56] i have tried both [18:00] Traceback (most recent call last): [18:00] File "", line 1, in [18:00] File "/usr/lib/pymodules/python2.6/ldtpd/__init__.py", line 51, in main [18:00] pyatspi.setCacheLevel(pyatspi.CACHE_PROPERTIES) [18:00] that is the top [18:00] is it something with file permissions maybe? [18:01] drizzle, the problem is "RuntimeError: Could not find or activate registry" [18:02] drizzle, there's probably something wrong with the permissions of the sockets in /tmp/orbit-daz/ [18:02] drizzle, sometimes a logout/login may solve problems with the at-spi daemon. [18:02] alright [18:02] i will try that [18:02] drizzle, or a complete reboot will clean /tmp [18:03] i just redownloaded the source [18:03] bzr branch lp:mago [18:03] and htis is what i get now [18:03] Traceback (most recent call last): [18:03] File "./bin/mago", line 12, in [18:03] from mago.cmd.main import main [18:03] File "/home/daz/mago/mago/cmd/main.py", line 10, in [18:03] import ldtp [18:03] File "/usr/lib/pymodules/python2.6/ldtp/__init__.py", line 257, in [18:03] _populateNamespace(globals()) [18:03] File "/usr/lib/pymodules/python2.6/ldtp/__init__.py", line 60, in _populateNamespace [18:04] brb [18:04] going to relogin/out [18:04] drizzle, that's because the ldtpd daemon can't start because it can't connect to the at-spi registry hence the client fails to start. [18:06] that fixed it [18:06] i think what happened was when i first ran as root [18:06] it set some permissoins [18:06] probably incorrectly [18:06] and then when i re-downlaoded source [18:06] and ran as normal things were set right [18:07] logout and log back in fixed it [18:07] im wondeirng if it also has something to do with the fact that i use auto-login for ubuntu [18:07] and actually using the command prompt sets somethign diffently [18:08] drizzle, cool. I think that's because you first run it as sudo, and the permissions on the socket dir were wrong. [18:08] thank you jibel [18:08] for the help [18:08] im pretty stoked [18:08] drizzle, you're welcome. don't hesitate to ask if you have any questions about mago/ldtp. [18:09] r u leader? [18:09] drizzle, no, I'm just writing tests for mago. [18:09] who is leader? [18:09] Ara Pulido? [18:10] are you staff or volunteer? [18:10] drizzle, staff, I'm maintaining mago too. [18:12] how long as staff? [18:14] sry for the interrogation [19:11] how do you determine which new tests to right?