When I upgraded to the current Editorial beta, I found that any of my scripts that imported other scripts from site-packages were failing. Ole gave my the following lines to add to all my Python code in Workflows...
import os, sys
sys.path.insert(0, os.path.expanduser('~/Documents/site-packages'))
I thought that this had worked, but whenever I invoke any workflow that calls other ones, I get this error:
"Workflow Error
An error occurred in the action "Run Python Script": Line 10: Attribute Error:
'NoneType' object has no attribute 'endswith'"
Here is an example Python worflow script:
import os, sys
sys.path.insert(0, os.path.expanduser('~/Documents/site-packages'))
import console
import editorial_workflows
console.clear()
editorial_workflows.document_and_check_workflows()
None of the code I'm calling contains 'endswith', so I'm guessing that the error is coming from code inside Editorial?
I'd be really grateful for any workaround, as I'm about to make really heavy use of Editorial for a week, and will really miss my workflows.
(My last resort is to go back to Editorial from the AppStore - but I'd miss split-screen)