Comments (8)
ok, I'm testing this now. Thankfully I kept a boolean variable that can turn on/off using memory for the tar - you can imagine memory is a nice solution given that you have (smaller) images and want to do quick operations with the tar, but it's not optimal for this case! I will let you know when I finish testing and update singularity-python. I think it should be able to install the updated version (from pip) and we won't need to regenerate the builders, so we will have to test to see if it works. I'll let you know when to push again - stay tuned!
from singularityhub.github.io.
ok (I think) this is where it bugged out before - generating the image:
>>> image_package = package(image_path=image,
... spec_path=params['spec_file'],
... output_folder=build_dir,
... sudopw='',
... remove_image=True,
... verbose=True,
... old_version=True)
DEBUG:shub_builder:Found runscript.
INFO:shub_builder:Adding software list to package.
DEBUG:shub_builder:Adding Singularity to package...
DEBUG:shub_builder:Adding VERSION to package...
DEBUG:shub_builder:Adding runscript to package...
DEBUG:shub_builder:Adding folders.txt to package...
DEBUG:shub_builder:Adding files.txt to package...
DEBUG:shub_builder:Package created at /tmp/build/image2.img.zip
the above is generated using the (old way) which is singularity export to a file (.tar) instead of to memory, and reading as bytes.
from singularityhub.github.io.
oh by the way, there was one pip install that failed when I was testing, this one:
python3 -m pip install myavi
Collecting myavi
Could not find a version that satisfies the requirement myavi (from versions: )
No matching distribution found for myavi
from singularityhub.github.io.
okey doke - the new version (with old_version=True) to not use the memory tar is uploaded to pypi! If you wouldn't mind, could you commit again to trigger a build? If it's the case that the builder updates with pip, then it should build (or at least not hit that same bug). If it's the case that I need to update the builder itself, then you'll have to give me a bit more time to do that :) Thanks for your help with this!
from singularityhub.github.io.
Oops, sorry forgot to mention that I made another branch chainer_v2.0
without myavi
. I triggered both now.
from singularityhub.github.io.
All good here. The container builds!
from singularityhub.github.io.
Woohoo! So good to hear!! Feel free to close the issue, and please poke again if trouble arises.
from singularityhub.github.io.
Thanks again for all your help!
from singularityhub.github.io.
Related Issues (20)
- Hanging on running for a build HOT 2
- Does singularityhub collection work with Gitlab? HOT 5
- Simple Error FATAL - Failed to get manifest HOT 1
- push
- run HOT 2
- no such file or directory HOT 2
- Cannot access collection settings page HOT 3
- Option to upload an existing .simg rather than rely on triggered builds? HOT 2
- Trying to debug a build HOT 6
- Error when pulling container HOT 2
- Cannot exec container from shub 403 Forbidden HOT 1
- Building is disabled HOT 4
- Get error that building is disabled HOT 3
- Trigger build gives "Building is disabled" HOT 4
- "Building is Disabled" even though it is enabled in Settings HOT 1
- Beep Boop, Error! on clicking settings HOT 2
- Clicking 'Trigger Build' displays message "Building is disabled" HOT 1
- Is singularityhub down HOT 3
- Data Removal Request HOT 2
- github webhook isnt working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from singularityhub.github.io.