qmasingarbe / pymiere

Python for Premiere pro
GNU General Public License v3.0
363 stars 46 forks source link

demo_ui.py: Change media path #18

Closed PFython closed 3 years ago

PFython commented 3 years ago

I don't recognise the file shown in the Premiere popup message below... pretty sure it's not an image to do with the sample project I have open, and curious to see file extension jpeg not jpg as well...

image

After I close the popup I get the following:

d:\Pete's Data\OneDrive\Python Scripts\pymiere\demo_ui.py:23: DeprecationWarning: an integer is required (got type sip.voidptr). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python. win32gui.SetForegroundWindow(self.ui_id) <class 'pywintypes.error'> (0, 'SetForegroundWindow', 'No error message is available') <traceback object at 0x0000023EBF2546C0> Traceback (most recent call last): File "d:\Pete's Data\OneDrive\Python Scripts\pymiere\demo_ui.py", line 23, in wrapper win32gui.SetForegroundWindow(self.ui_id) pywintypes.error: (0, 'SetForegroundWindow', 'No error message is available')

qmasingarbe commented 3 years ago

This is due to an hardcoded path I left during testing, fixed by https://github.com/qmasingarbe/pymiere/commit/f5b32e5dd6f279ee652c6e76ba552411c12bf78a