Comments (15)
#175 might indicate that google.protobuf.pyext._message is not available on windows
from opencue.
I've repurposed this Issue to focus on Windows and cover both client-side components as well as RQD.
from opencue.
For completeness, reporting some info from the forum here.
The latest update here is - unfortunately at the moment there's not great support for PySide when using Windows+Python 2.
https://wiki.qt.io/Qt_for_Python
After trying a few different things we came to the conclusion that without PySide planning any official build for Python 2, it made the most sense to move towards Python 3 compatibility instead, as the best way to get to full Windows support. Environments that still use Python 2 (e.g. Maya) tend to ship with a prebuilt Python+PySide anyway, so we should be pretty well covered at that point.
We've made some progress on this - see the linked PR above for example.
from opencue.
Hello!
I've managed to get a semi-functional version of cuegui on Windows after making some minor python 3 compatibility changes to outline, I've got cuebot and the database on a docker instance but I'm having a hard time figuring out how to use the Jenkins/Docker containers provided to test the changes. Is it written anywhere how are they supposed to be used?
Thank you.
from opencue.
Hi Salvador! That's great to hear.
To be clear you're looking to test changes you made to the outline
library, aka pyoutline, is that right? As far as I'm aware that library isn't used in CueGUI itself, but it is used in the CueSubmit application - am I correct in taking that to mean that you also have CueSubmit running on Windows?
from opencue.
After a couple more modifications I am now able to open CueSubmit as well, yes! About CueGUI, I did have to make one small change that is to set in the setup.py zip_safe=False
, without that it was not able to load the plug-ins embedded since they were inside an .egg file.
Right now I've got both working and connected to the database, but I'm having some issues with the RPC that will fail when submitting jobs.
To be clear, I'm interested in using the test suite in general, to be able to make changes in the code and feel confident that I'm not breaking anything.
Thank you.
from opencue.
This is a timely request, because we're in the process of cleaning up and reenabling the existing unit tests right now.
See for example #240 which enables this for PyOutline - there are some unrelated testing issues we need to clear up there, but we hope to have that submitted tomorrow.
Our plan was to do something like: clean up and enable unit tests -> make the code Python3 compatible -> test on Windows and fix as needed. Sounds like we're on the same page with that - having functional unit tests makes the second and third steps WAY easier.
from opencue.
Oh, very good! I'll keep a look out for the unit test issues then, thank you very much!
from opencue.
I ran into an issue where the protobuf imports weren't being found on Windows and resolved the problem by adding from .
to the front of each line. Is there a path variable I needed to set?
from opencue.
Hi @j4qfrost, are you running the code from a release or from a Git checkout? Python 2 or 3?
It sounds like you are hitting the problem described by this fix:
Line 45 in 44a7804
This should be fixed automatically in the official releases which are built via these Docker files but if you're compiling the protos yourself the problem could still pop up.
from opencue.
I had checked out v0.2.31 for stability since I was having issues with the master branch initially. Linux compiled fine. It took me a while to figure out how to fix such a trivial problem. I was looking for a bit less of a hacky solution, but beggars can't be choosers.
from opencue.
Yeah, it's a horrible hack. We're looking to see if there's some other way we can resolve this.
from opencue.
Before getting RQD working on windows it would be nice to be able to send jobs with CueSubmit first.
(Maybe I should open another issue for this ?)
I installed CueSubmit on Windows with Anaconda (installed PySide2 with conda, the rest with pip).
The UI works fine but when submitting a job: it fails when hitting outline/util.py get_uid().
I fixed it by returning some hardcoded int (if Windows). I don't know what would be the proper way of doing this.
from opencue.
One item still remaining is the default editor used by CueGui to view logs.
Check RQD logging.
from opencue.
Windows is supported now. Closing this, any followup issues should be filed as new issues.
from opencue.
Related Issues (20)
- Declare new jobs in configuration file
- All tokens in shell tooltip HOT 1
- Command feedback widget
- Expand and fix widget library
- How can a windows client connect to opencue? HOT 2
- how to use GPU on opencue HOT 1
- rqd running error
- After rqd modifies the configuration file ALLOW_GPU to be True, rqd can't receive the task.
- CueGui, can't edit services
- RQD - reserve the right number of cores.
- Handle negative core requests HOT 3
- Add VFX Platform 2023 to CI build matrix
- Document what different states mean (e.g "eaten") HOT 1
- Docker quickstart RQD error HOT 2
- Cannot import python opencue module from source HOT 2
- RQD fails to collect frame stats HOT 1
- mayabatch.exe - application error HOT 35
- Nimby control for user workstation.
- Don't SIGKILL my job bro!
- Mail/notifications HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencue.