Active Topics

 



Notices


Reply
Thread Tools
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#611
Originally Posted by M.IryanFaiq View Post
Hi! First off, I'd like to thank you for the amazing app. Works like a charm. However, I encountered a problem that I hope someone can help me with.

I've read through the thread but hadn't found anybody who encountered the same problem as I had. Witter was working perfectly up until a few days ago when, when I opened it, it looked like it was loading, as usual, then closed suddenly. I've tried it multiple times with the same result. I even reinstalled the firmware and everything and it's still the same. I tried running it through the X-term and this is what I got:
<snip>

Segmentation fault

I hope someone can help. =/
Segmentation fault means one of the libraries that witter uses did something bad with memory. In theory as a pure python app there is nothing I can do to cause a segmentation fault, so it's just that one of the libs I'm using has a bug.
I see this occasionally, but if you;re getting it every time, something very strange is happening. I guess you could try removing all the witter config files and cache files. but I have no idea why that would fix the issue.
does it give the same output every time you run it?
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 20 | Thanked: 2 times | Joined on Jun 2010
#612
Originally Posted by esiravegna View Post
Just wondering if anyobody else has, like me, troubles with the shorten url command: Never worked for me. I even created a bit.ly account, but It seems that no url reached bit.ly either.

Suggestions?

Thanks!
U need to copy the API key from your bit.ly account. It is accessible by clicking on your username on the top right side. It works for me.
 
Posts: 6 | Thanked: 0 times | Joined on Apr 2010
#613
Originally Posted by dwould View Post
Segmentation fault means one of the libraries that witter uses did something bad with memory. In theory as a pure python app there is nothing I can do to cause a segmentation fault, so it's just that one of the libs I'm using has a bug.
I see this occasionally, but if you;re getting it every time, something very strange is happening. I guess you could try removing all the witter config files and cache files. but I have no idea why that would fix the issue.
does it give the same output every time you run it?
Thanks for getting back so fast!
I've ran it about ten times or so and for all but one time it gave me that response. That other time, Witter tried to load continuosly; meaning the loading circle kept in motion. When tried to close, it responded with 'witter not responding'. Should I bother removing all config and cache files?
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#614
Originally Posted by M.IryanFaiq View Post
Thanks for getting back so fast!
I've ran it about ten times or so and for all but one time it gave me that response. That other time, Witter tried to load continuosly; meaning the loading circle kept in motion. When tried to close, it responded with 'witter not responding'. Should I bother removing all config and cache files?
Well I guess it can't hurt to try at this point.
you want to remove all the files/folders that start with .witter in the /home/user/ folder
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 6 | Thanked: 0 times | Joined on Apr 2010
#615
Originally Posted by dwould View Post
Well I guess it can't hurt to try at this point.
you want to remove all the files/folders that start with .witter in the /home/user/ folder
I can't seem to find these files or folders. I didn't find anything beginning with .witter. I think I'm looking in the wrong place. =s
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#616
Originally Posted by M.IryanFaiq View Post
I can't seem to find these files or folders. I didn't find anything beginning with .witter. I think I'm looking in the wrong place. =s
you need to do this from an x-term

rm -rf .witter*

be VERY CAREFUL executing this command. there is NO SPACE between the .witter and the *. if you accidentally do rm -rf * or rm -rf .witter * then you will completely erase everything in your home folder.
I take no responsibility for anything you do to your device.

Run correctly that will remove everything that witter stores in terms of state, and when you start it again it will be effectively the 'first time' it thinks it's run.
I would still be slightly surprised if this fixes segfault issues, though it might point the finger at image processing code.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 

The Following User Says Thank You to dwould For This Useful Post:
Posts: 6 | Thanked: 0 times | Joined on Apr 2010
#617
Originally Posted by dwould View Post
you need to do this from an x-term

rm -rf .witter*

be VERY CAREFUL executing this command. there is NO SPACE between the .witter and the *. if you accidentally do rm -rf * or rm -rf .witter * then you will completely erase everything in your home folder.
I take no responsibility for anything you do to your device.

Run correctly that will remove everything that witter stores in terms of state, and when you start it again it will be effectively the 'first time' it thinks it's run.
I would still be slightly surprised if this fixes segfault issues, though it might point the finger at image processing code.
IT WORKED! WOW! Thank you SO much! I was beginning to die without Witter. It's my most used application. Even more than Conversations and Phone. =D
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#618
Originally Posted by M.IryanFaiq View Post
IT WORKED! WOW! Thank you SO much! I was beginning to die without Witter. It's my most used application. Even more than Conversations and Phone. =D
I'm glad it's fixed, though slightly concerned that state which witter retained was enough to cause reproducible segfaults.
The only thing I can think of is that somehow an avatar file got corrupted in just a certain way which caused the image libraries to segfault when trying to reload. I have no idea how to protect against that.

perhaps I should just write a wrapper script which magically relaunches if witter dies unexpectedly....kind of hides the problem rather than fixes it, but I believe segfaults are just out of my control.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 185 | Thanked: 49 times | Joined on Apr 2010 @ The Netherlands
#619
Nice new features in the update. Only the width of the app now doens't fit the phone screen. Can you fix that?
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#620
Originally Posted by Zekahz View Post
Nice new features in the update. Only the width of the app now doens't fit the phone screen. Can you fix that?
I'm still playing with layout and various options. it's not entirely unintended to have some buttons that are to the right of the screen by default.
Weirdly can't find how to set the width of the treeview.
in any case I wanted to get some changes out to the adventurous people using extras-devel so that people could have a play and see how things are looking.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Reply

Tags
python, twitter


 
Forum Jump


All times are GMT. The time now is 18:35.