Copyright (c) 2024
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Compatibility
-
2012
Bugs (2 reported) Help make this item even better. Your bug reports are appreciated!
Date | Priority | Title | Status |
---|---|---|---|
12/11/2011 | low | I can't get it working! - Please help | Pending |
09/11/2011 | high | Spaces are not supported in the names of picker buttons. | Pending |
Bugs
I can't get it working! - Please help
Status | pending |
---|---|
Priority | low |
Date | 12/11/2011 |
Submitted by | tristratos |
I have downloaded your script from creativecrash lately and tried to install it and test it out.
Unfortunately, even if I followed the exact steps you describe in readme.txt file, I still get the following error, each time I try to create using the right mouse click, either a box selector, or an ellipse selector.
# Traceback (most recent call last):
# File "<maya console>", line 324, in itemChange
# AttributeError: type object 'QGraphicsItem' has no attribute 'ItemScaleHasChanged'
# Traceback (most recent call last):
# File "<maya console>", line 674, in contextMenuEvent
# File "<maya console>", line 748, in makeSelectorWidget
# File "<maya console>", line 188, in __init__
# AttributeError: type object 'QGraphicsItem' has no attribute 'ItemSendsGeometryChanges'
I have to add that I am using Maya 2012 SAP and that I have installed as mentioned the PyQT 64 bit version in C:\Program Files\Autodesk\Maya2012\Python as described.
In fact after executing in maya "import PyQt4" I get no error assuming that everything installed as mentioned.
Please help!
What am I doing wrong?
Is there a known bug or something that needs to be done before using your script? Please specify
Comments on this bug:
-
eevans said almost 13 years ago:
I haven't tested the tool with Maya 2012 SAP. The tool was developed using Maya 2012 "vanilla". The error makes me think that something may have gone awry with the PyQt installation. Unfortunately, a generic version of PyQt4 won't do. Maya will only work properly with a version of PyQt compiled with the same version of Python that Maya uses. Here's a brief snippet of code to test your PyQt installation: From PyQt4 import QtGui, QtCore btn = QtGui.QPushButton(QtGui.__file__) btn.show() If this code produces a button without errors, your PyQt install is probably sound. -
tristratos said almost 13 years ago:
Dear Eric, when executing the script you mention all I get is the following: From PyQt4 import QtGui, QtCore btn = QtGui.QPushButton(QtGui.__file__) btn.show() # Error: SyntaxError: invalid syntax # Please help! What version of PyQT should I Install!?!? All I did is follow your instructions in the text file included and installed https://ericnevans.com/downloads/PyQt-Py2.6-x64-gpl-4.8.3-1.exe Should I download and install another version instead ?? Please specify Best Regards! -
tristratos said almost 13 years ago:
Dear Eric, I reinstalled the pyQT for maya 2012 64 bit from here https://dl.dropbox.com/u/1633130/PyQt%20x64/Maya%202012/PyQt-Py2.6-x64-gpl-4.8.3-1.exe as mentioned in this blogpost https://nathanhorne.com/?p=451. I have even tested the code that this user indicates to test wether pyQt is properly working import sip sip.setapi('QString', 2) sip.setapi('QVariant', 2) from PyQt4 import QtGui, QtCore btn = QtGui.QPushButton(QtGui.__file__) btn.show() and it did really opened a window with a button showcasing the QtGui.pyd path to C:\Users\Tristratos\Documents\maya\2012-x64\prefs\sripts\PyQt\QtGui.pyd so I can verify that this is really properly installed. So after executing your script now all I get is an empty window and when I execute the following 3 commands from right menu all I get is the following errors Create Box Selector -------------------- # Traceback (most recent call last): # File "", line 324, in itemChange # AttributeError: type object 'QGraphicsItem' has no attribute 'ItemScaleHasChanged' # Traceback (most recent call last): # File "", line 674, in contextMenuEvent # File "", line 748, in makeSelectorWidget # File "", line 188, in __init__ # AttributeError: type object 'QGraphicsItem' has no attribute 'ItemSendsGeometryChanges' Create Ellipse Selector -------------------- # Traceback (most recent call last): # File "", line 324, in itemChange # AttributeError: type object 'QGraphicsItem' has no attribute 'ItemScaleHasChanged' # Traceback (most recent call last): # File "", line 676, in contextMenuEvent # File "", line 748, in makeSelectorWidget # File "", line 188, in __init__ # AttributeError: type object 'QGraphicsItem' has no attribute 'ItemSendsGeometryChanges' Create Set BG Image -------------------- # Traceback (most recent call last): # File "", line 678, in contextMenuEvent # File "", line 608, in setBGImage # TypeError: argument 5 of QFileDialog.getOpenFileName() has an invalid type Is there something that I am doing wrong or this absolutely invaluable script has a serious bug that prevents it from working properly ? PLEASE HELP -
tristratos said almost 13 years ago:
Dear Eric Any idea how to get your script working ? Best Regards Tri
Post a comment:
Report a bug
Related Items:
-
abxPicker (2011+) for Maya 2.5.2 (maya script)
$20.00 (USD) -
Smart select 1.0.0 for Maya (maya script)
$20.00 (USD) -
FULL - 130 scripts for Modeling,UV + video tutorials for each 1.1.0 for Maya (maya script)
$40.00 (USD) -
"Rapid Rig: Poser" for Maya for Maya 2.0.9 (maya script)
$20.00 (USD) -
Zombie Hands and FPS Model Pack 3D Model
$9.00 (USD) -
Python Batch for Maya 2.0.0 (maya script)
$20.00 (USD)