Git Product home page Git Product logo

Comments (10)

pavel-kirienko avatar pavel-kirienko commented on July 21, 2024

You need to obtain one from a certifying agency, like this (not an ad, first result from Google): https://www.digicert.com/code-signing

from gui_tool.

rubengr avatar rubengr commented on July 21, 2024

Ok, so i need certificate to make the executable? Other question is, why i can't see the icons in GUI TOOL?
Thanks

from gui_tool.

pavel-kirienko avatar pavel-kirienko commented on July 21, 2024

Ok, so i need certificate to make the executable?

Sorry, I should have clarified that the certificate is only necessary if you want to produce a signed executable. Non-signed binaries work equally well, but if you tried to distribute them to other users, they'd get a nasty warning saying that the binary comes from an unidentified source and can't be trusted. Depending on your use case, this may be a non-issue, in which case just comment out the part of the build script that signs the binary.

Other question is, why i can't see the icons in GUI TOOL?

Maybe the fontawesome package is not installed right or is of a wrong version.

from gui_tool.

rubengr avatar rubengr commented on July 21, 2024

Thanks Pavel. After trying to create the .exe i need to define tcl and tk location manually (os.environ['TCL_LIBRARY'] = r'C:\Users...'). After this, i get this error:

copying C:\gui_tool\gui\DLLs\sqlite3.dll -> build\exe.win-amd64-3.7\sqlite3.dll
error: [Errno 2] No such file or directory: 'C:\gui_tool\gui\DLLs\sqlite3.dll'

Maybe the fontawesome package is not installed right or is of a wrong version.

I installed fontawesome and don't works..

from gui_tool.

pavel-kirienko avatar pavel-kirienko commented on July 21, 2024

copying C:\gui_tool\gui\DLLs\sqlite3.dll -> build\exe.win-amd64-3.7\sqlite3.dll
error: [Errno 2] No such file or directory: 'C:\gui_tool\gui\DLLs\sqlite3.dll'

Where did the first path (C:\gui_tool\gui\DLLs\sqlite3.dll) come from? Can you post the entire build log here please?

from gui_tool.

rubengr avatar rubengr commented on July 21, 2024

first path is my directory project/environment

C:\gui_tool> python setup.py bdist_msi

from gui_tool.

rubengr avatar rubengr commented on July 21, 2024

log.txt

from gui_tool.

pavel-kirienko avatar pavel-kirienko commented on July 21, 2024

This is insane. So I found this:

Line 2479:

copying C:\ProgramData\Anaconda3\Library\bin\sqlite3.dll -> build\exe.win-amd64-3.7\lib\sqlite3.dll

Line 8514:

copying C:\gui_tool\gui\DLLs\sqlite3.dll -> build\exe.win-amd64-3.7\sqlite3.dll

The path C:\gui_tool\gui\DLLs does not seem to appear anywhere else and I have no idea what component is trying to copy it. I'm afraid you will have to investigate that yourself. You've probably figured out by now that distributing Python Windows applications is a lot of fun. If you can't find a proper solution, just copy the DLL from build\exe.win-amd64-3.7\lib\sqlite3.dll to C:\gui_tool\gui\DLLs\sqlite3.dll manually.

from gui_tool.

rubengr avatar rubengr commented on July 21, 2024

After copy DLL and build again i'm able to install .msi file but .exe doesn't work. uavcan is install but gives this error:
image

from gui_tool.

pavel-kirienko avatar pavel-kirienko commented on July 21, 2024

What arch you're on -- x86 or amd64? If it's the former, the DLL is not working because it's built for amd64 (judging from the earlier logs). Otherwise, I can't help much; consider asking on StackOverflow. Sorry.

from gui_tool.

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.