Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Bug in wikidpad when python minor version is non-integer
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
moriarty4  
View profile  
 More options Oct 31, 5:10 pm
From: moriarty4 <moriar...@gmail.com>
Date: Sat, 31 Oct 2009 14:10:53 -0700 (PDT)
Local: Sat, Oct 31 2009 5:10 pm
Subject: Bug in wikidpad when python minor version is non-integer
Hi
There is a bug in lib/pwiki/SqliteThin3.py.
At line 97, the statement

    pyver = tuple((int(s) for s in platform.python_version_tuple()))

Assumes that python versions are always integers. Unfortunately this
is wrong. The most recent version of Ubuntu linux, 9.10, uses python
version 2.6.4rc2. The tuple returned by python_version_tuple() is
("2", "6", "4rc2"). This breaks wikidpad.

I have made a quick fix by changing the line to read:

    pyver = tuple((4 if s == "4rc2" else int(s) for s in
platform.python_version_tuple()))

However you probably want to make a better fix that removes the
assumption that python versions are always integers.

Cheers
Paul


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Butscher  
View profile  
 More options Oct 31, 5:29 pm
From: Michael Butscher <mbutsc...@gmx.de>
Date: Sat, 31 Oct 2009 22:29:29 +0100
Local: Sat, Oct 31 2009 5:29 pm
Subject: Re: Bug in wikidpad when python minor version is non-integer

The problem is known already and will be fixed in the next version.

Michael


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google