Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: expected a character buffer object #32

Open
GoogleCodeExporter opened this issue May 28, 2015 · 1 comment
Open

TypeError: expected a character buffer object #32

GoogleCodeExporter opened this issue May 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Install 208-1 on Ubuntu
2. /usr/bin/mycheckpoint --defaults-file=/etc/mycheckpoint.cnf 
--skip-check-replication

What is the expected output? What do you see instead?

I get an error:

expected a character buffer object
--
-- Re-execute with --verbose --debug for detailed message and strack trace.
--


What is the output when running with the "--verbose --debug" options?

root@mysql:~# /usr/bin/mycheckpoint --defaults-file=/etc/mycheckpoint.cnf 
--skip-check-replication --debug
expected a character buffer object
Traceback (most recent call last):
  File "/usr/bin/mycheckpoint", line 4864, in <module>
    write_status_variables_hour_aggregation(status_variables_insert_timestamp)
  File "/usr/bin/mycheckpoint", line 4322, in write_status_variables_hour_aggregation
    query = query.replace("${aggregation_timestamp}", aggregation_timestamp)
TypeError: expected a character buffer object
--
-- Re-execute with --verbose --debug for detailed message and strack trace.


What version of the mycheckpoint are you using?

208-1 (deb - form Ubuntu)

What version of the MySQL are you using? (SELECT VERSION())

5.1.57-rel12.8-log 

On what operating system?


Please provide any additional information below.

Ubuntu Linux
Linux mysql 2.6.32-30-server #59-Ubuntu SMP Tue Mar 1 22:46:09 UTC 2011 x86_64 
GNU/Linux


many thanks for any help here in advance,



Niels.

Syndicat IT & Internet
http://www.syndicat.com

Original issue reported on code.google.com by dettenb...@googlemail.com on 31 Mar 2012 at 10:39

@GoogleCodeExporter
Copy link
Author

Hi,
I thinks I've tackled this just recently. Which version of Python are you using?

Original comment by shlomi.n...@gmail.com on 8 Apr 2012 at 7:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant