basic setup broken?

12 views
Skip to first unread message

mosesoak

unread,
Jul 22, 2011, 3:32:39 PM7/22/11
to ProjectSprouts
Luke, I was writing some docs for my team and went back to the basics
from the Sprouts home page, and was surprised to get an error just
trying out a blank new project.


Moses-Guneschs-MacBook-Pro:Documents office$ sprout-as3 TempProject/
Created directory: ./TempProject/
Created file: ./TempProject/rakefile.rb
Created file: ./TempProject/Gemfile
Created directory: ./TempProject/src
[Errno::ENOENT] No such file or directory - ./TempProject/src/
TempProject/.as
Skipped remove directory: ./TempProject/bin
Skipped remove directory: ./TempProject/lib
Skipped remove missing file: ./TempProject/assets/skins/
DefaultProjectImage.png
Skipped remove directory: ./TempProject/assets/skins
Skipped remove directory: ./TempProject/assets
Skipped remove missing file: ./TempProject/src/TempProjectRunner.as
Skipped remove missing file: ./TempProject/src/TempProject/.as
Removed directory: ./TempProject/src
Removed file: ./TempProject/Gemfile
Removed file: ./TempProject/rakefile.rb
Skipped remove directory: ./TempProject/
/Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/lib/
sprout/generator/file_manifest.rb:46:in `initialize': No such file or
directory - /Users/office/Documents/TempProject/src/TempProject/.as
(Errno::ENOENT)
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/file_manifest.rb:46:in `open'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/file_manifest.rb:46:in `write_file'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/file_manifest.rb:20:in `create'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:44:in `create_children'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:44:in `select'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:44:in `create_children'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:19:in `create'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:44:in `create_children'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:44:in `select'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:44:in `create_children'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:19:in `create'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:44:in `create_children'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:44:in `select'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:44:in `create_children'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/directory_manifest.rb:19:in `create'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/command.rb:57:in `execute'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/sprout-1.1.11.pre/
lib/sprout/generator/base.rb:82:in `execute'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/gems/flashsdk-1.0.27.pre/
bin/sprout-as3:8
from /Users/office/.rvm/gems/ruby-1.8.7-p299/bin/sprout-as3:19:in
`load'
from /Users/office/.rvm/gems/ruby-1.8.7-p299/bin/sprout-as3:19

Simon Bailey

unread,
Jul 22, 2011, 3:41:00 PM7/22/11
to project...@googlegroups.com
I just ran that without the trailing forward slash and it works, added '/' and it throws the error.  Is the forward slash a typo?

-- 
Cheers,

Simon
--
You received this message because you are subscribed to the Google Groups "ProjectSprouts" group.
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to projectsprout...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/projectsprouts?hl=en

For other info you can visit our project at: http://projectsprouts.org, or on Github at: http://github.com/lukebayes/project-sprouts

mosesoak

unread,
Jul 22, 2011, 6:23:02 PM7/22/11
to ProjectSprouts
Simon, that was totally it.
> > To post to this group, send email to project...@googlegroups.com (mailto:project...@googlegroups.com)
> > To unsubscribe from this group, send email to projectsprout...@googlegroups.com (mailto:projectsprout...@googlegroups.com)
> > For more options, visit this group athttp://groups.google.com/group/projectsprouts?hl=en

Luke Bayes

unread,
Jul 22, 2011, 7:09:02 PM7/22/11
to project...@googlegroups.com
That's an interesting issue.

Added to the issue tracker here:
https://github.com/lukebayes/project-sprouts/issues/72

The argument there is supposed to be the project "name", so no slash
expected, but I think it should be more forgiving with this kind of
input.

Anyone want to take this on?


Thanks!

Luke

mosesoak

unread,
Jul 22, 2011, 10:18:42 PM7/22/11
to ProjectSprouts
Hey Luke, not sure if I should start a new thread for this but just
wanted to tell you about something I'm seeing consistently with fcsh.

1st try with fcsh:
Users/office/.rvm/gems/ruby-1.8.7-p299/gems/flashsdk-1.0.27.pre/lib/
flashsdk/fcsh_socket.rb:99:in `execute'

2nd try (without changing anything):
Seems to build but opens the little blank player I was seeing before
with that os x launcher issue.

Switch to mxmlc:
works.

Now try again with fcsh:
works.

Pretty weird stuff, and might not be any help to you. At one point
when fcsh was bugging out too badly I actually rebooted my box which
fixed it. Maybe it's just touchy like that!

Sorry for all the weird bug reports, but you'll be happy to know that
I've started to distro a big project to my team (mostly non-flash ruby
devs), with Sprouts as the harness and it's going over really well.

Thanks and have a good weekend!

Luke Bayes

unread,
Jul 23, 2011, 7:38:53 AM7/23/11
to project...@googlegroups.com
Hey Moses,

That sounds really strange. I'm not sure if it's related or not, but
is there any way you can run on Ruby 1.9.2 instead of 1.8.7? I haven't
seen these behaviors with FCSH and I'm pretty sure there were some
changes made to process handling for 1.9.x.

Thanks,

Luke

mosesoak

unread,
Jul 25, 2011, 8:28:38 PM7/25/11
to ProjectSprouts
I think I'm just gonna make it more optional and recommend one-off use
of the USE_FCSH=true flag so the rake files will work for everyone.

BTW one other little thing I've found in doing this internal distro is
that it's best to recommend 'bundle exec rake' in all cases, to avoid
versioning errors.

Anyway it's saving everyone a ton of time though, which is awesome!
> > For more options, visit this group athttp://groups.google.com/group/projectsprouts?hl=en

mosesoak

unread,
Jul 25, 2011, 8:48:18 PM7/25/11
to ProjectSprouts
A very minor issue one developer had was the following warning, but he
said he typed "y" and it worked fine after that.

flashplayer_10_sa: 100% |....................| 5.3MB 1.4MB/s Time:
00:00:03
The MD5 Sum of the downloaded file (90c80bea932e75438969c625c871e2cb)
does not match what was expected (f753a8538f5f41db838fc81cdc994a64).
Would you like to install anyway? [Yn]

Luke Bayes

unread,
Jul 26, 2011, 5:50:56 PM7/26/11
to project...@googlegroups.com
Thanks Moses,

We need to update the MD5 for the recently-updated Flash Player version.

If someone want's to update those for Mac, Win and *Nix versions, I'd
gladly accept a pull request.

https://github.com/lukebayes/sprout-flashsdk/blob/master/lib/flashplayer/specification.rb


Thanks,

Luke

Reply all
Reply to author
Forward
0 new messages