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