View Single Post
Old 12-03-2014, 06:31 PM   #69
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,906
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi DiapDealer,

Forget about it. I just tried again and now it doesn't work on Macs either. I bet I ran it once from inside the directory and then tried it after zipping it up and it said successful and I looked and the files were there.

I don't think this is ever going to work the way I want it to.

So can you please try one thing:

Unzip the launcher_updater_20141204.zip but do not cd into it. Then try doing the following:

python launcher_updater_20141204

And yes we are just passing the folder name into python, but that is supposed to work as well. This does work on my Mac.

Kevin

Quote:
Originally Posted by DiapDealer View Post
@KevinH:

Yeah, it's not copying any files on Windows either.
It's only succeeding because technically ... nothing went wrong.

I've got it narrowed down to the call to unipath.walk("./payload") in __main__.py. It's returning an empty list instead of the files in the payload folder. Is it possible that something's different with accessing a folder "relatively" (./payload) inside a zipfile on Windows/Linux?

Last edited by KevinH; 12-03-2014 at 07:13 PM.
KevinH is offline   Reply With Quote