Bug #67831 | TypeError: cannot concatenate 'str' and 'NoneType' objects | ||
---|---|---|---|
Submitted: | 6 Dec 2012 20:48 | Modified: | 28 Feb 2017 15:20 |
Reporter: | Willie Johnson | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Workbench: Migration | Severity: | S3 (Non-critical) |
Version: | 5.2.44 CE | OS: | Windows (TypeError: cannot concatenate 'str' and 'NoneType' objects) |
Assigned to: | CPU Architecture: | Any | |
Tags: | MySQL CE |
[6 Dec 2012 20:48]
Willie Johnson
[11 Dec 2012 13:07]
Sergio Andres De La Cruz Rodriguez
Hi: Can you paste here the content of your log file (Help --> Show Log File)?
[22 Mar 2013 16:46]
Armando Lopez Valencia
Hello. It will be very helpful if you can include the following data: Source OS: Source DB: Target OS: Target DB: A dump of the DB that you are trying to migrate. Besides that you can try with our latest WB version and let us know if the problem persist. Thanks.
[23 Apr 2013 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".
[20 May 2016 22:50]
Mamta Upadhyay
Reopening this bug because I am getting the same error with version 6.3 Source OS: Centos 6 Source DB: MySQL Target OS: Centos 6 Target DB: MySQL I am trying to migrate from one database into another on the same machine. Source database is case insensitive and target is case sensitive collation. Please help
[1 Aug 2016 18:51]
Dan Downs
In db_mysql_re_grt.py, reverseEngineer() function under the following sections: Line 335: if get_routines: After the lines "sql = result.stringByName("Create Procedure")" and "sql = result.stringByName("Create Function")" there needs to be check for if sql is valid before updating the progress bar. I fixed mine by putting the grt. lines under a "if sql and sql is not None:". The error will happen if the user doesn't have ALTER ROUTINE grant as mysql will return null for the "Create Procedure" or "Create Function" fields when asked for a SHOW CREATE PROCEDURE or SHOW CREATE FUNCTION. I got this last week on workbench 6.3.7, OS X 10.11.6, and mysql 5.6.26-74. A proper fix might ask for the user's grants and just skip the two sections if its not possible, but I didn't go so far as to parse the SHOW GRANTS syntax, as applying the correct context might be "fun".
[31 Jan 2017 15:20]
MySQL Verification Team
Please try version 6.3.8. Thanks.
[1 Mar 2017 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".