markl17 / mycheckpoint

Automatically exported from code.google.com/p/mycheckpoint
0 stars 1 forks source link

TypeError: expected a character buffer object #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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...@gmail.com on 31 Mar 2012 at 10:39

GoogleCodeExporter commented 8 years ago
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