![]() |
Re: witter - a python twitter client
I see you managed to get to to switch between landscape and portrait. This is far better than my PC Twitter apps, so much so that I switch of my laptop and switch on the phone when I want to tweet.
|
Server returned 500
I have a problem with fetching non-twitter tweets since 0.3.3-3 (as before it is an own statusnet 0.9.2 server configured as "other"): When retrieving the timeline It says: Error retrieving tweets Server returned 500:
Quote:
|
Re: witter - a python twitter client
Daniel...love ya work to date....
May I request 2 more features. that would complement your already outstanding app... 1) Portrait mode on-screen qwerty. If you could steal/implement one like that used in Opera Mobile...that would be perfect...we could use witter and tweet with no need to open keyboard/revert to landscape. 2) A desktop widget. The new Twitter widget released by Nokia is cool that it allows tweeting right from the desktop, but is lacking many features that possibly you could implement in your own version... - When clicking on the widget feed, it opens witter - When clicking on the widget bird, it allows posting tweet from desktop (as the current does) - The ability to scroll the widget feed, either by flicking, or by arrows like the RSS widget does That would just be the bees knees |
Re: witter - a python twitter client
In response to cy8aer, I have had trouble connecting this morning a few times, sometimes OK. Was still having trouble before but deleting the .jpg's from .twitterPics/Twitter was resolving it.
Have completely uninstalled (inc files in home dir) and reinstalled but still cannot connect. "Error retrieving tweets Server returned 500:" or "Error retrieving tweets Server returned 400:" or Connection has timed out. Stupid question: I have only installed this from the repositories which has v0.3.3-3 so how do I get v0.3.3-2 ? Cheers |
Re: Server returned 500
Quote:
as for timestamps, I still don't know why, but for some people they are getting timestamps in a format that isn't parsing properly. but is not obvious why not. in the latest (0.3.3-6 in extras-devel) I put a little more diagnostics to test a hunch about what might be wrong. if you run that version from the commandline run-standalone.sh python2.5 /opt/witter/witter.py then you should get some ouput which will show the timestamp being parsed and the sort of format I'm expecting each between > < markers to help me check for errant whitespace |
Re: witter - a python twitter client
Quote:
|
Re: Server returned 500
ok, just paste it from the output:
Quote:
< 0.3.3-3 everything is fine >= 0.3.3-3 Error 500. I cleaned all .witter* files/dirs and the error is still there. And: I only have the problems with the friends timeline. All other timelines work. |
Re: witter - a python twitter client
Quote:
|
Re: Server returned 500
Quote:
the other issue I assume is to do with fetching retweets in timeline, which was the new thing added at 0.3.3-3 but that is working just fine for me. Can I ask if you are oAuth or basic auth (it shouldn't make a difference, but could be relevant) |
Re: witter - a python twitter client
nice portrait mode, good job congrats, i have a suggestion why dont u make a more button? instead fo the cross button that read 20 50 100 and read 15 tweets on each more click? i have more suggestions but one by one lol... ;D
|
Re: witter - a python twitter client
congratz on the new update. portrait works fine. i have a problem though. iits the fullscreen thing. when i click on full screen, it works fine, he top bar disappears. but when if i click on the text bar to type, it exits out of full screen and never goes back until i click full screen
|
Re: witter - a python twitter client
Still on v0.3.3-3
Ran Witter normally and the timeline was empty, closed application. Ran from command line: $ run-standalone.sh python2.5 /opt/witter/witter.py Nothing in timeline nor mentions and i received a new error of: Error retrieving tweets (8, EOF occured in violation of protocol Xterm output (as much as I could get): /opt/witter/ui/gtkWitter.py:76: GtkWarning: gtk_container_child_set_property: assertion `child->parent == GTK_WIDGET (container)' failed self.builder.add_from_file("/usr/share/witter/witter.ui") /opt/witter/ui/gtkWitter.py:109: GtkWarning: Could not lookup object gtk.RESPONSE_YES on signal clicked of object Ok-oauth self.builder.connect_signals(dic) /opt/witter/ui/gtkWitter.py:109: GtkWarning: Could not lookup object gtk.RESPONSE_YES on signal clicked of object Ok self.builder.connect_signals(dic) running tasks: 1 getting tweets with Skr0 base url = https://twitter.com/ base url of api object = https://twitter.com/ refreshing since15106578930 fetching tweets from https://twitter.com/statuses/friends_timeline.json running tasks: 2 getting dms running tasks: 3 getting mentions refreshing since15068976607 running tasks: 4 getting public end refresh setup running tasks: 3 error Error retrieving dms timed out running tasks: 2 error Error retrieving tweets timed out running tasks: 1 Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner self.run() File "/usr/lib/python2.5/threading.py", line 446, in run self.__target(*self.__args, **self.__kwargs) File "/home/user/src/witter/fremantle/src/opt/witter/witter/refresh_thread.py", line 41, in _start File "/opt/witter/witter.py", line 753, in getPublicWrapper self.activeAccount.getPublic(auto=autoval, older=get_older, get_count=more) File "/home/user/src/witter/fremantle/src/opt/witter/account/account.py", line 510, in getPublic File "/home/user/src/witter/fremantle/src/opt/witter/twitter.py", line 1331, in GetPublicTimeline json = self._FetchUrl(url, parameters=parameters) File "/home/user/src/witter/fremantle/src/opt/witter/oauthtwitter/oauthtwitter.py", line 140, in _FetchUrl File "/usr/lib/python2.5/socket.py", line 304, in read data = self._sock.recv(rbufsize) File "/usr/lib/python2.5/httplib.py", line 529, in read s = self.fp.read(amt) File "/usr/lib/python2.5/httplib.py", line 1027, in read s = self._read() File "/usr/lib/python2.5/httplib.py", line 1003, in _read buf = self._ssl.read(self._bufsize) sslerror: The read operation timed out running tasks: 2 getting tweets with Skr0 base url = https://twitter.com/ base url of api object = https://twitter.com/ fetching tweets from https://twitter.com/statuses/friends_timeline.json running tasks: 3 getting tweets with Skr0 base url = https://twitter.com/ base url of api object = https://twitter.com/ refreshing since15106578930 fetching tweets from https://twitter.com/statuses/friends_timeline.json <hildon.Button object at 0x41b22698 (HildonButton at 0x3d30e8)> mentions <hildon.Button object at 0x41b22698 (HildonButton at 0x3d3048)> timeline error Error retrieving tweets (8, 'EOF occurred in violation of protocol') running tasks: 2 error Error retrieving tweets (8, 'EOF occurred in violation of protocol') running tasks: 1 running tasks: 2 getting tweets with Skr0 base url = https://twitter.com/ base url of api object = https://twitter.com/ refreshing since15106578930 fetching tweets from https://twitter.com/statuses/friends_timeline.json Stop Wittering shutting down refresh loop written config object to file stopping thread stopping thread stopping thread stopping thread killing thread killing thread killing thread error Error retrieving tweets The connect operation timed out running tasks: 1 |
Re: witter - a python twitter client
Correction to above, when uninstalling it stated it was actually v0.3.3-4
|
Re: Server returned 500
Quote:
|
Re: witter - a python twitter client
Quote:
could you get to anything? twitter in a browser from n900? |
Re: witter - a python twitter client
The new update is pretty nifty. Thanks for the work
|
Re: witter - a python twitter client
Will we get a witter desktop widget to allow us to do a quick twitter status update by your self.
|
Re: witter - a python twitter client
Too many other things that need to be added before a widget will be created.
|
Re: Server returned 500
Quote:
|
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
the new devel update doesn't start up. Just throwing that out there
|
Re: witter - a python twitter client
Opened Twitter.com, no network issues now.
Ran witter from command line. Timeline was empty, refreshed and got rerror: Error retreiving tweets Server returning 400 Version 0.3.3-9 Using oAuth Should I be ? Output: ~ $ run-standalone.sh python2.5 /opt/witter/witter.py no service setting No more users to load Establishing api for Twitter using basic auth Establishing api for Twitter using oauth Connection working ok Failed to load cached timeline Failed to load cached timeline Failed to load cached timeline /opt/witter/ui/gtkWitter.py:76: GtkWarning: Unknown property: GtkVBox.orientation self.builder.add_from_file("/usr/share/witter/witter.ui") /opt/witter/ui/gtkWitter.py:76: GtkWarning: Unknown property: HildonButton.stock-id self.builder.add_from_file("/usr/share/witter/witter.ui") /opt/witter/ui/gtkWitter.py:76: GtkWarning: gtk_container_child_set_property: assertion `child->parent == GTK_WIDGET (container)' failed self.builder.add_from_file("/usr/share/witter/witter.ui") /opt/witter/ui/gtkWitter.py:109: GtkWarning: Could not lookup object gtk.RESPONSE_YES on signal clicked of object Ok-oauth self.builder.connect_signals(dic) /opt/witter/ui/gtkWitter.py:109: GtkWarning: Could not lookup object gtk.RESPONSE_YES on signal clicked of object Ok self.builder.connect_signals(dic) running tasks: 1 getting tweets with Skr0 base url = https://twitter.com/ base url of api object = https://twitter.com/ refreshing since15133508054 fetching tweets from https://twitter.com/statuses/friends_timeline.json running tasks: 2 getting dms running tasks: 3 getting mentions refreshing since15068976607 running tasks: 4 getting public end refresh setup error Error retrieving mentions Server returned 400 : error Error retrieving tweets Server returned 400 : running tasks: 3 error Error retrieving dms Server returned 400 : running tasks: 2 running tasks: 1 error Error retrieving public timeline Server returned 400 : running tasks: 0 switched to landscape switched to landscape running tasks: 1 getting tweets with Skr0 base url = https://twitter.com/ base url of api object = https://twitter.com/ fetching tweets from https://twitter.com/statuses/friends_timeline.json error Error retrieving tweets Server returned 400 : running tasks: 0 switched to landscape switched to landscape running tasks: 1 getting tweets with Skr0 base url = https://twitter.com/ base url of api object = https://twitter.com/ refreshing since15133508054 fetching tweets from https://twitter.com/statuses/friends_timeline.json error Error retrieving tweets Server returned 400 : running tasks: 0 switched to landscape switched to landscape switched to landscape switched to landscape switched to landscape |
Re: witter - a python twitter client
Quote:
did you delete: /home/user/.wittertl /home/user/.wittermon /home/user/.witterdm ? |
Re: witter - a python twitter client
Quote:
400 errors are normally exceeding the api rate limit. could you check: http://api.twitter.com/1/account/rate_limit_status.xml in a browser and see if it thinks you have requests left? |
Re: witter - a python twitter client
Quote:
EDIT:Updated it. Still the same problem |
Re: witter - a python twitter client
Code:
missing option in config |
Re: witter - a python twitter client
It clearly says parsing errors on your config files. Delete the files as dwould said and try again.
|
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
Quote:
rm /home/user/.wittertl rm /home/user/.wittermon rm /home/user/.witterdm basically in 0.3.3-8 the code which persisted tweets to disc didn't check for newline characters in tweets, and wrote them anyway. But the code to load the files didn't cope with newlines in the format. this is fixed in 0.3.3-9, however the files need to be cleaned of the bad format. This is why it effected some people and not others, basically it was only if there was a newline in a tweet in the last 20 when you quit, that it would have problems on the next load. just one of those perils of playing in extras-devel assuming no other problems with 0.3.3-9, I may promote it to testing. |
Re: witter - a python twitter client
Quote:
|
Re: witter - a python twitter client
Quote:
rm /home/user/.wittermen (men short for mentions) in any case the file that was giving you trouble was wittertl, so do things start up ok now? |
Re: witter - a python twitter client
Quote:
EDIT: Just noticed the options for refresh interval. Nice touch. If remember correctly, it had to be manual input a while ago |
Re: witter - a python twitter client
I deleted those files and it solved my problem (which I hadn't yet posted).
|
Re: witter - a python twitter client
I've updated witter and now I get notifications...which is fine...but even when I set my profile NOT to vibrate, it still vibrates!
|
Re: witter - a python twitter client
Quote:
hmm, I'm inclined to suggest this a a bug/defect with maemo, from my point of view I'm requesting a notification of a certain style from the OS, I presumed that maemo would handle whether you currently have something like vibration switched off or not. I surely can't be expected to perform some kind of check locally to witter and then just be trusted to adhere to it? That would make no sense at all. I guess I'll try to find out if this is a bug, or just a stupid bit of design |
Re: witter - a python twitter client
It's a "bug" in the API. As far as I know, there is no sanity check when you make your MCE dbus call for IM notification.
To anybody else who wants to stop this, as a specific and crappy workaround, you can modify /etc/mce/mce.ini and remove the IM vibration notification. |
Re: witter - a python twitter client
witter 0.3.4-1 uplaoded to extras-devel last night, has a first go at a portrait keyboard (I assumed Nokia was not about to drop another update with a system one in)
basically the plus button in the top bar, in landscape provides optiosn for +20, +50 etc, in portrait it brings up the portrait keyboard. This may not be the best way to do it, but I wanted to get it in and see what it was like to use in practice. Not all symbols are available, but I've put some of the more obviously useful ones in. |
Re: witter - a python twitter client
I really like witter now - it's only missing list support now (I just have too many following to just read the normal timeline). Do you have any plans to implement lists?
Also, great work! Btw: As it is written in Python, wouldnt it be relatively easy to port it to a desktop app (just some minor gui modifications)? |
Re: witter - a python twitter client
Quote:
As for desktop app...well yes in theory it's relatively *easy* afterall it's 'just a matter of coding' :-) but it does currently rely on lots of hildon specific stuff, kinetic scrolling, all the buttons use the hildon wrappers to get the right 'look'n'feel', selection boxes, notifications etc etc it's all very hildon specific. Plus there are already lots of twitter desktop apps. |
Re: witter - a python twitter client
Hi all,
after upgrading to the latest version (0.3.3-9) of Witter unfortunately the app has stopped working on my N900. Code:
$ run-standalone.sh python2.5 /opt/witter/witter.py Code:
Traceback (most recent call last) |
All times are GMT. The time now is 12:13. |
vBulletin® Version 3.8.8