On Thu, November 22, 2007 09:41, Loic Dachary wrote:
> "Mogens Melander" <[EMAIL PROTECTED]> writes:
>
>     That looks like a genuine bug to me. Please try with the following
> patch and let me know if it helps. Apparently MySQLdb returns date using
> a dedicated type instead of a string as it used to. Explicit conversion
> is needed.
>
> Index: pokerpackets.py
> ===================================================================
> --- pokerpackets.py   (revision 3474)
> +++ pokerpackets.py   (working copy)
> @@ -2706,7 +2706,7 @@
>                   self.calcsizestring(self.addr_country) +
>                   self.calcsizestring(self.phone) +
>                   self.calcsizestring(self.gender) +
> -                 self.calcsizestring(self.birthdate)
> +                 self.calcsizestring(str(self.birthdate))
>                   )
>
>      def __str__(self):

Patch appied, make clean, make install, database recreated, user
created in poker-web and last but not least cash-in successfull (cheering in 
background).

Some thing works.

>     The other error, earlier in the file, indicates that a number
> describing a tournament is out of range and python2.5 is not happy
> about it. It would help to have more context to figure out which one
> it is.

That was the full content of the log at the time.

BTW. What would be the recommented commandline to start the server ?
I would like to write a propper start-up/shut-down script.

I've used kill -SIGHUP to shut down, will that do a clean shut-down ?

Is that light i see at the end of the tunnel ;^)

-- 
Later

Mogens Melander
+45 40 85 71 38
+66 870 133 224



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to