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

Calculate.py Can't parse 'pt'. Sequence item with index 0 has a wrong type #25

Open
Joonassy opened this issue Oct 21, 2022 · 4 comments
Assignees

Comments

@Joonassy
Copy link

Describe the bug
Calculate.py line 25 generates error: "Can't parse 'pt'. Sequence item with index 0 has a wrong type"

To Reproduce
Steps to reproduce the behavior:
Run main.py with default settings

Solution:
X and Y values are of wrong type and need to be cast as int.

@grebtsew grebtsew self-assigned this Nov 13, 2022
@grebtsew
Copy link
Owner

Hi @Joonassy !

I have been busy lately and apologize for the late reply. I am unable to fully reproduce the error described. I would guess that it could be because you are not using the now slightly outdated versions of libraries that the project was developed with.

I leave this issue open, to solve it in the next update.

Cheers,
@grebtsew

@ShimantaBhuyan
Copy link

Describe the bug Calculate.py line 25 generates error: "Can't parse 'pt'. Sequence item with index 0 has a wrong type"

To Reproduce Steps to reproduce the behavior: Run main.py with default settings

Solution: X and Y values are of wrong type and need to be cast as int.

Hey @Joonassy, can you please let me know where the X and Y values are of wrong type, which you have mentioned as the solution?

@ShimantaBhuyan
Copy link

Describe the bug Calculate.py line 25 generates error: "Can't parse 'pt'. Sequence item with index 0 has a wrong type"
To Reproduce Steps to reproduce the behavior: Run main.py with default settings
Solution: X and Y values are of wrong type and need to be cast as int.

Hey @Joonassy, can you please let me know where the X and Y values are of wrong type, which you have mentioned as the solution?

Got it, it's in \FloorPlan_To_Blender\FloorplanToBlender3d\FloorplanToBlenderLib\calculate.py line 25, thanks for the solution!

@HurtLocker936
Copy link

HurtLocker936 commented Nov 9, 2023

Screenshot 2023-11-09 at 7 11 56 PM
The class of X & Y are (numpy: int) whereas the function needs class type int for parsing. This solved the issue.

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

No branches or pull requests

4 participants