Skip to content
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

JPEGmini not installed #26

Closed
fmal opened this issue Jun 19, 2013 · 15 comments
Closed

JPEGmini not installed #26

fmal opened this issue Jun 19, 2013 · 15 comments

Comments

@fmal
Copy link

fmal commented Jun 19, 2013

I'm getting this error: "JPEGmini.app is not installed (https://itunes.apple.com/us/app/jpegmini/id498944723)" although i have the app installed in my Applications folder. It's not installed through App Store, though, maybe that's the issue?

@JamieMason
Copy link
Owner

Do you have "JPEGmini Lite" installed rather than the full version possibly?

Let's see, could you run ls /Applications | egrep '^(I|J|K)' in your Terminal and show me the output?

@fmal
Copy link
Author

fmal commented Jun 19, 2013

Sure, here's the output:

Image Capture.app
ImageAlpha.app
ImageOptim.app
JPEGmini.app
Kext Drop.app

Yes, I have the full version installed.

@JamieMason
Copy link
Owner

If you run osascript -e 'id of app "ImageOptim"' you should get net.pornel.ImageOptim for example.

What do you get if you run osascript -e 'id of app "JPEGmini"'?

@fmal
Copy link
Author

fmal commented Jun 19, 2013

Output after running osascript -e 'id of app "JPEGmini"':

com.icvt.JPEGmini-retail

@JamieMason
Copy link
Owner

Ahh, ok leave it with me. not seen a -retail on there before. thanks!

@fmal
Copy link
Author

fmal commented Jun 19, 2013

No problem, thanks in advance for fixing that.

@JamieMason
Copy link
Owner

fixed in 1.4.5

JamieMason added a commit that referenced this issue Jun 19, 2013
* develop:
  README
  1.4.5
  add error messages to env config
  fixes #26, also check for non app store variant of JPEGmini bundle id

Conflicts:
	bin/imageOptim
	environment/base.json
	src/shell/methods.sh
JamieMason added a commit that referenced this issue Jun 19, 2013
@jamesstout
Copy link
Contributor

Are you going to support JPEGmini Lite.app?

@JamieMason
Copy link
Owner

I don't know if it's worth it, you can only optimise up to 20 photos per day with it (https://itunes.apple.com/us/app/jpegmini-lite/id525742250?mt=12)

@fmal
Copy link
Author

fmal commented Jul 15, 2013

In the latest version it fails to detect jpegMini again. I'm getting
/usr/local/share/npm/bin/imageOptimAppleScriptLib:4040:4073: execution error: Can’t get item 2 of {"has_app_installed"}. (-1728) /usr/local/share/npm/bin/imageOptim: line 324: [: JPEGmini.app: unary operator expected ✘ JPEGmini.app is not installed (https://itunes.apple.com/us/app/jpegmini/id498944723)
JPEGMini bundle id hasn't changed, so i'm not sure where's the issue. Could you look into that?
Thanks

@JamieMason JamieMason reopened this Jul 16, 2013
@JamieMason
Copy link
Owner

thanks @fmal, looking now

@JamieMason
Copy link
Owner

Fixed in 1.6.14, sorry about that.

JamieMason added a commit that referenced this issue Jul 30, 2013
…evelop

* 'develop' of github.com:JamieMason/ImageOptim-CLI:
  1.6.14
  fixes #26 regression
  Now the project uses lossy tools as well as just ImageOptim, update wording
  Update README.md
@jamesstout
Copy link
Contributor

Another spanner in the works, from the JPEGMini FAQs:

I downloaded the Lite version of the app from the Mac App Store, and then purchased the Full version through an in-app purchase, but the software is still called “Lite”, and the Full version does not appear as purchased in the Mac App Store. Why does this happen?
The app name cannot be changed following an in-app purchase, so the name remains Lite even though the functionality is full. In this case, the full version does not appear as purchased in the Mac App Store since technically it is a different product, although functionality is exactly the same as the upgraded Lite version.

$ osascript -e 'id of app "JPEGmini Lite"'
com.icvt.JPEGminiLite

We'll need extra logic to handle this...

@JamieMason
Copy link
Owner

I had the same issue. I installed JPEGmini lite from the app store then did an in-app upgrade if I remember right.

After I saw that it was still -lite I went to JPEGmini (full) in the app store and bought that. In iTunes it showed two payments but seemed smart enough and only charged me once.

That said, I wouldn't feel confident enough to give that out as official advice. I added the strict check without much thought so we should be able to just check for either and allow it to continue - but yeah I'd be interested to see what the app itself does.

@choudhry
Copy link

choudhry commented Jul 1, 2014

I'm getting the same error "JPEGmini is not installed (https://itunes.apple.com/us/app/jpegmini/id498944723)"

I bought the app on their website so I don't now if that's why I'm getting the error.

When running osascript -e 'id of app "JPEGmini"'

The response is:
com.icvt.JPEGmini-Pro-retail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants