Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Python easter egg breaks QuickBuild #4680

drdt ·

Some clever jnaxre added a unicode filename to the Python 3.14 install (https://stackoverflow.com/questions/79096544/what-is-the-thon-executable) and now QuickBuild can't clean the workspace:

ERROR - Step 'master>1. Prepare workspace>clean workspace if requested' is failed: Failed to delete file '/qbdir/workspaces/.../python_virtual_env/3.14/bin'

2025-11-21 11:48:08 build@rerhlgadm-3:~ $ ls -l /qbdir/workspaces/.../python_virtual_env/3.14/bin
lrwxrwxrwx 1 build releng 34 Nov 11 13:02 python -> /opt/python/cp314-cp314/bin/python
lrwxrwxrwx 1 build releng 6 Nov 11 13:02 python3 -> python
lrwxrwxrwx 1 build releng 6 Nov 11 13:02 python3.14 -> python
lrwxrwxrwx 1 build releng 6 Nov 11 13:02 ????thon -> python

Is there some setting that will allow QuickBuild to recognize and delete this file? I am performing the delete via Pre-Execute Action:
"Clean specified directory on current node"

  • replies 3
  • views 48
  • stars 0
robinshen ADMIN ·

Please change the execute action to execute below script to see if it works:

groovy:

util.execute("rm -rf " + configuration.workspaceDir.absolutePath);
configuration.workspaceDir.mkdirs();
drdt ·

Thank you, that did make the difference.

However, I hope you can come up with a fix in a future update since this invalidates built-in functionality and forces the script to be platform-specific. My teammates were surprised when I told them QuickBuild could not handle unicode.

robinshen ADMIN ·