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

Add logging and error catching tool #498

Open
paulojamorim opened this issue Jan 23, 2023 · 10 comments
Open

Add logging and error catching tool #498

paulojamorim opened this issue Jan 23, 2023 · 10 comments

Comments

@paulojamorim
Copy link
Collaborator

Tool that allows the user to activate the capture of logs and errors. It should be possible to save the sequence of events in a text file.

References:

https://docs.python.org/3/library/logging.html
https://realpython.com/python-logging/"

@jsxs0
Copy link
Contributor

jsxs0 commented Feb 22, 2023

Hi, @paulojamorim, and @tfmoraes! I have experience in software development and debugging, and having gone through the details of the issue, I'd like to contribute to fixing this issue. Please let me know how I can contribute to solving this issue (GSoC 2023).

@Reddragonemperor58
Copy link

Greetings, @paulojamorim. I possess proficient Python skills and I am eager to participate as a GSoC 2023 contributor in this project. Kindly advise me on the initial steps to take in order to start making contributions.

@paulojamorim
Copy link
Collaborator Author

Hi @Reddragonemperor58 ,

Thanks for your interest.

For you to participate, must be follow steps 1 to 5 of this link: https://github.com/invesalius/gsoc/blob/main/gsoc_application.md

Please read all the steps carefully.

Best regards,
Paulo Amorim

@Reddragonemperor58
Copy link

Thanks!! @paulojamorim

@Reddragonemperor58
Copy link

Reddragonemperor58 commented Mar 7, 2023

hi @paulojamorim I have successfully downloaded invesalius from the source code but when I am running it I am getting an error even though it starts showing the icon
image
image

could you tell me where I am going wrong?

@Reddragonemperor58
Copy link

And also when i try to run this command "python setup.py build_ext --inplace" , I am getting an error like this
image

@tfmoraes
Copy link
Member

tfmoraes commented Mar 7, 2023

Your system is 64 bits? You are trying to compile using a 32 bit compiler.

@Reddragonemperor58
Copy link

Yes, my system is 64 bits, I am sorry but could you please tell me what you mean by using a 32-bit compiler? cause I am running it in PowerShell of Visual Studio. Is that a 32-bit compiler?

@tfmoraes
Copy link
Member

tfmoraes commented Mar 8, 2023

It seems to be a 32-bit compiler. See that HostX86/x86 in the paths in command line output. I tested here and I saw that you don't need to use the powershell from visual studio, You can use the normal one. Maybe you need to install some visual studio component. I installed Visual Studio using these two commands:

 choco install -y visualstudio2019buildtools
 choco install -y visualstudio2019-workload-vctools

It uses chocolatey, it's like an apt-get to Windows. You can replace 2019 to 2022 too, it works:

 choco install -y visualstudio2022buildtools
 choco install -y visualstudio2022-workload-vctools

@tfmoraes
Copy link
Member

tfmoraes commented Mar 9, 2023

I compiled invesalius_cy to windows to python 3.8, 3.9, 3.10 and 3.11. I uploaded it here https://github.com/invesalius/invesalius3/releases/download/v3.1.99998/invesalius_cy.zip. I used github-ci to compile it. Just download it and copy the pyd to invesalius_cy inside InVesalius folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants