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

[Fix Model Settings] Not Opening (Blender 3.1.0) ~and fix~ #424

Closed
F0xxify1 opened this issue Apr 11, 2022 · 8 comments
Closed

[Fix Model Settings] Not Opening (Blender 3.1.0) ~and fix~ #424

F0xxify1 opened this issue Apr 11, 2022 · 8 comments

Comments

@F0xxify1
Copy link

Problem:
This is the error I get with version 0.19.0 when trying to click on the Fix Model Settings in Blender 3.1.0

location: <unknown location>:-1
Error: Python: Traceback (most recent call last):
  File "C:\Users\Foxxify\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cats-blender-plugin-0-19-0\ui\armature.py", line 205, in invoke
    return context.window_manager.invoke_props_dialog(self, width=dpi_value * 3.25)
TypeError: WindowManager.invoke_props_dialog(): error with keyword argument "width" -  Function.width expected an int type, not float

Fix:
Fixed by changing dpi_value * 3.25 to int(dpi_value * 3.25)

@shik617
Copy link

shik617 commented Apr 11, 2022

Hi Foxxify, where can I change the "dpi_value * 3.25" ?

@MyLostBear
Copy link

Hi Foxxify, where can I change the "dpi_value * 3.25" ?

File "C:\Users\Foxxify\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cats-blender-plugin-0-19-0\ui\armature.py", line 205

@989onan
Copy link
Contributor

989onan commented Apr 12, 2022

Duplicate of #379

@evo234
Copy link

evo234 commented Apr 12, 2022

Hi Foxxify, where can I change the "dpi_value * 3.25" ?

File "C:\Users\Foxxify\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cats-blender-plugin-0-19-0\ui\armature.py", line 205

what app do i get to change it??

@feilen
Copy link
Collaborator

feilen commented Apr 12, 2022

Duplicate of #379

^

@feilen feilen closed this as completed Apr 12, 2022
@F0xxify1
Copy link
Author

F0xxify1 commented Apr 12, 2022

@evo234
Make sure Blender is closed. Go to "C:\Users<user>\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\cats-blender-plugin-0-19-0\ui\armature.py" or wherever your Blender appdata is stored (this is the default location). Open the "armature.py" file with a text editor. Then you can do "CTRL+F" on Windows to find where in the document dpi_value * 3.25 is. Then just swap it out. When you start up Blender, the issue should be resolved.

@Maul009
Copy link

Maul009 commented Sep 18, 2024

(self, width=dpi_value * 3.25) to (self, width=int(dpi_value * 3.25) like that?, i change like that but i get anoter error with syntax

@KazRietveld
Copy link

(self, width=dpi_value * 3.25) to (self, width=int(dpi_value * 3.25) like that?, i change like that but i get anoter error with syntax

(self, width=int(dpi_value * 3.25))

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

8 participants