-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZIP does not support timestamps before 1980 #6
Comments
Hacking zipfile:
and dumping into my path
Seeing:
|
I'm going to guess this is a weird docker thing:
NOTE one of the I also saw odd issues with the .pyc file having a later date than a modied py file for the zipfile hacks I was making so resorted to removing the pyc file each time. Current hack:
This lead to one successful build. Later (and so far consistently) getting errors (note includes debug):
Moving into /tmp (vm) rather than native host drive avoided all problems. Any ideas on this with Windows? |
I have never used this image on windows. The only thing I can imagine is that the time of the docker VM is maybe not set correctly. |
Otherwise the
does not really match this theory. |
Yeah super odd - current theory is either something in Windows (Symantec) or some sync issue between host/container. I documented the current (reliable) workaround in the original description. Having git in the container helps but I now need a reliable way to edit/build. I opened issued #7 to discuss possible options. Again thanks for this, I played with a couple of pebble containers and all had some major problems, this really has been the smoothest option since moving away from a VM (previously I was using a 32-bit VM but my machine has HyperV enabled and Virtual Box won't host 32-bit images because of that). |
It seems that there is a base issue in docker for windows. I tried a simple
followed by a complete destruction of the volume mount which requires a restart of the docker daemon. I dont think we can fix this problem in the image. (At least I currently dont have an idea how) |
Workaround
Starting a shell session in the container and using a linux file system avoids problems, see the notes in the readme for starting a session (ideally with a name,
-name=pebbleDev
for persistence):Thanks for this Docker image - its the one I've had the most success with so far.
Platform information (which I'm not sure is relevant but included for completeness).
Windows 10 64-bit with Docker 64-bit:
My simple demo batch script:
The compile part of the build stage is successful, the bundling into PBW is not:
Timestamps in host are today (2020-01-25). I've not dug into this any further. Logging what I have at this point.
The text was updated successfully, but these errors were encountered: