Coder Social home page Coder Social logo

Comments (15)

grahamgilbert avatar grahamgilbert commented on June 30, 2024

Pull the latest code, this should solve it.

from imagr.

erikng avatar erikng commented on June 30, 2024

First test worked but trying it additionally caused Imagr not to remount the volume. Odd.

Sent from my iPhone

On May 13, 2015, at 8:29 AM, Graham Gilbert [email protected] wrote:

Pull the latest code, this should solve it.


Reply to this email directly or view it on GitHub.

from imagr.

grahamgilbert avatar grahamgilbert commented on June 30, 2024

Ok, this is my last try. I can't think of any other way to solve this. Every volume that's known is checked and mounted if needed.

from imagr.

erikng avatar erikng commented on June 30, 2024

Latest commit now behaves similar to your commit from a few hours ago.
:/

from imagr.

grahamgilbert avatar grahamgilbert commented on June 30, 2024

Definitely fixed, actually tested it this time rather than guessing.

from imagr.

erikng avatar erikng commented on June 30, 2024

May I ask how you are testing this? I pulled the latest version and it fails to pull the image, then still gives the warning without remounting the volume.

from imagr.

grahamgilbert avatar grahamgilbert commented on June 30, 2024

Make nbi BUILD=Testing

Run an image workflow that has a url that will 404, run said workflow. Open disk utility and confirm that volume is mounted.

from imagr.

erikng avatar erikng commented on June 30, 2024

I'm going to make a new nbi instead of make update to just to be sure.

from imagr.

erikng avatar erikng commented on June 30, 2024

Perhaps someone else can validate this. It's still not working for me.

My test workflow is only an AutoDMG.

from imagr.

clburlison avatar clburlison commented on June 30, 2024

@erikng The issue you are describing is resolved on my side using the latest commit.

https://www.dropbox.com/s/rffzx1yz3711h5u/imagr_image_error.mov?dl=0

from imagr.

erikng avatar erikng commented on June 30, 2024

Talking in IRC, my particular volume is CoreStorage. The last Imagr deployment I ran had a workflow script to convert it to CoreStorage.

Perhaps this is the difference.

from imagr.

vmiller avatar vmiller commented on June 30, 2024

@erikng That seems to be it! Dropped into Terminal in my test VM and converted the volume to Core Storage and now I see "No writable volumes found" after reloading workflows.

from imagr.

grahamgilbert avatar grahamgilbert commented on June 30, 2024

This looks like an issue with diskutil itself. If someone can help find the correct command, this will easily be fixed. On a R/W disk image that has been converted to CoreStorage:

$ diskutil mountDisk disk3
> Volume(s) mounted successfully

Which is a lie!

from imagr.

grahamgilbert avatar grahamgilbert commented on June 30, 2024

Who just pushed a fix for this? That's right, I did! Long story short, diskutil was always identifying it as a whole disk, regardless of whether it is or not (which it's not). We're only ever dealing with volumes at the moment and not whole disks, so I took out the check that determines whether we need diskutil mount or diskutil mountDisk.

Test and confirm fixed for you guys.

from imagr.

erikng avatar erikng commented on June 30, 2024

Working. PR now up as well.

from imagr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.