Closed jc00ke closed 11 years ago
Thank you @jc00ke for having reported that issue.
It will be hard to fix it as I don't have any bluethooth things, but based on your screenshot I know how to fix it. So the only way to fix it is that you help me:
If that's okay for you I will fix it :-)
Yes, I will be happy to help. Can you provide instructions on updating, or if you update the ppa
I can just update via aptitude
.
Hey @jc00ke, I need the traceback section sorry.
@zedtux how can I get it to you? I don't see it in the screenshot above. Is there a crash report somewhere else?
@jc00ke you can quit naturalscrolling and re-start it from a terminal or in your screenshot, there is a collapsed traceback section.
Yeah, duh Jesse :wink:
∴ naturalscrolling
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/naturalscrolling_lib/udevobservator.py", line 87, in on_device_added
gconf_key = GConfSettings().key(xid, bool)
File "/usr/lib/pymodules/python2.7/naturalscrolling_lib/gconfsettings.py", line 239, in key
return GConfKey(key, self.python_type_to_gconf_type(type))
File "/usr/lib/pymodules/python2.7/naturalscrolling_lib/gconfsettings.py", line 125, in __init__
if key.startswith(GCONF_ROOT_DIR):
AttributeError: 'NoneType' object has no attribute 'startswith'
Great! That's enough for me to do the fix! :smile:
:+1: :shipit:
@jc00ke could you please test my fix by following the step Fetch code sources from our wiki page ?
So this time naturalscrolling
did not crash when my headphones connected but it did when they disconnected
∴ ./bin/naturalscrolling
Traceback (most recent call last):
File "/tmp/naturalscrolling/naturalscrolling_lib/udevobservator.py", line 106, in on_device_removed
GConfSettings().key(xid).remove()
File "/tmp/naturalscrolling/naturalscrolling_lib/gconfsettings.py", line 240, in key
return GConfKey(key, self.python_type_to_gconf_type(type))
File "/tmp/naturalscrolling/naturalscrolling_lib/gconfsettings.py", line 125, in __init__
if key.startswith(GCONF_ROOT_DIR):
AttributeError: 'NoneType' object has no attribute 'startswith'
Alright try again please :smiley: .
This time you just need to do a git pull
instead of git clone
.
No crash! :shipit:
∴ ./bin/naturalscrolling
(naturalscrolling:10567): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
Did this get pushed out to Launchpad? I can clone and run locally, but I would prefer to stick with the ppa.
PPA never updated for me. Was it pushed?
You're right I forgotten to produce the package in the PPA.
The code is automatically imported to Launchpad, I just have to update the debian/changelog and start the production of the package.
As soon as it is done, you'll have to install the naturalscrolling-testing
instead of naturalscrolling
.
When you'll have tested it then I'll update the naturalscrolling
package.
The package production is ongoing...
Sweet! I couldn't wait, so I run it off HEAD
now, but I can install -testing
and give it a whirl.
Packages are now ready. Please test and let me know :-)
Any news?
Sorry, been slammed at work. I'll test it as soon as I can.
Don't worry we have time :smile:
naturalscrolling-testing
works!
Nice. I will then do a merge of the production branch and produce packages.
Packages have been built and published :smile:
I just got a crash when turning off my bluetooth headphones :frowning:
Hi @jc00ke,
Is this happening often ? Is it happening since a long time ago ?
I don't think I connected my bluetooth headphones for a while, and the first time I disconnected them I got that error.
Is it still raising error or working ? (I will handle this case I just want to know if it's a really issue or maybe just wrong saved data)
I packed up my bluetooth headset while I moved, so I won't be able to test it. I don't quite understand what you mean by "if it's really a issue or maybe just wrong saved data" but I'll try to help out where I can.
My bad... I didn't read carefully enough the error message. Anyway I will handle this case in order to no more have crashing.
So I'll have naturalscrolling running (love it!) but when I connect my Motorola S305 blue tooth headset, naturalscrolling crashes. I can't seem to copy the output from the app crash program so here are some screenshots.
I select
Leave Closed
and naturalscrolling continues to work correctly. o_O