Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Packaging to exe - fails when running #275

Open
aarmora opened this issue Jul 1, 2015 · 3 comments
Open

Packaging to exe - fails when running #275

aarmora opened this issue Jul 1, 2015 · 3 comments

Comments

@aarmora
Copy link

aarmora commented Jul 1, 2015

Not sure what the issue is here. I'm thinking maybe permissions? But I'm not sure what process needs permission.

Error in <unknown> line 0 | 2015-07-01 23:26:34 +0000
No such file or directory @ rb_sysopen - scraper.rb
C:/Program Files (x86)/Shoes/lib/shoes.rb:517:in `read'
C:/Program Files (x86)/Shoes/lib/shoes.rb:517:in `read_file'
C:/Program Files (x86)/Shoes/lib/shoes.rb:496:in `visit'
eval:1:in `<main>'

This is the stack trace. Any ideas?

@ccoupe
Copy link

ccoupe commented Jul 2, 2015

@aarmora, you didn't mention which version of Shoes you are using the old 3.1 or the newer 3.2 that has it's own issue page at https://github.com/Shoes3/shoes3. If it's 3.2, that stack trace suggests you are attempting to run scraper.rb and it's not where it's supposed to be (I assume your testing the packaged exe and it's only one file (not a shy?).

@aarmora
Copy link
Author

aarmora commented Jul 2, 2015

Cecil,

Yes, I am running 3.2, sorry about not mentioning that.

Scraper.rb is what I packaged. I currently have them in the same
directory. But shouldn't the executable be standalone or does it need the
file it was packaged from to also be present?

Thanks,

Jordan

On Wed, Jul 1, 2015 at 7:08 PM, Cecil Coupe notifications@github.com
wrote:

@aarmora https://github.com/aarmora, you didn't mention which version
of Shoes you are using the old 3.1 or the newer 3.2 that has it's own issue
page at https://github.com/Shoes3/shoes3. If it's 3.2, that stack trace
suggests you are attempting to run scraper.rb and it's not where it's
supposed to be (I assume your testing the packaged exe and it's only one
file (not a shy?).


Reply to this email directly or view it on GitHub
#275 (comment).

@ccoupe
Copy link

ccoupe commented Jul 2, 2015

Jordan, on Windows the script (or shy) inside the packaged.exe is expanded into %HOME%\AppData\Local\Shoes when run on the users machine (and deleted when Shoes is closed). With the console error screen up, Shoes isn't closed so you should be able to look in there to make sure it is there and named correctly. Please open a new issue at https://github.com/Shoes3/shoes3/issues so it can be tagged and followed. Please mention which Windows version you are using and the Shoes 3.2.xx (or r(nnnn) number so I know how old it is. Also, how you packaged it - 'download if needed' or 'include shoes' and whether you packaged from the command line or from the Shoes GUI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants