maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   witter - a python twitter client (https://talk.maemo.org/showthread.php?t=35596)

cosmo200 2010-07-18 23:01

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 755633)
this is a weird one. have you altered any files or folders that witter uses?
it seems to be failing to load the icons for your selected theme.
in xterm do:
more /home/user/.witter
this will show you the settings witter has saved.
one line will be
theme =
whatever is after the = is the selected theme. this then directly relates to a folder. you should be able to :

cd /opt/witter/icons

then list the folders with:

ls

is the theme from the config file present here? if you cd into that folder does it have icon files in it?

Hey Daniel,

After it crashed for the first time, I removed the timeline cache, since witter was having problems loading it. But I guess that I might've removed the whole folder. (I did the same thing with the mentions and DMs).
I'm using the Touch theme and it appears on the folder, but I couldn't find any icons in the Touch folder. I don't know if I'm using the wrong command line or if there isn't any icon files in it.
Hopefully this can't help!!
Thx

dwould 2010-07-19 09:01

Re: witter - a python twitter client
 
Quote:

Originally Posted by cosmo200 (Post 756196)
Hey Daniel,

After it crashed for the first time, I removed the timeline cache, since witter was having problems loading it. But I guess that I might've removed the whole folder. (I did the same thing with the mentions and DMs).
I'm using the Touch theme and it appears on the folder, but I couldn't find any icons in the Touch folder. I don't know if I'm using the wrong command line or if there isn't any icon files in it.
Hopefully this can't help!!
Thx

Case is important here, so could you confirm, does your theme line say:
theme = touch
and do you have
/opt/witter/icons/touch
and are you saying that /opt/witter/icons/touch is empty?
Note all lower case

To fix you'd need to find one of the folders in /opt/witter/icons that does have icons in it, and then edit the .witter file to have that folder name as the configured theme. However this really shouldn't have been able to happen, so I'm obviously missing something....

dwould 2010-07-19 12:07

Re: witter - a python twitter client
 
looks like I've screwed up the packaging and included a Touch as well as a touch folder. only the lower case version has a real set of icons in. the other should not exist. I'll fix it in the next version, but in the mean time you need to make sure you change .witter to have
theme = touch
NOT
theme = Touch

cosmo200 2010-07-20 02:03

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 756679)
looks like I've screwed up the packaging and included a Touch as well as a touch folder. only the lower case version has a real set of icons in. the other should not exist. I'll fix it in the next version, but in the mean time you need to make sure you change .witter to have
theme = touch
NOT
theme = Touch

Hey Daniel,

Mine theme says Touch (with a T). It started to crash after I set it. My question is (it might be pretty basic, but I'm still learning how to use the x-term) how do I set the theme to one theme that works?

Thx

RalphK87 2010-07-20 17:29

Re: witter - a python twitter client
 
Download Midnight Commander...

Start the Xterm

sudo gainroot

mc

then in midnight commander, find the .witter file and press edit... find the text where it says theme=Touch

edit that into theme=touch

For me this worked... let me know if it worked for you

dwould 2010-07-20 21:38

Re: witter - a python twitter client
 
I was hoping to have time to package a fix for this, so that you wouldn't have to learn how to edit the file. But I've been too busy.
there are lots of ways, the way I know is to use an editor called 'vi' but this is not exactly a user friendly way to do anything.
basically....at xterm enter:

vi /home/user/.witter

this will load up a screen with the contents of the file, navigate using the arrow keys to put the cursor under the T of Touch then enter:

rt

this will 'replace' the current caracter with 't'
then enter

:wq

the colon will take you to a menu, then w will save the file, and the q will quit.

cosmo200 2010-07-21 03:58

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 758451)
I was hoping to have time to package a fix for this, so that you wouldn't have to learn how to edit the file. But I've been too busy.
there are lots of ways, the way I know is to use an editor called 'vi' but this is not exactly a user friendly way to do anything.
basically....at xterm enter:

vi /home/user/.witter

this will load up a screen with the contents of the file, navigate using the arrow keys to put the cursor under the T of Touch then enter:

rt

this will 'replace' the current caracter with 't'
then enter

:wq

the colon will take you to a menu, then w will save the file, and the q will quit.

Hey Daniel,

I chanced the theme to monochrome (I tried the touch as well) but witter keeps crashing. When I run the command more /home/user/.witter, it shows me theme = monochrome.
Running the command run-standalone.sh.... it shows this:

gestures enabled
no service setting
Traceback (most recent call last) :
File "/opt/witter/witter.py", line 1184, in <module>
app = Witter ()
File "/opt/witter/witter.py", line 149, in __init__
self.readConfig ()
File "/opt/witter/witter.py", line 455, in readConfig
self.search_terms = config.get ("search", "search_terms")
File "/usr/lib/python2.5/ConfigParser.py", line 520, in get

raise NoOptionError: No option 'search_terms' in section: 'search'

Either I screwed it up for good or we are getting close to fix it. I'm almost waiting for the next update to be released, but I really like this app. Hopefully it works again.
Thx

dwould 2010-07-21 20:04

Re: witter - a python twitter client
 
Quote:

Originally Posted by cosmo200 (Post 758681)
Hey Daniel,

I chanced the theme to monochrome (I tried the touch as well) but witter keeps crashing. When I run the command more /home/user/.witter, it shows me theme = monochrome.
Running the command run-standalone.sh.... it shows this:

gestures enabled
no service setting
Traceback (most recent call last) :
File "/opt/witter/witter.py", line 1184, in <module>
app = Witter ()
File "/opt/witter/witter.py", line 149, in __init__
self.readConfig ()
File "/opt/witter/witter.py", line 455, in readConfig
self.search_terms = config.get ("search", "search_terms")
File "/usr/lib/python2.5/ConfigParser.py", line 520, in get

raise NoOptionError: No option 'search_terms' in section: 'search'

Either I screwed it up for good or we are getting close to fix it. I'm almost waiting for the next update to be released, but I really like this app. Hopefully it works again.
Thx

looks like you may have deleted an extra line. In any case 0.3.5-2 is on it's way to extras-devel which should fix your problem and the previous ones. I've also (hopefully) removed the erroneous extra folder from the package.

eothred 2010-07-21 21:52

Re: witter - a python twitter client
 
I think you are making a wonderful effort and you have a very advanced application going here.

I have one gripe, there are very many buttons in my opinion, which makes it all feel a bit cluttered. In addition, in landscape mode, they are stealing precious vertical screen space. I would therefore suggest if it would be possible to:
- Perhaps align the buttons vertically on one side when in landscape mode?
- Perhaps hide the less significant buttons under a dropdown menu somehow?
- You could also consider to hide the field where you write your tweet, and bring it up when you click the t in the corner.

To sum up, keep up your great efforts, and thank you very much! :)

cosmo200 2010-07-22 01:57

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 759836)
looks like you may have deleted an extra line. In any case 0.3.5-2 is on it's way to extras-devel which should fix your problem and the previous ones. I've also (hopefully) removed the erroneous extra folder from the package.

Ok... thanks for the help anyway! I'll wait anxiously for the next update. :)


All times are GMT. The time now is 03:56.

vBulletin® Version 3.8.8