Coder Social home page Coder Social logo

Comments (6)

mherrmann avatar mherrmann commented on June 12, 2024 1

I fixed these issues now in releases 1.2.0 and 1.2.1. If your purchase was within the last 12 months and you let me know the email you purchased with, then I'll give you access to the new version.

from fbs.

mherrmann avatar mherrmann commented on June 12, 2024

Yes, in that case you need to install Pro inside the Linux VM. So in your case, you need to somehow get fbs_pro.tar.gz into the Linux VM so it gets used by base.txt. You'd need to remove the fbs line there and only keep the .tar.gz line. fbs Pro should have a ready solution for this, at least in the manual. But I'm afraid I can't offer to add this for the Hobbyist license you purchased, which comes without support.

from fbs.

apastel avatar apastel commented on June 12, 2024

If this is the manual, there doesn't seem to be a documented solution for this: https://build-system.fman.io/manual/

Just wondering how other Pro users are doing this (without having to hack the Dockerfiles inside fbs_pro.tar.gz). How is it designed to work out of the box?

from fbs.

meramsey avatar meramsey commented on June 12, 2024

put file in private url and then reference that in your requirements.txt

fbs @ https://somedomain/somesecretpath/fbs_pro-1.1.8.tar.gz

or you would need to volume mount the tarball inside and do a local install

from fbs.

apastel avatar apastel commented on June 12, 2024

Thanks @meramsey, both options work. I went with the latter by modifying the _defaults/src/build/docker/ubuntu/Dockerfile inside the fbs pro tarball to add this line:

COPY ./fbs_pro-1.1.3-apastel.tar.gz /root/${app_name}/

with that tarball residing locally in my requirements folder, and the requirements.txt file listing it as ./fbs_pro-1.1.3-apastel.tar.gz.
I went with that approach because I ended up having to modify that Dockerfile already anyway to fix a different bug. Had to change

ARG python_version=3.6.12

to

ARG python_version=3.7.0

because Python 3.6 is not compatible with a line in fbs/freeze/__init__.py:48 that uses the capture_output=True keyword argument in the line

cp = run(args, capture_output=True, text=True)

Now I'm able to build the VM, create the release, and install and run the app without any errors that are specific to fbs. (Just errors pertaining to Qt that could be separate.) It's still a little puzzling though that hacking open the tarball or hosting it on the internet somewhere is some undocumented required solution to get the Linux build working, especially considering this is not free software (did everyone have to do this same hack?). But I was able to successfully release a separate Windows application just fine at least, so it was still worth it for the Windows portion.

from fbs.

apastel avatar apastel commented on June 12, 2024

Fantastic, much appreciated. I forwarded my purchase receipt from August '22 to your email address.

from fbs.

Related Issues (20)

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.