GithubHelp home page GithubHelp logo

Comments (13)

bfabiszewski avatar bfabiszewski commented on August 25, 2024

It seems they dropped -d option in newer qlmanage versions. Just remove -d 4 from the command.

from qlmobi.

steveparry1 avatar steveparry1 commented on August 25, 2024

Now I get this:

Last login: Fri Feb 2 21:00:24 on ttys000
steveparry@Julay1 ~ % qlmanage -p -o /tmp /path/to/your/test.mobi
Testing Quick Look preview with files:
/path/to/your/test.mobi

  • /path/to/your/test.mobi did not produce any preview
    steveparry@Julay1 ~ %

from qlmobi.

bfabiszewski avatar bfabiszewski commented on August 25, 2024

Do you realize you have to change /path/to/your/test.mobi to a real path to the file you want to test?

from qlmobi.

steveparry1 avatar steveparry1 commented on August 25, 2024

No - I am a complete beginner in using the Terminal or Console. I don't know how I should paste the appropriate text in. I'd be grateful if you could explain how to copy the path to my file in to the text.

from qlmobi.

bfabiszewski avatar bfabiszewski commented on August 25, 2024

Write qlmanage -p -o /tmp and then paste any mobi file into the console. It will be converted to its path. Or even better drag the file into console.

from qlmobi.

steveparry1 avatar steveparry1 commented on August 25, 2024

Thanks. Now I get:
Last login: Fri Feb 2 21:05:29 on ttys000
steveparry@Julay1 ~ % qlmanage -p -o /tmp /Users/steveparry/Downloads/Mark\ Cousins,\ Kevin\ Macdonald\ -\ Imagining\ Reality_\ The\ Faber\ Book\ of\ Documentary\ (2011).mobi
Testing Quick Look preview with files:
/Users/steveparry/Downloads/Mark Cousins, Kevin Macdonald - Imagining Reality_ The Faber Book of Documentary (2011).mobi

  • /Users/steveparry/Downloads/Mark Cousins, Kevin Macdonald - Imagining Reality_ The Faber Book of Documentary (2011).mobi did not produce any preview
    steveparry@Julay1 ~ %

from qlmobi.

bfabiszewski avatar bfabiszewski commented on August 25, 2024

Difficult to say anything from this output. Especially that they removed -d option which gave more debugging info.
May be some problem related to M1. I don't have access to M1 Mac to test.
But it also can be something else. Maybe the plugin is not installed correctly or does not have proper permissions granted. It is tricky to set it up as it is not bundled with any official App Store application.

from qlmobi.

steveparry1 avatar steveparry1 commented on August 25, 2024

Thank you for trying.

from qlmobi.

bfabiszewski avatar bfabiszewski commented on August 25, 2024

Would be helpful to hear from other M1 users who tried or managed to use this plugin.
Technically it should work as I compiled it also for this CPU.

from qlmobi.

aik099 avatar aik099 commented on August 25, 2024

@bfabiszewski,

Initially, I've got this warning with no way to proceed any further:

2024-02-06_16-18-24

After running qlmanage -p -o /tmp <path_to_my_mobi_file> command I got a confirmation dialog (I never saw it again and I forgot to screen capture it), that asked if I was certain, that I wanted to run QlMobi QuickLook generator. Once I've confirmed, then it generated a preview and regular quicklook attempts (when you press a space on a mobi file) also started to work.

@steveparry1 , please:

  1. provide a link for downloading a mobi file in question
  2. does the issue happen on every mobi file you've tried or just a particular one?

from qlmobi.

bfabiszewski avatar bfabiszewski commented on August 25, 2024

@aik099 Thanks for the info!

Newer macos versions are more problematic towards unofficial apps (not signed).
Quicklook plugins are also now meant to be distributed with applications, not standalone.
This creates problems that may be hard to debug.
You probably need to do what I mention in README:
xattr -d -r com.apple.quarantine ~/Library/QuickLook/QLMobi.qlgenerator
This will strip quarantine attribute from the plugin.
It may also be necessary to add gatekeeper exception:
sudo spctl --add ~/Library/QuickLook/QLMobi.qlgenerator

I can confirm the plugin works on Sonoma, but I did not check on Apple Silicon cpus.

from qlmobi.

steveparry1 avatar steveparry1 commented on August 25, 2024

Here is a link to a .mobi file: https://www.dropbox.com/scl/fi/8tb03erso8lbqep3vhc8i/Alice-in-Wonderland.mobi?rlkey=fvd9gnyuevdbwm1409vd09k9k&dl=0 The issue occurs on every .mobi file I try to preview.

from qlmobi.

aik099 avatar aik099 commented on August 25, 2024

Here is a link to a .mobi file: https://www.dropbox.com/scl/fi/8tb03erso8lbqep3vhc8i/Alice-in-Wonderland.mobi?rlkey=fvd9gnyuevdbwm1409vd09k9k&dl=0 The issue occurs on every .mobi file I try to preview.

It worked for me. Big grey rectangle instead of the book's front cover, but if you scroll down it looks perfect:
2024-02-09_14-06-40

from qlmobi.

Related Issues (6)

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.