-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bad files being created on OSX after successful build #1285
Comments
Hi @dtlindsey, what version of PySide are you using? Also, do you see any errors in your build log or does this problem only show up when you run usdview? If you could post your build log from ../install/USD/build/USD/build_log.txt that might help us narrow things down. |
Note also that attributeValueEditorUI.py and the entire
attributeValueEditor are vestigial, not consumed by the usdview runtime at
all.
…--spiff
On Fri, Aug 7, 2020 at 9:50 AM Sunya Boonyatera ***@***.***> wrote:
Hi @dtlindsey <https://github.com/dtlindsey>, what version of PySide are
you using? Also, do you see any errors in your build log or does this
problem only show up when you run usdview? If you could post your build log
from ../install/USD/build/USD/build_log.txt that might help us narrow
things down.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1285 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPOU2FEASWUU4CHEH6XITTR7QWDTANCNFSM4PXKL32A>
.
|
This is the error when I try to run usdview in a terminal window (I have the pythonpath and path expanded to what's needed for OSX) |
Filed as internal issue #USD-6274 |
Thanks, @dtlindsey . Line 1101 of your log indicates that attributeValueEditorUI.py is being generated. Does the file /usr/local/USD-20.05/lib/python/pxr/Usdviewq/attributeValueEditorUI.py not exist? If not, I wonder whats going wrong between build and install... |
Additionally, line 7111 indicates that attributeValueEditorUI.py is being installed:
Can you post what version of PySide you're using? Also, if you open the file indicated above there should be a line that says what version of uic was used, that would be good to know as well. |
I am also having the same issue, but on Ubuntu 20.04. Here are the steps I've taken:
Build script output
attributeValueEditorUI.py/********************************************************************************
** Form generated from reading UI file 'attributeValueEditorUI.ui'
**
** Created by: Qt User Interface Compiler version 5.12.8
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef ATTRIBUTEVALUEEDITORUI_H
#define ATTRIBUTEVALUEEDITORUI_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QTextBrowser>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_AttributeValueEditor
{
public:
QVBoxLayout *verticalLayout;
QStackedWidget *stackedWidget;
QTextBrowser *valueViewer;
void setupUi(QWidget *AttributeValueEditor)
{
if (AttributeValueEditor->objectName().isEmpty())
AttributeValueEditor->setObjectName(QString::fromUtf8("AttributeValueEditor"));
AttributeValueEditor->resize(400, 300);
verticalLayout = new QVBoxLayout(AttributeValueEditor);
verticalLayout->setContentsMargins(0, 0, 0, 0);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
stackedWidget = new QStackedWidget(AttributeValueEditor);
stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
stackedWidget->setLineWidth(0);
valueViewer = new QTextBrowser();
valueViewer->setObjectName(QString::fromUtf8("valueViewer"));
stackedWidget->addWidget(valueViewer);
verticalLayout->addWidget(stackedWidget);
retranslateUi(AttributeValueEditor);
stackedWidget->setCurrentIndex(0);
QMetaObject::connectSlotsByName(AttributeValueEditor);
} // setupUi
void retranslateUi(QWidget *AttributeValueEditor)
{
AttributeValueEditor->setWindowTitle(QApplication::translate("AttributeValueEditor", "Form", nullptr));
AttributeValueEditor->setProperty("comment", QVariant(QApplication::translate("AttributeValueEditor", "\n"
" Copyright 2016 Pixar \n"
" \n"
" Licensed under the Apache License, Version 2.0 (the \"Apache License\") \n"
" with the following modification; you may not use this file except in \n"
" compliance with the Apache License and the following modification to it: \n"
" Section 6. Trademarks. is deleted and replaced with: \n"
" \n"
" 6. Trademarks. This License does not grant permission to use the trade \n"
" names, trademarks, service marks, or product names of the Licensor \n"
" and its affiliates, except as required to comply with Section 4(c) of \n"
" the License and to reproduce the content of the NOTI"
"CE file. \n"
" \n"
" You may obtain a copy of the Apache License at \n"
" \n"
" http://www.apache.org/licenses/LICENSE-2.0 \n"
" \n"
" Unless required by applicable law or agreed to in writing, software \n"
" distributed under the Apache License with the above modification is \n"
" distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY \n"
" KIND, either express or implied. See the Apache License for the specific \n"
" language governing permissions and limitations under the Apache License. \n"
" ", nullptr)));
} // retranslateUi
};
namespace Ui {
class AttributeValueEditor: public Ui_AttributeValueEditor {};
} // namespace Ui
QT_END_NAMESPACE
#endif // ATTRIBUTEVALUEEDITORUI_H
So, I am not sure why I have
|
As an update to my previous comment, I have tried to run the build again with I went ahead and tried building USD on Ubuntu 18.04 with python2 (I'm using Docker containers), and everything seems to work fine. So, maybe it's an issue with python3? (if you'd like me to ticket a new issue for this because I'm on Ubuntu 20.04 instead of MacOS, let me know!) |
Also seeing this error ^, which prevents me from running |
Still have the same error in ubuntu 20.04.4 LTS usdview HelloWorld.usda |
It is a pyside uic version issue (worked fine in uic version 5.15.2 but failed with 5.12.8). One workaround I found is to replace this line with
or
|
I've run into the same issue using pyside6-uic from here. Edit: Edit 2: |
Description of Issue
USD/lib/python/pxr/Usdviewq/attributeValueEditorUI.py is not being produced as a python file when building on OSX 10.14.6 and XCode Version 11.3.1 (11C504). This is happening on both v20.05 and v20.08 versions
Steps to Reproduce
System Information (OS, Hardware)
OSX 10.14.6 macbook pro
Package Versions
v20.05 and v20.08
Build Flags
--materialx --alembic --openimageio --opencolorio --no-docs --openvdb --build-args=boost,"--with-thread --with-system --with-filesystem --with-date_time" ../install/USD
The text was updated successfully, but these errors were encountered: