Bug #115571 Data export blank page
Submitted: 12 Jul 2024 8:57 Modified: 29 May 12:39
Reporter: Gašper Viher Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0.38 OS:Windows
Assigned to: MySQL Verification Team CPU Architecture:x86

[12 Jul 2024 8:57] Gašper Viher
Description:
Creating an init.cmd script that executes whenever CMD runs (for creating aliases/doskeys), even if blank, causes MySQL Workbench to throw exceptions in the Data Export tab (and possibly other tabs, confirmed to crash on Update Check).

Here's the logged error:

mysqldump  Ver 8.0.38 for Win64 on x86_64 (MySQL Community Server - GPL)
09:17:09 [ERR][wb_admin_utils.py:page_activated:353]: Exception activating the page - '<' not supported between instances of 'NoneType' and 'str'Could not parse version number from mysqldump.exe:

How to repeat:
Create an init.cmd file in the C:\Users\{Current_User} directory.
For testing sake, you can just write the "echo:" command into it and save the file.

Create a new registry key by opening CMD and pasting this command into it:

reg add "HKCU\Software\Microsoft\Command Processor" /v AutoRun /t REG_EXPAND_SZ /d "%USERPROFILE%\init.cmd" /f

After that run Workbench and try to open the Server-> Data Export tab

Suggested fix:
The init.cmd script seems to somehow interrupt the python module. The fix is as easy as removing the registry key, but that prevents custom aliases from loading.
[29 Apr 12:39] MySQL Verification Team
Hello Gašper Viher,

Thank you for the bug report.
Could you please try with latest version and report us back if issue persist even in latest version along with unaltered error log?

Regards,
Ashwini Patil
[30 May 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".