Category Archives: duh

TypeError: not all arguments converted during string formatting

I hit this error with some python code: TypeError: not all arguments converted during string formatting I took a long time to finally trace it to this: output = ‘inserting %s report centers for ‘ % (number_of_segments, column_set_name) It means I provided 2 values to replace (number_of_segments, column_set_name) but only provided one place holder (%s). [...]

Also posted in work | 1 Comment

After upgrade WordPress, get xmlrpc invalid response error

  If anything has gone wrong the first thing to do is go through all the steps in our extended upgrade instructions. That page also has information about some of the most common problems we see. Upgrading WordPress « WordPress Codex I recently upgraded WordPress manually following the instructions at Upgrading WordPress « WordPress Codex. [...]

Also posted in wordpress, work | Leave a comment