Active Topics

 



Notices


Reply
Thread Tools
mscarrot's Avatar
Posts: 105 | Thanked: 46 times | Joined on Dec 2009 @ The Netherlands
#561
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
no service setting
No more users to load
Establishing api for Twitter using basic auth
Establishing api for Twitter using oauth
Connection working ok
Traceback (most recent call last):
File "/opt/witter/witter.py", line 1166, in <module>
app = Witter()
File "/opt/witter/witter.py", line 169, in __init__
self.activeAccount.tweetstore = self.reload_timeline_data('/home/user/.wittertl',self.activeAccount.getTimeline())
File "/opt/witter/witter.py", line 641, in reload_timeline_data
source = config.get("tweets", "source" + str(counter));
File "/usr/lib/python2.5/ConfigParser.py", line 525, in get
return self._interpolate(section, option, value, d)
File "/usr/lib/python2.5/ConfigParser.py", line 568, in _interpolate
value = value % vars
ValueError: unsupported format character '$' (0x24) at index 1204
~ $
Here you go and thanks for your help !!!!
__________________


Follow me on Twitter: paulaN900
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#562
Originally Posted by mscarrot View Post
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
no service setting
No more users to load
Establishing api for Twitter using basic auth
Establishing api for Twitter using oauth
Connection working ok
Traceback (most recent call last):
File "/opt/witter/witter.py", line 1166, in <module>
app = Witter()
File "/opt/witter/witter.py", line 169, in __init__
self.activeAccount.tweetstore = self.reload_timeline_data('/home/user/.wittertl',self.activeAccount.getTimeline())
File "/opt/witter/witter.py", line 641, in reload_timeline_data
source = config.get("tweets", "source" + str(counter));
File "/usr/lib/python2.5/ConfigParser.py", line 525, in get
return self._interpolate(section, option, value, d)
File "/usr/lib/python2.5/ConfigParser.py", line 568, in _interpolate
value = value % vars
ValueError: unsupported format character '$' (0x24) at index 1204
~ $
Here you go and thanks for your help !!!!
Ok, so this implies that someone you follow had an odd character in the name of their twitter client. The source of a tweet that was stored in the file /home/user/.wittertl is failing to be parsed when witter tries to start up again.
It would be helpful to me if you could go look in that file, and see if anything stands out as unusual on a line that starts source=
you can do this by opening xterm and entering:

more /home/user/.wittertl
then hitting the space bar to page through the file.
I would assume that you'll find something that has a $ in the source name (but assumptions can be dangerous)

Once you've done that, just delete the file:
rm /home/user/.wittertl
then run witter again and all should be well.
__________________
----------
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:
mscarrot's Avatar
Posts: 105 | Thanked: 46 times | Joined on Dec 2009 @ The Netherlands
#563
Ok thanks will try and give it a look will report back later if it helped

EDIT:
Found a few ��テ���������������ϼ� signs......

deleted the file and YAY !!! my favorite app is back.

Thanks Daniel for your quick help !!!!
__________________


Follow me on Twitter: paulaN900

Last edited by mscarrot; 2010-07-13 at 21:06. Reason: add more info
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#564
Originally Posted by mscarrot View Post
Ok thanks will try and give it a look will report back later if it helped

EDIT:
Found a few ��テ���������������ϼ� signs......

deleted the file and YAY !!! my favorite app is back.

Thanks Daniel for your quick help !!!!
so it's worth mentioning that in all likelihood someone that you follow uses a twitter app which has characters in it's name that blow up the config parser. Any time you close witter whilst such a tweet is in the last 20, this will happen again.

I'll think about how to solve this problem properly. but just warning you it may happen again.
__________________
----------
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:
mscarrot's Avatar
Posts: 105 | Thanked: 46 times | Joined on Dec 2009 @ The Netherlands
#565
No Problem Daniel,
if it happens again I will just delete the file
like you told me in the earlier post
and then the problem should be solved again,
glad to know now how to do it...
__________________


Follow me on Twitter: paulaN900
 
Posts: 2 | Thanked: 0 times | Joined on Jul 2010
#566
HELPPPP
My witter was going very well before ths afternoon suddenly when I wanted to lauch it as usual, it loaded, but then go back to desktop wthout appearin the witter app. I've tried so many times, swith on and off the cell, unsintstall and reinstall, but still the same case

tried to launch in frm xterm, but this rport appear:

~ $ run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
no service setting
No more users to load
Establishing api for Twitter using basic auth
Establishing api for Twitter using oauth
Connection working ok
corrupted avatar file found, deleting it
Traceback (most recent call last):
File "/opt/witter/witter.py", line 1168, in <module>
app = Witter()
File "/opt/witter/witter.py", line 169, in __init__
self.activeAccount.tweetstore = self.reload_timeline_data('/home/user/.wittertl',self.activeAccount.getTimeline())
File "/opt/witter/witter.py", line 654, in reload_timeline_data
os.remove("/home/user/.witterPics/" + self.accountdata.servicename + "/" + filename)
AttributeError: Witter instance has no attribute 'accountdata'



any help? pleaseeeeee . I really need witter
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#567
Originally Posted by laughingguy View Post
HELPPPP
My witter was going very well before ths afternoon suddenly when I wanted to lauch it as usual, it loaded, but then go back to desktop wthout appearin the witter app. I've tried so many times, swith on and off the cell, unsintstall and reinstall, but still the same case

tried to launch in frm xterm, but this rport appear:

~ $ run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
no service setting
No more users to load
Establishing api for Twitter using basic auth
Establishing api for Twitter using oauth
Connection working ok
corrupted avatar file found, deleting it
Traceback (most recent call last):
File "/opt/witter/witter.py", line 1168, in <module>
app = Witter()
File "/opt/witter/witter.py", line 169, in __init__
self.activeAccount.tweetstore = self.reload_timeline_data('/home/user/.wittertl',self.activeAccount.getTimeline())
File "/opt/witter/witter.py", line 654, in reload_timeline_data
os.remove("/home/user/.witterPics/" + self.accountdata.servicename + "/" + filename)
AttributeError: Witter instance has no attribute 'accountdata'


any help? pleaseeeeee . I really need witter
you have a corrupted avatar download, and the code that is supposed to cope with that is not working yet. go to xterm:
cd /home/user/.witterPics/twitter/
rm *
this will remove all the cached avatars forcing a reload next time. This should fix the problem
__________________
----------
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: 9 | Thanked: 0 times | Joined on Jul 2010
#568
Hi!!! great program is the best i found but i have some problems, it loads but crash and dont start

/home/user # run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
no service setting
No more users to load
Establishing api for Twitter using basic auth
Establishing api for Twitter using oauth
Connection working ok
corrupted avatar file found, deleting it
Traceback (most recent call last):
File "/opt/witter/witter.py", line 1166, in <module>
app = Witter()
File "/opt/witter/witter.py", line 169, in __init__
self.activeAccount.tweetstore = self.reload_timeline_data('/home/user/.wittertl',self.activeAccount.getTimeline())
File "/opt/witter/witter.py", line 652, in reload_timeline_data
os.remove("/home/user/.witterPics/" + self.accountdata.servicename + "/" + filename)
AttributeError: Witter instance has no attribute 'accountdata'
 
Posts: 9 | Thanked: 0 times | Joined on Jul 2010
#569
Originally Posted by raothmist View Post
Hi!!! great program is the best i found but i have some problems, it loads but crash and dont start

/home/user # run-standalone.sh python2.5 /opt/witter/witter.py
gestures enabled
no service setting
No more users to load
Establishing api for Twitter using basic auth
Establishing api for Twitter using oauth
Connection working ok
corrupted avatar file found, deleting it
Traceback (most recent call last):
File "/opt/witter/witter.py", line 1166, in <module>
app = Witter()
File "/opt/witter/witter.py", line 169, in __init__
self.activeAccount.tweetstore = self.reload_timeline_data('/home/user/.wittertl',self.activeAccount.getTimeline())
File "/opt/witter/witter.py", line 652, in reload_timeline_data
os.remove("/home/user/.witterPics/" + self.accountdata.servicename + "/" + filename)
AttributeError: Witter instance has no attribute 'accountdata'
I solve it with your last post, dude you are awsome!!! keep working!!!
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#570
witter 0.3.5-1 went to extras-devel last night.
i beleve it fixes the failsafe code which failed to cope with corrupted avatars for the above posts.
in addition it allows the user to fix the rotation mode to portrait or landscape, or automatic
it also allows scrolling of tweets in landscape by using the cursor keys.

it should also fix 'missing tweet' problems. turns out the twitter api doesn't work as expected when you pass it the since-id. i presumed I'd get all tweets since that id... (crazy assumption) turns out they still imit that to 20 by defua*t. witter now asks for the max 200 since the last id.
__________________
----------
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:
Reply

Tags
python, twitter


 
Forum Jump


All times are GMT. The time now is 09:48.