Integration Omnis with Bitbucket

Alex Clay aclay at mac.com
Tue Jan 30 09:56:34 EST 2018


Hi An,

I would start with comparing the library file you upload with the one you download from Bitbucket. Omnis needs read and write access to the file, so check its file permissions and the read-only flag.

Past that, I wonder if Bitbucket is corrupting the binary data somehow. You could use a hex editor to compare the first few bytes of each file. An Omnis Studio 8.1 library should begin with 35 01 01 00. You can also check a hash of the library file to see if the upload and download process changed them. On macOS run this command to get the SHA1 of a file:

shasum [path to lbs]

You might also try zipping the Omnis library and seeing if you can upload it, download it, decompress the zip and then access the library. Again, there may be an issue with Bitbucket working with the larger binary Omnis library files. If Bitbucket is causing problems, see if your Bitbucket admin can enable Git LFS (large file support). This might do a better job dealing with lbs files.

We store larger (60 MB+) Omnis library files in Subversion over https without issue. But the only libraries I've stored in git so far are our open-source libraries on GitHub, and they're tiny.

Alex

> On Jan 30, 2018, at 06:01, An <an.bayens at justsoftware.be> wrote:
> 
> Hi all,
> 
> I've been working with Omnis and the export to JSON for the last weeks. 
> I've added the JSON files to BITBUCKET and that works fine. I can do a rebuild from JSON and Import from JSON.
> 
> Now I also added all mijn libraries to BITBUCKET and that gives problems. It all works fine when I work on my mac but when I pull the libraries from any other computer (mac or windows) I cannot open the libraries in Omnis. I get the error Omnis cannot read the library?
> 
> I've now tried this on my mac where I have Omnis 8.1.3 installed and my windows pc where I also Omnis 8.1.3 64bit have installed. Even on my mac (from where I pushed the first library) when I do a new pull from BITBUCKET I cannot open the library anymore?
> 
> When I just copy the library from my mac to the windows I can open the library without any problems.
> 
> Any of you have any experience with this?
> 
> Met vriendelijke groeten,
> An Bayens
> Product Manager
> 
> Stationsstraat 266, B-1700 Dilbeek
> T. +32 2 567 21 71
> Helpdesk: +32 2 568 14 54
> 
> an.bayens at optimizegroup.be <mailto:an.bayens at optmizegroup.be>
> www.justsoftware.be <http://www.justsoftware.be/> | www.optimizegroup.be <http://www.optimizegroup.be/>
> 
> 
> <http://www.justsoftware.be/>
>  
> <http://www.justsoftware.be/> <http://www.justsoftware.be/nieuws/531-kmo-portefeuille> <https://www.facebook.com/optimizegroupBE> <https://www.linkedin.com/company/optimize-group> <https://www.linkedin.com/company/optimize-group> <https://twitter.com/groupoptimize> <https://plus.google.com/114613785888034261968> Follow us on your favorite social media sites! <https://plus.google.com/114613785888034261968>
> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 




More information about the omnisdev-en mailing list