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

Calibre 3.39.1 portable fails to install (error about less than 59 characters) #1765

Closed
PhoenixRe32 opened this issue Feb 23, 2019 · 12 comments

Comments

@PhoenixRe32
Copy link

When trying to install calibre (portable, version 3.39.1 I get an error saying
image

Not sure if it's some kind of limit with the portable version.
Calibre-normal seems to be fine

@r15ch13
Copy link
Member

r15ch13 commented Feb 24, 2019

Unfortunately, this is a problem with calibre.
https://github.com/kovidgoyal/calibre/blob/c81ffa6d1a7b6740203b5a99b807a65b86ea6040/src/calibre/gui2/main.py#L90-L94

You can install calibre-normal which will work but save its data in %AppData%

@PhoenixRe32
Copy link
Author

PhoenixRe32 commented Feb 24, 2019 via email

@rasa
Copy link
Member

rasa commented Feb 25, 2019

Wouldn’t adding Calibre Portable to the extract_dir here fix this?

@hsiktas
Copy link
Contributor

hsiktas commented Mar 9, 2019

This is still happening to me when I try to install calibre-portable-installer-3.40.1.exe. I guess this is not fixed.

@Ash258
Copy link
Contributor

Ash258 commented Mar 9, 2019

There is nothing Scoop manifest could do about it. This is limitation of Calibre itself. Write to developers to change it.

@hsiktas
Copy link
Contributor

hsiktas commented Mar 9, 2019

Hi,
I followed @r15ch13's advice and switched over to calibre-normal. The issue is gone now. 😀

@juanjosegarciaripoll
Copy link

Why is this closed? This is a problem. The solution would be either to leave it open, or to remove the recipe altogether.

@7wells
Copy link

7wells commented Aug 29, 2020

Hi, I (still) have the same problem. Maybe removing the portable version of Calibre from this bucket is better than letting users run into this problem and repeating the same comments (like me, blush). Or does it work for somebody?

See there:
#2535

@nuno-andre
Copy link
Contributor

Just replace the installer.args in the manifest with

"installer": {
    "script": [
        "start \"$dir\\calibre-portable-installer-$version.exe\" @(\"$dir\") -wait",
        "mv \"$dir\\Calibre Portable\\**\" \"$dir\"",
        "rm \"$dir\\Calibre Portable\""
    ]
},

and remove all the Calibre Portable\\ strings, e.g.

"Calibre Portable\\Calibre\\calibre-customize.exe""Calibre\\calibre-customize.exe"

And that's all as long as installed in the default folder (since the username shouldn't be as long as the 22 characters that are now left over). Otherwise, YMMV.

@harvastum
Copy link

@nuno-andre
Isn't the manifest going to be overwritten the next time Scoop updates, causing the problem to return on Calibre update? I think that the manifest should be fixed in the bucket.

@rashil2000
Copy link
Member

Can you make a PR for the fix?

@agatakotecka

This comment was marked as abuse.

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