librelist archives

« back to archive

Status of r1780 (Red Shoes local build for Windows)

Status of r1780 (Red Shoes local build for Windows)

From:
ashbb
Date:
2012-03-03 @ 03:19
Hi all,

I've been trying to build Red Shoes 3.1 for Windows for about two weeks.

The baseline is:
- include Ruby 1.9.3p125
- use old rubyinstaller and old dependencies
- no video support
- make all shoes/samples available
 (it's okay to edit the code a little bit, if necessary)

The latest revision is r1780 on https://github.com/ashbb/shoes/tree/develop
You can download the installer package:
http://www.rin-shun.com/shoes/shoes-0.r1780.exe

== Status of r1780

built-in 36 samples
- available 33 samples
- not available 3 samples: class-book.rb, simple-rubygems.rb,
simple-video.rb

shoes command options
- available: -m, -p (.shy only), -v, -h, --manual-html
- not available: -g

== My personal opinion

This monkey patch approach seems to see the end coming.
Because,...
- The error of class-book.rb is "wrong argument type UnboundMethod
(expected Data)".
  I know this was fixed at Issue#140 for OSX. But doesn't seem to be
available for Windows.

- The error of simple-rubygems.rb is "code converter not found (UTF-16LE to
ASCII-8BIT)".

For only the above two samples, it may be possible to continue adding
monkey patches.
But to fix them just right, I think we need to use the latest
onclick/rubyinstaller's recipes and update all dependencies.

Yeah, I know that it's the approach of Steve and Chuck. It's not easy way,
though....

ashbb

Re: Status of r1780 (Red Shoes local build for Windows)

From:
ashbb
Date:
2012-03-04 @ 09:10
Hi all,

> This monkey patch approach seems to see the end coming.
Thanks to Cecil, this approach may keep alive a little longer. ;-)

Shoes command option `-g` is now available on r1781.

I confirmed the following. It works.

C:\Program Files\Common Files\Shoes\0.r1781>.\shoes.exe -g install
c:\tmp\metaid
-1.0.gem

So, if you download bluecloth-2.0.6-x86-mingw32.gem and metaid-1.0.gem by
hand and save them under the same directory of simple-rubygems.rb. The
simple-rubygems.rb will work well with r1781.

ashbb

ps. The rest of the baseline is ... class-book.rb.

Re: Status of r1780 (Red Shoes local build for Windows)

From:
ashbb
Date:
2012-03-05 @ 15:07
Hi all,

> ps. The rest of the baseline is ... class-book.rb.
Try out Shoes-0.r1782.exe : http://www.rin-shun.com/shoes/shoes-0.r1782.exe
I think it reached the baseline of Shoes 3.1 for Windows. :)

ashbb

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Steve Klabnik
Date:
2012-03-05 @ 15:39
Ash, I have been recovering from getting my wisdom teeth pulled all
this week, so I haven't been able to chime in yet. This is fantastic!
Thanks so much for your recent help with Red Shoes. I have lots to
learn still, I guess. :/ I've been putting hours and hours into these
problems, then you come along and fix them right up.

-Steve

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Tobias Pfeiffer
Date:
2012-03-05 @ 16:24
First things first: Thank you so much - and that goes for everyone 
trying to get the Windows build going - I can only imagine how tedious 
this can be.

Now report from my Windows 7 installation:
It works! Installs without any problem, running some examples (and 
thereby discovering that I definitely need to check some source code 
out!) they worked good.

BUT (section with error reports):

My system is Windows 7 64 bit.

When I tried to start infoes the gem installation failed, it also fails 
when you run the simple-rubygems.rb sample. See this image: 
http://pragtob.files.wordpress.com/2012/03/shoes_errors1.png for the 
warnings (I guess that the error at the end is there because the methods 
are now really deprecated).
Shall I try to fix those and make a pull request? As I got Assignments 
and exams I doubt that I'll get to building on my own in Windows but I'd 
substitute all the method calls to the suggested ones and then maybe Ash 
can compile a new version?

Also I started hacketyhack (newest version from github), which worked - 
except for the lessons. When I went to the lessons tab all the lessons 
displayed some weird <Proc <weird stuff>> - maybe it can't find the 
lessons? Also I couldn't open the error console (might have to do with 
the german key board, I have to press Alt + Shift + 7 - works under Linux).

On a more minor note, my virus scanner thought that shoes.exe contains 
some kind of malware (DDOS/Bull.A)- the scanner is pretty popular in 
Germany.

So, I'd like to help somehow to get this going - good work, let's finish it!
Tobi

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
ashbb
Date:
2012-03-06 @ 10:54
Hi Tobi,

Sorry, I didn't mention about simple-rubygems.rb clearly.

It doesn't work for now by normal way.
But if you download two gems (bluecloth-2.0.6 and metaid) by hand and store
them under the current directory. It will work. ;-)

> Shall I try to fix those and make a pull request?
Cool! Yes, please. I'll check it out and merge.

> my virus scanner thought that shoes.exe contains some kind of malware
Oh, "shoes.exe"? You mean my shoes-0.r1782.exe?

ashbb

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Tobias Pfeiffer
Date:
2012-03-06 @ 11:06
On 03/06/2012 11:54 AM, ashbb wrote:
> > Shall I try to fix those and make a pull request?
> Cool! Yes, please. I'll check it out and merge.
>
Will try to do so ASAP, but aural exam (well just Swedish...) tomorrow
> > my virus scanner thought that shoes.exe contains some kind of malware
> Oh, "shoes.exe"? You mean my shoes-0.r1782.exe?
Um yeah of course this one :-)

Tobi

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
ashbb
Date:
2012-03-06 @ 14:45
>
> > > Shall I try to fix those and make a pull request?
> > Cool! Yes, please. I'll check it out and merge.
> >
> Will try to do so ASAP, but aural exam (well just Swedish...) tomorrow
>

No hurry. Study Swedish. :-D


> > > my virus scanner thought that shoes.exe contains some kind of malware
> > Oh, "shoes.exe"? You mean my shoes-0.r1782.exe?
> Um yeah of course this one :-)
>

OMG! Sorry, will remove the file on the web right now.

ashbb

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Tobias Pfeiffer
Date:
2012-03-07 @ 16:35
On 03/06/2012 03:45 PM, ashbb wrote:
>
>     > > Shall I try to fix those and make a pull request?
>     > Cool! Yes, please. I'll check it out and merge.
>     >
>     Will try to do so ASAP, but aural exam (well just Swedish...) tomorrow
>
>
> No hurry. Study Swedish. :-D
Swedish exam got postponed to next week some hours ago. Error should be 
fixed, check out my pull request: https://github.com/ashbb/shoes/pull/1

Was simply a new method they expected to be there on the UI for 
reporting, I used a dummy implementation from rubygems that does nothing.

I did not fix the warnings (yet) since time is sparse and it seems to 
work. They were deprecated without replacements. However the 1.8.0 
release notes (http://blog.segment7.net/2011/05/04/rubygems-1-8-0) say 
that the functionality was moved to Gem::Specification, but the only 
thing that sounded similar to refresh! there was reset - dunno if this 
is right and no time to play with it atm.

On another note: the linux build seems broken, when I run rake it 
complains about uninitialized constant Object::SHOES_RUBY_ARCH - if I 
add SHOES_RUBY_ARCH = Config::CONFIG['arch'] it's good but rake still 
fails with "Don't know how to build task 'build_os'" :-(

Cheers,
Tobi

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
ashbb
Date:
2012-03-08 @ 12:49
Hi Tobi,

Thank you for the pull request!
I'll check it out tonight.

> On another note: the linux build seems broken
Oh, sorry. It's my fault.
The ashbb/shoes at develop branch is a temporary branch for trying to make
Windows build with Ruby 1.9.3p125. I restored old rake/make files at this
commit:
https://github.com/ashbb/shoes/commit/7cc7500c6db4c20cf8dd1474d8a9c349285de9dc

So, after merge your pull request and do some tests, I'll send a pull
request to shoes/shoes.

The pull request may not be merged automatically, but I think Steve and
other Red Shoes for OSX and Linux developers will do by hand. :-P

ashbb

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Steve Klabnik
Date:
2012-03-08 @ 13:13
> The pull request may not be merged automatically, but I think Steve and
> other Red Shoes for OSX and Linux developers will do by hand. :-P

Yep! I tried this last night, and it doesn't, and it breaks. But
whenever you're ready, send a pull request, and I'll fix it by hand
and make sure it works on osx, and then we can get someone else to
check it out on Linux. :)

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Tobias Pfeiffer
Date:
2012-03-08 @ 13:17
On 03/08/2012 02:13 PM, Steve Klabnik wrote:
>> The pull request may not be merged automatically, but I think Steve and
>> other Red Shoes for OSX and Linux developers will do by hand. :-P
> Yep! I tried this last night, and it doesn't, and it breaks. But
> whenever you're ready, send a pull request, and I'll fix it by hand
> and make sure it works on osx, and then we can get someone else to
> check it out on Linux. :)
Someone else is always just an email away, although my expertise for 
fixing Rakefiles and c-stuff may be questionable :P But I'm always eager 
to learn ;-)

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
ashbb
Date:
2012-03-08 @ 13:29
Sent a pull request just now: https://github.com/shoes/shoes/pull/185

Cheers,
ashbb

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Tobias Pfeiffer
Date:
2012-03-06 @ 14:48
On 03/06/2012 03:45 PM, ashbb wrote:
>
>     > > my virus scanner thought that shoes.exe contains some kind of
>     malware
>     > Oh, "shoes.exe"? You mean my shoes-0.r1782.exe?
>     Um yeah of course this one :-)
>
>
> OMG! Sorry, will remove the file on the web right now.
>
> ashbb
>
No worries I guess that it's just a false positive but I don't know :o

Tobi

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Steve Klabnik
Date:
2012-03-06 @ 16:05
I think it's a false positive. Some Hackety users have mentioned this
too, I think it might have to do with the name.

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
ashbb
Date:
2012-03-06 @ 21:53
Hi Tobi, Steve et al,

Oh, "false positive". I'm relieved to hear that.
No wonder my virus checker has detected nothing. :)

Do you know the file name confirmed virus?

It may be better to change the file name.

ashbb

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Tobias Pfeiffer
Date:
2012-03-06 @ 22:38
On 06.03.2012 22:53, ashbb wrote:
> Hi Tobi, Steve et al,
>
> Oh, "false positive". I'm relieved to hear that.
> No wonder my virus checker has detected nothing. :)
>
> Do you know the file name confirmed virus?
>
> It may be better to change the file name.
>
> ashbb
Just started Windows - and it also detected the installed shoes.exe so 
no file name trouble.+

Maybe I should send the file to them, so they could get their heuristics 
right.

Tobi

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Tobias Pfeiffer
Date:
2012-03-08 @ 15:24
On 06.03.2012 23:38, Pfeiffer, Tobias wrote:
> On 06.03.2012 22:53, ashbb wrote:
>> Hi Tobi, Steve et al,
>>
>> Oh, "false positive". I'm relieved to hear that.
>> No wonder my virus checker has detected nothing. :)
>>
>> Do you know the file name confirmed virus?
>>
>> It may be better to change the file name.
>>
>> ashbb
> Just started Windows - and it also detected the installed shoes.exe so
> no file name trouble.+
>
> Maybe I should send the file to them, so they could get their heuristics
> right.
>
> Tobi
Just uploaded the file so they can sort their stuff out. Hopefully.

Tobi

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Steve Klabnik
Date:
2012-03-05 @ 16:45
Tobias, the Hackety lessons are in a bit of flux at the moment. How
about you make a thread on the Hackety list and we can discuss it?
It's a hackety application issue, not really a Shoes one.

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Tobias Pfeiffer
Date:
2012-03-05 @ 16:49
On 03/05/2012 05:45 PM, Steve Klabnik wrote:
> Tobias, the Hackety lessons are in a bit of flux at the moment. How
> about you make a thread on the Hackety list and we can discuss it?
> It's a hackety application issue, not really a Shoes one.
Didn't know that sorry, worked fine the last time I used them on Linux. 
Will make a thread there.

Tobi

Re: [shoes] Re: Status of r1780 (Red Shoes local build for Windows)

From:
Steve Klabnik
Date:
2012-03-05 @ 17:07
> Didn't know that sorry, worked fine the last time I used them on Linux.
> Will make a thread there.

No worries. I've been going back and forth with the markdown stuff,
and I feel like I screwed up a merge, maybe...