#179 Bad package for Keepass 2.20.1 on Mac OS

KeePass_2.x
closed
nobody
None
5
2015-08-08
2012-12-26
Ralph van Cauter
No

Downloaded the Keepass2.20.1 for iMac from http://keepass2.openix.be/
The package contents contains a zero byte large application

1 Attachments

Discussion

1 2 > >> (Page 1 of 2)
  • Paul
    Paul
    2012-12-26

    Works for me - 3.3MB.

    cheers, Paul

    p.s. we don't support that package, it's a 3rd party provider.

     
  • Openix
    Openix
    2012-12-26

    Hello Ralph,

    I suppose something went wrong when you downloaded the dmg image.

    Does the md5sum listed on the Keepass2.openix.be page, correspond with the md5sum you calculated?

    Did you download directly or over some proxy?

    I just checked and all appears to be ok with the image.

    Which version of OS X are you using?

    Thanks

    Best regards,

    Nico

     
  • Glenn Eaves
    Glenn Eaves
    2012-12-26

    Hi Nico,

    I'm having the same issue as Ralph. The md5sum of the downloaded dmg matches the one on the Keepass2.openix.be page. I downloaded directly and am running OSX 10.8.2.

    The application that gets installed in the application folder when it is dragged accross has a size of 0 although the dmg file is 3,468,302 bytes.

    Thanks,

    Glenn

     
  • Openix
    Openix
    2012-12-26

    Strange, I once again downloaded and all fine (but on 10.7.5 here)

    Can you try the following?

    Open Terminal and enter:

    cd /Volumes/KeePass2.20.1/ 
    cp -Rv KeePass2.20.1.app/ /Applications/
    

    And let me know what output it produces?

     
  • Glenn Eaves
    Glenn Eaves
    2012-12-26

    here's the output

    cp: KeePass2.20.1.app/: unable to copy extended attributes to /Applications: Permission denied
    KeePass2.20.1.app/ -> /Applications
    cp: KeePass2.20.1.app/: Permission denied

     
  • Openix
    Openix
    2012-12-26

    can you try the following in terminal:

    cd /Volumes/KeePass2.20.1/
    ls -l 
    

    and paste the output here?

    No idea why this happens, but there seems to be something wrong with permissions/ownership.

    Thx

    Nico

    Nico

     
  • Glenn Eaves
    Glenn Eaves
    2012-12-27

    Here's the output as requested

    total 1224
    -rw-r--r--@ 1 504 staff 301208 4 Jul 16:27 Applications
    d---r-xr-x@ 3 504 staff 102 2 Dec 11:04 KeePass2.20.1.app
    -rw-r--r--@ 1 504 staff 18222 13 Feb 2012 keepass2bg-blank-witharrow.png

    although I'm seeing different behaviour. I've been playing with permissions and when I try to drag for the install it now tells me I don't have permission whereas before it would ask for my password before creating the zero byte app entry.

     
  • zaza
    zaza
    2012-12-27

    Same problem here. Managed to change permissions after copying the file, I now have KeePass2.20.1.app in Applications, size 4.6 Mb. Nothing happens though when running it. I have OSX 10.8.

    thx in advance

    Ps. I am a complete newbee in OSX

     
    Last edit: zaza 2012-12-27
  • Openix
    Openix
    2012-12-28

    I finally figured out what the problem is, it's the Gatekeeper (new thing) that is preventing the KeePass app to run because of the fact that it is not signed with an Apple developer ID (which = 99$ a year)

    http://support.apple.com/kb/HT5290?viewlocale=en_US&locale=en_US
    http://stackoverflow.com/questions/11711392/package-a-mac-os-app-for-distribution-and-getting-past-gatekeeper

    Related:

    https://discussions.apple.com/thread/4551952?start=0&tstart=0

    Possible fix:

    http://mactips.dwhoard.com/mactips/system/remove-quarantine

    @Zaza, you did install mono before trying to run the KeePass?

    Can one of you try the above solutions and report back here, I'll update the KeePass download page with instructions for 10.8 users (or buy an Apple developer id - then again, I hate being forced into buying a developer ID, for open source software)

    Thx

    Nico

     
    • Hi Nico, Thanks for following up on this issue. I am running OS X 10.7.5. and if I reading the article correctly the GateKeeper is introduced in 10.8

      Having issues:
      - Glen on 10.8.2
      - zaza on 10.8
      - Me (Ralph) on 10.7.5

      No issues:
      - Nico on 10.7.5

      So it seems it may not directly be related to the OSX version.

       
    • Hi Nico
      are you sure you can solve the problem when the app is signed with an Apple developer ID?
      If yes - where we can spend our $ for this?

      Regards, Hans-Jörg

       
  • zaza
    zaza
    2012-12-28

    Hello Nico,

    I tried the fix from mactips, the quarantine check is indeed turned off but the file still has zero size and I can no long fix it after copying it to Applications and fiddling with the permissions, like before.

    As for mono, I did install the package that came with the KeePass file from http://keepass2.openix.be/ but I have no idea if it is running in the background or do I have to run it before running the KeePass app and if yes how?

    thx

     
  • Openix
    Openix
    2012-12-28

    Hi Zaza,

    Would you mind if I have a look on your mac with teamviewer?

    http://www.teamviewer.com
    Install the latest version
    Mail me the ID/password (details below)

    I would like to see this resolved.

    You can contact met via nico at openix dot be.

    Thanks

    Best regards,

    Nico

     
  • zaza
    zaza
    2012-12-29

    Ok, but I wish to be "present" so could you please chose a time of your convenience and let me know, I am on CET Europe. I prefer to give you Teamviewer access over Skype or Messages.

    You can also reach me at portu at freemail dot hu.

    thx

     
  • David Peng
    David Peng
    2013-01-04

    Hello, Openix,

    I have the same issue on Mac OS 10.8.2. The syndrome is the same.

    I am in GMT+8. any idea?

    I can be reached at davidpenn at gmail dot com.

    Thanks,

    David

     
  • Glenn Eaves
    Glenn Eaves
    2013-01-04

    I tried clearing all of the caches as directed but no joy.

    It keeps telling me that I don't have permission & to contact my sys admin.

     
    Last edit: Glenn Eaves 2013-01-04
  • Mark Aronszajn
    Mark Aronszajn
    2013-01-06

    Hi, I'm writing with the same problems encountered by Hans-Joerg Buetler here

    https://sourceforge.net/p/keepass/discussion/329221/thread/e2045918/

    and by Elliot Slaughter written up in his KeePass Help forum post from 2012-09-24 here:

    http://sourceforge.net/p/keepass/discussion/329221/thread/08eac497/

    I'm running Mac OS X (10.8.2) on a MacBook Pro. In brief, after encountering the issue noted by Buetler with running the packaged KeePass version from the .dmg file, I tried an approach with just using the portable version of the KeePass .zip file, which led to the problem encountered by Slaughter. That problem was that when attempting to run

    mono KeePass.exe

    an exception was thrown. The stack trace is reproduced in Slaughter's post.

    In response to that post, Dominick Reichl provided a link to a more recent version of the KeePass portable zip file than the one Slaughter was using. And according to the forum responses, that more recent version worked. But the link given in that Help forum no longer works. The link was I get a:

    Error 404: Page not found!

    I'd be happy to try a more recent version of the portable .zip file or another approach with the packaged version in .dmg, but either way, it would be great if someone could summarize the best approach now for getting a version of KeePass running on Mac OS X 10.8.2

    Thanks for any help,

    Mark

     
  • H-phys
    H-phys
    2013-01-06

    I'm on 10.8.2 with the exact same problem.

    I tried "sudo open /Applications/KeePass2.app" after the straightforward installation and I got back the most unhelpful error:

    LSOpenURLsWithRole() failed with error -10810 for the file /Applications/KeePass2.20.1.app.

    That error code is "error unknown". And to echo everyone else's issues, the file is one of those zero-byte apps, a perfectly sensible reason for it to fail with the open command.

    Also, I don't have the developer version of XTools.

     
    Last edit: H-phys 2013-01-06
  • Dominik Reichl
    Dominik Reichl
    2013-01-06

    The development snapshot has been removed, because KeePass 2.20.1 has been released (which includes the workaround). This has nothing to do with the zero size problem though.

    Best regards
    Dominik

     
  • Paul
    Paul
    2013-01-07

    Have you tried the suggestion by Bolshoi in this thread?
    https://sourceforge.net/p/keepass/discussion/329221/thread/e2045918/

    cheers, Paul

     
    • H-phys
      H-phys
      2013-01-07

      Maybe there's something deeper that's being said, but it looks like the recommendation is to "install mono first". The permissions change the icon and file size that gets read, so maybe that's part of the solution.

      The executable is size zero still, but the contents folders have 4.6MB in them.

       
  • Xianthe Xian
    Xianthe Xian
    2013-01-09

    I am having problems with this today also. My OS is Mac OS X 10.8.2 and I have mono installed, I adjusted the permissions of the file at the command line and the app just crashes on opening whether I right click or use open at the command line.

     
  • Can the problem been solved when the app is signed with an Apple developer ID?
    If yes - where we can spend our $ for this? Donate to the project ?

     
  • stemlluk
    stemlluk
    2013-01-13

    I had the same problem. On looking at the permissions for Keepass (right-click -> get info -> Sharing and Permission), it showed entries for admin and the "everyone" group. I created a new entry for my own logon and it works just fine.

    Seems that "everyone" may not really mean everyone (or I'm not in everyone) :)

    ETA - OSX 10.6.8

     
    Last edit: stemlluk 2013-01-13
1 2 > >> (Page 1 of 2)