Re: BitPim 0.9.13 now available for initial checkout

Sean Burke <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
Joe,
Definitely willing and committed.  All of the adjustments arose from not 
being able to track down the correct dependency version numbers. In most 
cases, they were trivial updates however for the case of wxPython, it 
was a major version change (2.6.3->2.8.1).  After a routine sync with my 
VX5300, I get a fatal exception before the phonebook import dialog comes 
up.  I'll attach the error to the bottom of the this email.  I have been 
able to build by adjusting the files "buildrelease/makedist.py" and 
"src/package.py".  The diff outputs for the two files are:

 >makedist.py

465c465
<         expect='0.3.6'
---
 >         expect='0.2'

(This is the most recent version of py2app - the OS X executable builder.)

And for package.py:

32,33c32,33
<     if sys.version_info[:3]!=(2,4,4):
<        raise Exception("Should be  Python 2.4.4 - this is "+sys.version)
---
 >     if sys.version_info[:2]!=(2,3):
 >        raise Exception("Should be  Python 2.3 - this is "+sys.version)
38,39c38,39
<     if wx.VERSION[:4]!=(2,8,1,1):
<         raise Exception("Should be wxPython 2.8.1.1.  This is 
"+`wx.VERSION`)
---
 >     if wx.VERSION[:4]!=(2,6,3,3):
 >         raise Exception("Should be wxPython 2.6.3.3.  This is 
"+`wx.VERSION`)
60c60
<     expect='1.7 (zubat)'
---
 >     expect='1.6.4 (yanma)'


Where, according to standard diff notation, the numbers signify line 
numbers, ">" is what is in the current source and "<" is in my local copy.

I realize that since I am not using the approved wxPython I should 
support this myself, but this is what I get when BP tries to draw the 
phonebook import:

BitPim version: bitpim-trunk-bitpim-4150-developer build
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "phonebook.pyo", line 1481, in Draw
  File "bphtml.pyo", line 488, in drawhtml
  File "wx/html.pyo", line 1265, in Render
TypeError: Sequence of integers expected.

Variables by last 8 frames, innermost last

Frame Draw in phonebook.pyo at line 1481
           attr =  <wx.grid.GridCellAttr; proxy of <Swig Object of type 
'wxGridCellAttr *' at 0x7a5
           text =  u'<font color="#000000"><strike>(518) 
331-6025</strike></font>'
         colour =  wx.Colour(0, 0, 0, 255)
             dc =  <wx._gdi.PaintDC; proxy of <Swig Object of type 
'wxPaintDC *' at 0x-40005440> >
           self =  <phonebook.ImportCellRenderer; proxy of <Swig Object 
of type 'wxPyGridCellRender
     isSelected =  0
        rowtype =  0
           grid =  <wx.grid.Grid; proxy of <Swig Object of type 'wxGrid 
*' at 0x1c5f400> >
            col =  4
           rect =  wx.Rect(320, 420, 80, 20)
            row =  21

Frame drawhtml in bphtml.pyo at line 488
       basepath =  ''
             dc =  <wx._gdi.PaintDC; proxy of <Swig Object of type 
'wxPaintDC *' at 0x-40005440> >
           html =  u'<font color="#000000"><strike>(518) 
331-6025</strike></font>'
            hdc =  <wx.html.HtmlDCRenderer; proxy of <Swig Object of 
type 'wxHtmlDCRenderer *' at 0
           rect =  wx.Rect(322, 421, 76, 18)
              x =  1.6000000000000001
           font =  u'Lucida Grande'
      origscale =  (1.0, 1.0)
           size =  13

Frame Render in wx/html.pyo at line 1265
           args =  (<wx.html.HtmlDCRenderer; proxy of <Swig Object of 
type 'wxHtmlDCRenderer *' at
         kwargs =  Keys []
                   {}


I will take a look at this tomorrow to see where it takes me.  
Hopefully, I can find a fix that is simple and works for both versions.


Best,

Sean





Joe Pham wrote:
>> I had to adjust some of the build parameters (read: shoehorn), 
>>     
>
> Thanks for giving it a try.  The build process was designed as, and 
> should be, a turn-key operation; so I'm curious/concerned as what 
> changes you made to make it work.  If you're willing and committed, I 
> can work with you on this.
>
> -Joe Pham
>
>
>
> _____________________________________________________________________
> Interested in getting caught up on today's news?
> Click here to checkout USA TODAY Headlines.
> http://track.netzero.net/s/lc?s=198954&u=http://www.usatoday.com/news/front.htm?csp=24
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> BitPim-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bitpim-devel
>
>   

-- 
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.