Hello all, I'm trying to get twittershoes running on policeman, more specifically github/shoes/master (which is running great on ubuntu 10.04) Some info about my system: ./shoes -v shoes policeman (0.r1514) [i686-linux Ruby1.9.1] uname -a Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux Here's a fork of the app I'm trying to run: http://github.com/zacharyscott/twittershoes Here is the seg fault I'm getting: http://gist.github.com/543406 <http://gist.github.com/543406>I'm wondering if this is more of an issue with twitter4r than shoes/twittershoes, either way I'm interested to see your responses. -- Zachary Scott
The JSON dependency needs to be removed for 1.9; it includes JSON and AFAIK the JSON gem doesn't build at all on 1.9.1 (I've had that issue before with other things, removing the JSON gem dependency fixes it just fine) Of course, that requires a little bit of advanced editing, still. On Sat, Aug 21, 2010 at 11:18 PM, Zachary Scott <zachary.s.scott@gmail.com>wrote: > Hello all, > > I'm trying to get twittershoes running on policeman, more specifically > github/shoes/master (which is running great on ubuntu 10.04) > > Some info about my system: > ./shoes -v > shoes policeman (0.r1514) [i686-linux Ruby1.9.1] > uname -a > Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 > GNU/Linux > > Here's a fork of the app I'm trying to run: > http://github.com/zacharyscott/twittershoes > > Here is the seg fault I'm getting: http://gist.github.com/543406 > > <http://gist.github.com/543406>I'm wondering if this is more of an issue > with twitter4r than shoes/twittershoes, either way I'm interested to see > your responses. > > -- > Zachary Scott > -- ~devyn
Interesting, it seems twitter4r hasn't been active in some time and apparently doesn't work with 1.9.1... I'm wondering if it'd be worth the trouble of forking twitter4r and patching it or just doing a rewrite with a more 1.9.1 compatible (and more active) twitter gem. I'd prefer not to have to rewrite large portions of the app On Sun, Aug 22, 2010 at 2:37 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote: > The JSON dependency needs to be removed for 1.9; it includes JSON and AFAIK > the JSON gem doesn't build at all on 1.9.1 (I've had that issue before with > other things, removing the JSON gem dependency fixes it just fine) > > Of course, that requires a little bit of advanced editing, still. > > > On Sat, Aug 21, 2010 at 11:18 PM, Zachary Scott <zachary.s.scott@gmail.com > > wrote: > >> Hello all, >> >> I'm trying to get twittershoes running on policeman, more specifically >> github/shoes/master (which is running great on ubuntu 10.04) >> >> Some info about my system: >> ./shoes -v >> shoes policeman (0.r1514) [i686-linux Ruby1.9.1] >> uname -a >> Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 >> GNU/Linux >> >> Here's a fork of the app I'm trying to run: >> http://github.com/zacharyscott/twittershoes >> >> Here is the seg fault I'm getting: http://gist.github.com/543406 >> >> <http://gist.github.com/543406>I'm wondering if this is more of an issue >> with twitter4r than shoes/twittershoes, either way I'm interested to see >> your responses. >> >> -- >> Zachary Scott >> > > > > -- > ~devyn > -- Zachary Scott
Twitter's API is incredibly simple, I'd recommend just writing your own. On Sun, Aug 22, 2010 at 9:41 AM, Zachary Scott <zachary.s.scott@gmail.com>wrote: > Interesting, it seems twitter4r hasn't been active in some time and > apparently doesn't work with 1.9.1... > > I'm wondering if it'd be worth the trouble of forking twitter4r and > patching it or just doing a rewrite with a more 1.9.1 compatible (and more > active) twitter gem. > > I'd prefer not to have to rewrite large portions of the app > > > On Sun, Aug 22, 2010 at 2:37 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote: > >> The JSON dependency needs to be removed for 1.9; it includes JSON and >> AFAIK the JSON gem doesn't build at all on 1.9.1 (I've had that issue before >> with other things, removing the JSON gem dependency fixes it just fine) >> >> Of course, that requires a little bit of advanced editing, still. >> >> >> On Sat, Aug 21, 2010 at 11:18 PM, Zachary Scott < >> zachary.s.scott@gmail.com> wrote: >> >>> Hello all, >>> >>> I'm trying to get twittershoes running on policeman, more specifically >>> github/shoes/master (which is running great on ubuntu 10.04) >>> >>> Some info about my system: >>> ./shoes -v >>> shoes policeman (0.r1514) [i686-linux Ruby1.9.1] >>> uname -a >>> Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 >>> GNU/Linux >>> >>> Here's a fork of the app I'm trying to run: >>> http://github.com/zacharyscott/twittershoes >>> >>> Here is the seg fault I'm getting: http://gist.github.com/543406 >>> >>> <http://gist.github.com/543406>I'm wondering if this is more of an issue >>> with twitter4r than shoes/twittershoes, either way I'm interested to see >>> your responses. >>> >>> -- >>> Zachary Scott >>> >> >> >> >> -- >> ~devyn >> > > > > -- > Zachary Scott > -- ~devyn
This is my first attempt at anything with shoes. When I saw this on the shoe-box I thought, perfect: an app that I can use, since I'm unpleased with any of the options for twitter clients on linux. However, it has not been maintained in over a year. Here's the resulting tweet from shoe's master and my fork of twittershoes: http://twitter.com/hasmanytweets/status/21860346684 I managed to get it working by requiring a local clone of the twitter4r git: http://github.com/twitter4r/twitter4r-core <http://github.com/twitter4r/twitter4r-core>Here's my fork of twittershoes: http://github.com/zacharyscott/twittershoes, that I've got working with a local clone of my shoes fork: http://github.com/zacharyscott/shoes What works: * Posting an update * Parses (some, seemingly at random) tweets from your friends * Tweet char count, seems to be functioning ok Todo: * I had to make a patch to twitter4r, tshoe.rb had some invalid ASCII characters Need create a fork for the patch as it's just included locally atm. * T4r should also be made into a dependency rather then required locally Give it a shot and let me know where I can make improvements. On Sun, Aug 22, 2010 at 11:09 PM, Devyn Cairns <devyn.cairns@gmail.com>wrote: > Twitter's API is incredibly simple, I'd recommend just writing your own. > > > On Sun, Aug 22, 2010 at 9:41 AM, Zachary Scott <zachary.s.scott@gmail.com>wrote: > >> Interesting, it seems twitter4r hasn't been active in some time and >> apparently doesn't work with 1.9.1... >> >> I'm wondering if it'd be worth the trouble of forking twitter4r and >> patching it or just doing a rewrite with a more 1.9.1 compatible (and more >> active) twitter gem. >> >> I'd prefer not to have to rewrite large portions of the app >> >> >> On Sun, Aug 22, 2010 at 2:37 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote: >> >>> The JSON dependency needs to be removed for 1.9; it includes JSON and >>> AFAIK the JSON gem doesn't build at all on 1.9.1 (I've had that issue before >>> with other things, removing the JSON gem dependency fixes it just fine) >>> >>> Of course, that requires a little bit of advanced editing, still. >>> >>> >>> On Sat, Aug 21, 2010 at 11:18 PM, Zachary Scott < >>> zachary.s.scott@gmail.com> wrote: >>> >>>> Hello all, >>>> >>>> I'm trying to get twittershoes running on policeman, more specifically >>>> github/shoes/master (which is running great on ubuntu 10.04) >>>> >>>> Some info about my system: >>>> ./shoes -v >>>> shoes policeman (0.r1514) [i686-linux Ruby1.9.1] >>>> uname -a >>>> Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 >>>> GNU/Linux >>>> >>>> Here's a fork of the app I'm trying to run: >>>> http://github.com/zacharyscott/twittershoes >>>> >>>> Here is the seg fault I'm getting: http://gist.github.com/543406 >>>> >>>> <http://gist.github.com/543406>I'm wondering if this is more of an >>>> issue with twitter4r than shoes/twittershoes, either way I'm interested to >>>> see your responses. >>>> >>>> -- >>>> Zachary Scott >>>> >>> >>> >>> >>> -- >>> ~devyn >>> >> >> >> >> -- >> Zachary Scott >> > > > > -- > ~devyn > -- Zachary Scott
There's been a few forks of twittershoes over the years. Been awhile since I tried, but this worked best for me on Linux, but never got it working on windows or OSX PPC http://github.com/hone/twittershoes Also, have a look at these for inspiration if you do your own or develop twittershoes more: http://github.com/toothrot/gutter (This one worked the best cross platform for me in the past) http://github.com/greatseth/aglet/tree/ ----------------------- i5m.co.uk GPG Key: 0xA18A602B On Mon, Aug 23, 2010 at 5:50 AM, Zachary Scott <zachary.s.scott@gmail.com>wrote: > This is my first attempt at anything with shoes. When I saw this on the > shoe-box I thought, perfect: an app that I can use, since I'm unpleased with > any of the options for twitter clients on linux. However, it has not been > maintained in over a year. Here's the resulting tweet from shoe's master and > my fork of twittershoes: > http://twitter.com/hasmanytweets/status/21860346684 > > I managed to get it working by requiring a local clone of the twitter4r > git: http://github.com/twitter4r/twitter4r-core > > <http://github.com/twitter4r/twitter4r-core>Here's my fork of > twittershoes: http://github.com/zacharyscott/twittershoes, that I've got > working with a local clone of my shoes fork: > http://github.com/zacharyscott/shoes > > What works: > * Posting an update > * Parses (some, seemingly at random) tweets from your friends > * Tweet char count, seems to be functioning ok > > Todo: > * I had to make a patch to twitter4r, tshoe.rb had some invalid ASCII > characters Need create a fork for the patch as it's just included locally > atm. > * T4r should also be made into a dependency rather then required locally > > Give it a shot and let me know where I can make improvements. > > > > On Sun, Aug 22, 2010 at 11:09 PM, Devyn Cairns <devyn.cairns@gmail.com>wrote: > >> Twitter's API is incredibly simple, I'd recommend just writing your own. >> >> >> On Sun, Aug 22, 2010 at 9:41 AM, Zachary Scott <zachary.s.scott@gmail.com >> > wrote: >> >>> Interesting, it seems twitter4r hasn't been active in some time and >>> apparently doesn't work with 1.9.1... >>> >>> I'm wondering if it'd be worth the trouble of forking twitter4r and >>> patching it or just doing a rewrite with a more 1.9.1 compatible (and more >>> active) twitter gem. >>> >>> I'd prefer not to have to rewrite large portions of the app >>> >>> >>> On Sun, Aug 22, 2010 at 2:37 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote: >>> >>>> The JSON dependency needs to be removed for 1.9; it includes JSON and >>>> AFAIK the JSON gem doesn't build at all on 1.9.1 (I've had that issue before >>>> with other things, removing the JSON gem dependency fixes it just fine) >>>> >>>> Of course, that requires a little bit of advanced editing, still. >>>> >>>> >>>> On Sat, Aug 21, 2010 at 11:18 PM, Zachary Scott < >>>> zachary.s.scott@gmail.com> wrote: >>>> >>>>> Hello all, >>>>> >>>>> I'm trying to get twittershoes running on policeman, more specifically >>>>> github/shoes/master (which is running great on ubuntu 10.04) >>>>> >>>>> Some info about my system: >>>>> ./shoes -v >>>>> shoes policeman (0.r1514) [i686-linux Ruby1.9.1] >>>>> uname -a >>>>> Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 >>>>> i686 GNU/Linux >>>>> >>>>> Here's a fork of the app I'm trying to run: >>>>> http://github.com/zacharyscott/twittershoes >>>>> >>>>> Here is the seg fault I'm getting: http://gist.github.com/543406 >>>>> >>>>> <http://gist.github.com/543406>I'm wondering if this is more of an >>>>> issue with twitter4r than shoes/twittershoes, either way I'm interested to >>>>> see your responses. >>>>> >>>>> -- >>>>> Zachary Scott >>>>> >>>> >>>> >>>> >>>> -- >>>> ~devyn >>>> >>> >>> >>> >>> -- >>> Zachary Scott >>> >> >> >> >> -- >> ~devyn >> > > > > -- > Zachary Scott >
I'm interested to see if anyone else has got this working and can give me any input on how to improve it. It should be somewhat useable with shoes master branch and my fork of twittershoes (found here: http://github.com/zacharyscott/twittershoes) @i5m, Thanks for those other 2, I had not seen before. I will take a close look at them and see if there could be any improvements. It's unfortunate that all of the twittershoes forks seemed to have stopped development around the same time _why passed. The fork of twittershoes I'm using is actually from hone's fork, which I believe to be the last active version. Appreciate any and all input :) Zak On Mon, Aug 23, 2010 at 10:02 AM, i5m <i5ivem@gmail.com> wrote: > There's been a few forks of twittershoes over the years. Been awhile since > I tried, but this worked best for me on Linux, but never got it working on > windows or OSX PPC > > http://github.com/hone/twittershoes > > > Also, have a look at these for inspiration if you do your own or develop > twittershoes more: > > http://github.com/toothrot/gutter (This one worked the best cross platform > for me in the past) > http://github.com/greatseth/aglet/tree/ > > > ----------------------- > i5m.co.uk > GPG Key: 0xA18A602B > > > > On Mon, Aug 23, 2010 at 5:50 AM, Zachary Scott <zachary.s.scott@gmail.com>wrote: > >> This is my first attempt at anything with shoes. When I saw this on the >> shoe-box I thought, perfect: an app that I can use, since I'm unpleased with >> any of the options for twitter clients on linux. However, it has not been >> maintained in over a year. Here's the resulting tweet from shoe's master and >> my fork of twittershoes: >> http://twitter.com/hasmanytweets/status/21860346684 >> >> I managed to get it working by requiring a local clone of the twitter4r >> git: http://github.com/twitter4r/twitter4r-core >> >> <http://github.com/twitter4r/twitter4r-core>Here's my fork of >> twittershoes: http://github.com/zacharyscott/twittershoes, that I've got >> working with a local clone of my shoes fork: >> http://github.com/zacharyscott/shoes >> >> What works: >> * Posting an update >> * Parses (some, seemingly at random) tweets from your friends >> * Tweet char count, seems to be functioning ok >> >> Todo: >> * I had to make a patch to twitter4r, tshoe.rb had some invalid ASCII >> characters Need create a fork for the patch as it's just included locally >> atm. >> * T4r should also be made into a dependency rather then required locally >> >> Give it a shot and let me know where I can make improvements. >> >> >> >> On Sun, Aug 22, 2010 at 11:09 PM, Devyn Cairns <devyn.cairns@gmail.com>wrote: >> >>> Twitter's API is incredibly simple, I'd recommend just writing your own. >>> >>> >>> On Sun, Aug 22, 2010 at 9:41 AM, Zachary Scott < >>> zachary.s.scott@gmail.com> wrote: >>> >>>> Interesting, it seems twitter4r hasn't been active in some time and >>>> apparently doesn't work with 1.9.1... >>>> >>>> I'm wondering if it'd be worth the trouble of forking twitter4r and >>>> patching it or just doing a rewrite with a more 1.9.1 compatible (and more >>>> active) twitter gem. >>>> >>>> I'd prefer not to have to rewrite large portions of the app >>>> >>>> >>>> On Sun, Aug 22, 2010 at 2:37 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote: >>>> >>>>> The JSON dependency needs to be removed for 1.9; it includes JSON and >>>>> AFAIK the JSON gem doesn't build at all on 1.9.1 (I've had that issue before >>>>> with other things, removing the JSON gem dependency fixes it just fine) >>>>> >>>>> Of course, that requires a little bit of advanced editing, still. >>>>> >>>>> >>>>> On Sat, Aug 21, 2010 at 11:18 PM, Zachary Scott < >>>>> zachary.s.scott@gmail.com> wrote: >>>>> >>>>>> Hello all, >>>>>> >>>>>> I'm trying to get twittershoes running on policeman, more specifically >>>>>> github/shoes/master (which is running great on ubuntu 10.04) >>>>>> >>>>>> Some info about my system: >>>>>> ./shoes -v >>>>>> shoes policeman (0.r1514) [i686-linux Ruby1.9.1] >>>>>> uname -a >>>>>> Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 >>>>>> i686 GNU/Linux >>>>>> >>>>>> Here's a fork of the app I'm trying to run: >>>>>> http://github.com/zacharyscott/twittershoes >>>>>> >>>>>> Here is the seg fault I'm getting: http://gist.github.com/543406 >>>>>> >>>>>> <http://gist.github.com/543406>I'm wondering if this is more of an >>>>>> issue with twitter4r than shoes/twittershoes, either way I'm interested to >>>>>> see your responses. >>>>>> >>>>>> -- >>>>>> Zachary Scott >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> ~devyn >>>>> >>>> >>>> >>>> >>>> -- >>>> Zachary Scott >>>> >>> >>> >>> >>> -- >>> ~devyn >>> >> >> >> >> -- >> Zachary Scott >> > > -- Zachary Scott
Hi Zak,
I downloaded your fork of twittershoes and edited tshoe.rb a little.
$ diff tshoe.rb tshoe_monkeypatch.rb
127c127
< file_path = "#{@twitter_config.cache_dir}/#{key}.jpg"
---
> file_path = "#{@twitter_config.cache_dir}/#{key.chomp}.jpg"
171c171
< eval_string = "para name, ': ', #{t}, \" \", elapsed_time, \"
\", de
l_reply, favorite, :font => 'Arial', :size => 8, :stroke => '#999999'"
---
> eval_string = "para name, ': ', t, \" \", elapsed_time, \" \",
del_r
eply, favorite, :font => 'Arial', :size => 8, :stroke => '#999999'"
229c229
< tweet.each(' ') do |token|
---
> tweet.split(' ') do |token|
Then I got the snapshot with Shoes 3 on my Windows 7 32bit laptop:
http://1dl.us/bdC
Yeah, data is broken, need to debug more and more.
But anyway, twittershoes works with Shoes 3. :-P
Hope this helps,
ashbb
ps. Tweet (posting via twittershoes) works well. ;-)
Thanks ashbb! I've just committed your patch to the fork. Good to hear it's also working on Win7 as I have only tested it on ubuntu. I did install win7 on a vm last night however, so I can start testing shoes and other goodies there :) On Thu, Aug 26, 2010 at 10:52 AM, ashbb <ashbbb@gmail.com> wrote: > Hi Zak, > > I downloaded your fork of twittershoes and edited tshoe.rb a little. > > $ diff tshoe.rb tshoe_monkeypatch.rb > 127c127 > < file_path = "#{@twitter_config.cache_dir}/#{key}.jpg" > --- > > file_path = "#{@twitter_config.cache_dir}/#{key.chomp}.jpg" > 171c171 > < eval_string = "para name, ': ', #{t}, \" \", elapsed_time, \" > \", de > l_reply, favorite, :font => 'Arial', :size => 8, :stroke => '#999999'" > --- > > eval_string = "para name, ': ', t, \" \", elapsed_time, \" \", > del_r > eply, favorite, :font => 'Arial', :size => 8, :stroke => '#999999'" > 229c229 > < tweet.each(' ') do |token| > --- > > tweet.split(' ') do |token| > > > Then I got the snapshot with Shoes 3 on my Windows 7 32bit laptop: > http://1dl.us/bdC > > Yeah, data is broken, need to debug more and more. > But anyway, twittershoes works with Shoes 3. :-P > > Hope this helps, > ashbb > > ps. Tweet (posting via twittershoes) works well. ;-) > > > > -- Zachary Scott
Ah,... hahaha. That is not a solution. Just a monkeypatch to avoide some errors. So, I think you will rewrite them after debugging. :-P ashbb
I just wanted to make sure the patch was out there, especially since it did improve functionality. When I have more time to look into it I will take a stab at fixing the bugs. Appreciate the input as always! :) Zak On Thu, Aug 26, 2010 at 5:39 PM, ashbb <ashbbb@gmail.com> wrote: > Ah,... hahaha. That is not a solution. Just a monkeypatch to avoide some > errors. So, I think you will rewrite them after debugging. :-P > > ashbb >