Discussion:
[BitPim-devel] BitPim 0.9.13 now available for initial checkout
Joe Pham
2007-03-14 04:25:25 UTC
Permalink
http://sourceforge.net/project/showfiles.php?
group_id=75211&package_id=75636

Please post if you found any problems with the load.

-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
Sean Burke
2007-03-14 12:41:49 UTC
Permalink
Joe,
The most recent version of gui.py doesn't run on OSX because fcntl
is not imported. After the GTK intitialiaztion (line 66), I added:

if guihelper.IsMac():
import fcntl

Best,

Sean
Post by Joe Pham
http://sourceforge.net/project/showfiles.php?
group_id=75211&package_id=75636
Please post if you found any problems with the load.
-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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Sean Burke
2007-03-14 16:27:11 UTC
Permalink
Joe,
I have an OS X build off of rev.4150 (sourced this morning). Since
I had to adjust some of the build parameters (read: shoehorn), it may
not be ready for primetime. At first glance, it seems to run fine but I
wouldn't feel comfortable releasing it to bitpim-users with the blessing
of some 10.3 users. The disk image is ~18 MB. How would you like to
distribute it to prospective testers?

Best,

Sean
Post by Joe Pham
http://sourceforge.net/project/showfiles.php?
group_id=75211&package_id=75636
Please post if you found any problems with the load.
-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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Fiz Stein
2007-03-14 23:52:01 UTC
Permalink
So far the LG UX-5000 is working...Thanks.

fzzz

----- Original Message ----
From: Joe Pham <***@netzero.com>
To: bitpim-***@lists.sourceforge.net
Sent: Tuesday, March 13, 2007 11:25:25 PM
Subject: [BitPim-devel] BitPim 0.9.13 now available for initial checkout

http://sourceforge.net/project/showfiles.php?
group_id=75211&package_id=75636

Please post if you found any problems with the load.

-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
BitPim-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitpim-devel








____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
Joe Pham
2007-03-15 00:52:00 UTC
Permalink
Post by Sean Burke
The most recent version of gui.py doesn't run on OSX because fcntl
is not imported.
Thanks for reporting the problem. I checked in the fix. Since this
does not affect the Windows and Linux loads, I will not rebuild those.

-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
Joe Pham
2007-03-15 00:54:45 UTC
Permalink
Post by Sean Burke
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
Sean Burke
2007-03-15 02:11:04 UTC
Permalink
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
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)
---
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`)
---
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
Post by Sean Burke
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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
John O'Shaughnessy
2007-03-15 02:25:38 UTC
Permalink
Great Progress Sean!

Are you attempting your build on OS X 10.3 or 10.4?

I used to be able to build BitPim just fine on 10.3, but never had
luck after upgrading to 10.4.

John
Post by Sean Burke
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).
Sean Burke
2007-03-15 19:52:35 UTC
Permalink
I am running on 10.4. If you have been tracking the other thread, you
know I haven't been using the correct dependencies. I am trying to
track down the proper versions of each, instead of the most recent. I
will post in excruciating detail as soon I get my dependencies together.

sean
Post by John O'Shaughnessy
Great Progress Sean!
Are you attempting your build on OS X 10.3 or 10.4?
I used to be able to build BitPim just fine on 10.3, but never had
luck after upgrading to 10.4.
John
Post by Sean Burke
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).
T Gallagher
2007-03-15 20:58:19 UTC
Permalink
How about getting wxPython from here:

http://www.wxpython.org/download-2.6.3.3.php
Post by Sean Burke
I am running on 10.4. If you have been tracking the other thread, you
know I haven't been using the correct dependencies. I am trying to
track down the proper versions of each, instead of the most recent. I
will post in excruciating detail as soon I get my dependencies together.
sean
Post by John O'Shaughnessy
Great Progress Sean!
Are you attempting your build on OS X 10.3 or 10.4?
I used to be able to build BitPim just fine on 10.3, but never had
luck after upgrading to 10.4.
John
Post by Sean Burke
Joe,
Definitely willing and committed. All of the adjustments arose from
not
Post by John O'Shaughnessy
Post by Sean Burke
being able to track down the correct dependency version numbers. In
most
Post by John O'Shaughnessy
Post by Sean Burke
cases, they were trivial updates however for the case of wxPython, it
was a major version change (2.6.3->2.8.1).
-------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
Sean Burke
2007-03-15 22:51:51 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for the link, T Gallagher.&nbsp; I have spent the afternoon making my
installation a little more honest (as far as version numbers go).&nbsp; I
have everything at the correct version with the exception of py2app.&nbsp;
Try as I may, bitpim will not compile with 0.2.&nbsp; I upgraded to 0.3.6
(most recent) and was able to get a working copy.&nbsp; Additionally, I had
to add a line specifically locating the&nbsp; resources for py2app to
generate the proper Info.plist.&nbsp; All of this is used only for the mac
builds, so it adding it should not adversely affect the main
distribution.&nbsp; Here is the diff for the two trivial changes:<br>
<br>
412d411<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
'PyResourcePackages': ['lib/python2.3/lib-dynload'],<br>
466c465<br>
&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expect='0.3.6'<br>
---<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expect='0.2' <br>
<br>
With that, I have a working copy that is ready for testing.<br>
<br>
Sean<br>
<br>
<br>
<br>
<br>
T Gallagher wrote:
<blockquote
cite="***@mail.gmail.com"
type="cite">How about getting wxPython from here:<br>
<br>
<a href="http://www.wxpython.org/download-2.6.3.3.php">http://www.wxpython.org/download-2.6.3.3.php</a><br>
<br>
<br>
<div><span class="gmail_quote">On 3/15/07, <b
class="gmail_sendername">
Sean Burke</b> &lt;<a href="mailto:***@gmail.com">***@gmail.com</a>&gt;
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I
am running on 10.4.&nbsp;&nbsp; If you have been tracking the other thread, you<br>
know I haven't been using the correct dependencies.&nbsp;&nbsp;I am trying to<br>
track down the proper versions of each, instead of the most recent.&nbsp;&nbsp;I<br>
will post in excruciating detail as soon I get my dependencies together.<br>
<br>
sean<br>
<br>
John O'Shaughnessy wrote:<br>
&gt; Great Progress Sean!<br>
&gt;<br>
&gt; Are&nbsp;&nbsp;you attempting your build on OS X 10.3 or 10.4?<br>
&gt;<br>
&gt; I used to be able to build BitPim just fine on 10.3, but never had<br>
&gt; luck after upgrading to 10.4.<br>
&gt;<br>
&gt; John<br>
&gt;<br>
&gt;<br>
&gt; On Mar 14, 2007, at 9:11 PM, Sean Burke wrote:<br>
&gt;<br>
&gt;&gt; Joe,<br>
&gt;&gt; Definitely willing and committed.&nbsp;&nbsp;All of the adjustments
arose from not<br>
&gt;&gt; being able to track down the correct dependency version
numbers. In most<br>
&gt;&gt; cases, they were trivial updates however for the case of
wxPython, it
<br>
&gt;&gt; was a major version change (2.6.3-&gt;2.8.1).<br>
&gt;<br>
&gt;<br>
<br>
-------------------------------------------------------------------------<br>
Take Surveys. Earn Cash. Influence the Future of IT<br>
Join SourceForge.net
's Techsay panel and you'll get the chance to share your<br>
opinions on IT &amp; business topics through brief surveys-and earn cash<br>
<a
href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV</a><br>
_______________________________________________<br>
BitPim-devel mailing list<br>
<a href="mailto:BitPim-***@lists.sourceforge.net">BitPim-***@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/bitpim-devel">https://lists.sourceforge.net/lists/listinfo/bitpim-devel</a><br>
</blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
-------------------------------------------------------------------------
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 &amp; business topics through brief surveys-and earn cash
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV</a></pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
BitPim-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:BitPim-***@lists.sourceforge.net">BitPim-***@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/bitpim-devel">https://lists.sourceforge.net/lists/listinfo/bitpim-devel</a>
</pre>
</blockquote>
</body>
</html>
T Gallagher
2007-03-16 00:53:18 UTC
Permalink
Sean,

Any chance you could document how you got this working?

I tried getting it going, but kept getting errors with the apsw module.

Thanks,

Tim
Thanks for the link, T Gallagher. I have spent the afternoon making my
installation a little more honest (as far as version numbers go). I have
everything at the correct version with the exception of py2app. Try as I
may, bitpim will not compile with 0.2. I upgraded to 0.3.6 (most recent)
and was able to get a working copy. Additionally, I had to add a line
specifically locating the resources for py2app to generate the proper
Info.plist. All of this is used only for the mac builds, so it adding it
should not adversely affect the main distribution. Here is the diff for the
412d411
['lib/python2.3/lib-dynload'],
466c465
< expect='0.3.6'
---
expect='0.2'
With that, I have a working copy that is ready for testing.
Sean
http://www.wxpython.org/download-2.6.3.3.php
I am running on 10.4. If you have been tracking the other thread, you
know I haven't been using the correct dependencies. I am trying to
track down the proper versions of each, instead of the most recent. I
will post in excruciating detail as soon I get my dependencies together.
sean
Post by John O'Shaughnessy
Great Progress Sean!
Are you attempting your build on OS X 10.3 or 10.4?
I used to be able to build BitPim just fine on 10.3, but never had
luck after upgrading to 10.4.
John
Post by Sean Burke
Joe,
Definitely willing and committed. All of the adjustments arose from
not
Post by John O'Shaughnessy
Post by Sean Burke
being able to track down the correct dependency version numbers. In
most
Post by John O'Shaughnessy
Post by Sean Burke
cases, they were trivial updates however for the case of wxPython, it
was a major version change (2.6.3->2.8.1).
-------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
------------------------------
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
Sean Burke
2007-03-16 02:56:58 UTC
Permalink
Sure Tim. I will break things down as they are listed on the developer
page.

Setup for building Bitpim.app on OS X 10.4.9
1) Python. Use the default python installation. Check the version
with: >python -V. You should get 2.3.5. If you get 2.4.x or 2.5.x,
then you have probably downloaded one of the precompiled packages from
macPython. Check the site for instructions on how to make 2.3.5 the
"Current" version.

2) Install wxPython. You MUST have 2.6.3.3 installed. I tried it will
2.8.1.1 with mixed results. Also, I had a 2.7 version installed that
fouled up the build as well. If you can, make the 2.6 version the only
version on your machine. Go to:
http://www.wxpython.org/download-2.6.3.3.php and download the unicode
Post by T Gallagher
python
Post by John O'Shaughnessy
import wx
print wx.VERSION[:4]
(you should get: (2, 6, 3, 3))
Ctrl-D

3) pyserial. Download v2.2 from http://pyserial.sourceforge.net/ and
install it. (standard python module commands: python setup.py install)

4) APSW.
a) Download, configure, make, make install sqlite3.
(http://www.sqlite.org/) APSW will not build without it. I used 3.3.13.
b) Download and install APSW according the standard python setup.
(http://initd.org/tracker/pysqlite/wiki/APSW). I used 3.3.13-r1.
(email me if you are still having problems)

5) paramiko. Joe just upgraded the package to take the most recent
(1.7) version. Download it and install (standard python module
commands: python setup.py install).

6) pycrypto. Same as the other modules. Get it at:
http://www.amk.ca/python/code/crypto.html .

7) Install py2app v 0.3.6. http://cheeseshop.python.org/pypi/py2app/

8) Get bitpim source from svn: svn co
https://bitpim.svn.sourceforge.net/svnroot/bitpim/trunk/bitpim
Unless Joe adopts the the changes I offered earlier, you will have
to hand edit the file "buildrelease/makedist.py". After line 411, add
the line:

'PyResourcePackages':
['lib/python2.3/lib-dynload'],
And change the line that WAS 465 but is now 466 from "expect = '0.2'" to
"expect = '0.3.6'". The code will not compile under py2app 0.2.

9) Build modules: python packaging/buildmodules.py

10) Build application. For some reason, it only works as root. Not as
a normal user, not as a sudoer.
su
python buildrelease/makedist.py

That's all I can recall right now. I DO remember that I had a bear of a
time getting apsw up until I finally built sqlite3 from source. It is
an implicit requirement.

Hope that helps. Please post any build errors, either for APSW or for
the mac build to the list. Chances are good that I have already run
into them.

Sean
Post by T Gallagher
Sean,
Any chance you could document how you got this working?
I tried getting it going, but kept getting errors with the apsw module.
Thanks,
Tim
Thanks for the link, T Gallagher. I have spent the afternoon
making my installation a little more honest (as far as version
numbers go). I have everything at the correct version with the
exception of py2app. Try as I may, bitpim will not compile with
0.2. I upgraded to 0.3.6 (most recent) and was able to get a
working copy. Additionally, I had to add a line specifically
locating the resources for py2app to generate the proper
Info.plist. All of this is used only for the mac builds, so it
adding it should not adversely affect the main distribution. Here
412d411
<
'PyResourcePackages': ['lib/python2.3/lib-dynload'],
466c465
< expect='0.3.6'
---
expect='0.2'
With that, I have a working copy that is ready for testing.
Sean
http://www.wxpython.org/download-2.6.3.3.php
I am running on 10.4. If you have been tracking the other thread, you
know I haven't been using the correct dependencies. I am trying to
track down the proper versions of each, instead of the most recent. I
will post in excruciating detail as soon I get my
dependencies together.
sean
Post by John O'Shaughnessy
Great Progress Sean!
Are you attempting your build on OS X 10.3 or 10.4?
I used to be able to build BitPim just fine on 10.3, but
never had
Post by John O'Shaughnessy
luck after upgrading to 10.4.
John
Joe,
Definitely willing and committed. All of the adjustments
arose from not
Post by John O'Shaughnessy
being able to track down the correct dependency version
numbers. In most
Post by John O'Shaughnessy
cases, they were trivial updates however for the case of
wxPython, it
Post by John O'Shaughnessy
was a major version change (2.6.3->2.8.1).
-------------------------------------------------------------------------
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
<http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
------------------------------------------------------------------------
-------------------------------------------------------------------------
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 <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
------------------------------------------------------------------------
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
-------------------------------------------------------------------------
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
<http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
<https://lists.sourceforge.net/lists/listinfo/bitpim-devel>
------------------------------------------------------------------------
-------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
John O'Shaughnessy
2007-03-16 04:07:17 UTC
Permalink
So the sqlite3 3.1.3 in /usr/bin by default won't be enough -- you
need to build 3.3.13?

Thanks very much for the instructions and for your time at trial and
error!

John
Post by Sean Burke
4) APSW.
a) Download, configure, make, make install sqlite3.
(http://www.sqlite.org/) APSW will not build without it. I used 3.3.13.
b) Download and install APSW according the standard python setup.
(http://initd.org/tracker/pysqlite/wiki/APSW). I used 3.3.13-r1.
(email me if you are still having problems)
Sean Burke
2007-03-16 12:32:11 UTC
Permalink
The default didn't work for me. Notice that the version number of APSW
tracks the version of sqlite3. My guess is that the jump from
3.1.x->3.3.x was significant enough to cause problems. The good news is
that the build is fairly straightforward.

sean
Post by John O'Shaughnessy
So the sqlite3 3.1.3 in /usr/bin by default won't be enough -- you
need to build 3.3.13?
Thanks very much for the instructions and for your time at trial and
error!
John
Post by Sean Burke
4) APSW.
a) Download, configure, make, make install sqlite3.
(http://www.sqlite.org/) APSW will not build without it. I used 3.3.13.
b) Download and install APSW according the standard python setup.
(http://initd.org/tracker/pysqlite/wiki/APSW). I used 3.3.13-r1.
(email me if you are still having problems)
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Allen Hancock
2007-03-16 15:39:10 UTC
Permalink
Post by Sean Burke
Setup for building Bitpim.app on OS X 10.4.9
1) Python. Use the default python installation. Check the version
with: >python -V. You should get 2.3.5. If you get 2.4.x or 2.5.x,
then you have probably downloaded one of the precompiled packages from
macPython. Check the site for instructions on how to make 2.3.5 the
"Current" version.
alright, i give up. I have looked all over the place for how to roll
back to 2.3...
Has anyone seen these steps? would hate to clean install, but am
willing...
Sean Burke
2007-03-16 15:45:57 UTC
Permalink
Python 2.4 gets installed in
/Library/Frameworks/Python.Framework/Versions/2.4 so

sudo rm -rf /Library/Frameworks/Python.Framework/Versions/2.4

Open a new terminal window and it should have reset. Before you do
that, however, I have been working with Mark Moran on building a
Universal binary. Since there is no universal version of 2.3, if you
want to take that road you are going to have use 2.4. (Confused yet?
:) I have managed to get a working build with python2.3/PPC/10.3.+ and
of the universal binary (python2.4/PPC+Intel/10.3.9+). (Although I can
only vouch for the PPC operation.)

If you have an AIM/.mac account I can sent either to you via iChat.

Sean
Post by Allen Hancock
Post by Sean Burke
Setup for building Bitpim.app on OS X 10.4.9
1) Python. Use the default python installation. Check the version
with: >python -V. You should get 2.3.5. If you get 2.4.x or 2.5.x,
then you have probably downloaded one of the precompiled packages from
macPython. Check the site for instructions on how to make 2.3.5 the
"Current" version.
alright, i give up. I have looked all over the place for how to roll
back to 2.3...
Has anyone seen these steps? would hate to clean install, but am
willing...
a***@bastula.org
2007-03-16 16:06:28 UTC
Permalink
You can use the command python2.3 and it will run the system installed
Python. I have been trying to get BitPim to build on 2.4 and 2.5 but no
dice because of the APSW dependency failing. I will try again tonight on
2.3.

Adit
Post by Sean Burke
Setup for building Bitpim.app on OS X 10.4.9
1) Python. Use the default python installation. Check the version
with: >python -V. You should get 2.3.5. If you get 2.4.x or 2.5.x,
then you have probably downloaded one of the precompiled packages from
macPython. Check the site for instructions on how to make 2.3.5 the
"Current" version.
alright, i give up. I have looked all over the place for how to roll back
to 2.3... Has anyone seen these steps? would hate to clean install, but
am willing...
-------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
Sean Burke
2007-03-16 17:49:48 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Try rebuilding sqlite3.<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:***@bastula.org">***@bastula.org</a> wrote:
<blockquote
cite="***@mail.bastula.org"
type="cite">
<pre wrap="">You can use the command python2.3 and it will run the system installed
Python. I have been trying to get BitPim to build on 2.4 and 2.5 but no
dice because of the APSW dependency failing. I will try again tonight on
2.3.

Adit

On Fri, March 16, 2007 10:39, Allen Hancock wrote:
</pre>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">On Mar 15, 2007, at 9:56 PM, Sean Burke wrote:

</pre>
<blockquote type="cite">
<pre wrap="">Setup for building Bitpim.app on OS X 10.4.9
1) Python. Use the default python installation. Check the version
with: &gt;python -V. You should get 2.3.5. If you get 2.4.x or 2.5.x,
then you have probably downloaded one of the precompiled packages from
macPython. Check the site for instructions on how to make 2.3.5 the
"Current" version.

</pre>
</blockquote>
<pre wrap="">alright, i give up. I have looked all over the place for how to roll back
to 2.3... Has anyone seen these steps? would hate to clean install, but
am willing...




-------------------------------------------------------------------------
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 &amp; business topics through brief surveys-and earn cash
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV</a>
_______________________________________________
BitPim-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:BitPim-***@lists.sourceforge.net">BitPim-***@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/bitpim-devel">https://lists.sourceforge.net/lists/listinfo/bitpim-devel</a>


</pre>
</blockquote>
<pre wrap=""><!---->


-------------------------------------------------------------------------
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 &amp; business topics through brief surveys-and earn cash
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV</a>
_______________________________________________
BitPim-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:BitPim-***@lists.sourceforge.net">BitPim-***@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/bitpim-devel">https://lists.sourceforge.net/lists/listinfo/bitpim-devel</a>

</pre>
</blockquote>
</body>
</html>
Adit Panchal
2007-03-17 18:45:50 UTC
Permalink
Ok, I finally got BitPim running on Intel 10.4.9 with Python 2.5 and
wxPython 2.8.1.1.

Here's what I did:

First as Sean suggested, I rebuilt sqlite3. Now part of that is
actually installing it (via sudo make install), not only using it as
part of the shared library when compiling apsw. This will place a
copy of sqlite 3.3.13 into /usr/local/lib.

I also installed apsw by following the directions in its documentation.

Since I am using tcsh as my shell, I use setenv to export my
environment variables like:

setenv DYLD_LIBRARY_PATH /usr/local/lib

For bash it would be:

export DYLD_LIBRARY_PATH=/usr/local/lib

After setting the variable, BitPim would run successfully. However,
that only works as long as the variable is present, so if you kill
your terminal session, you'll have to export it again.

When I ran BitPim months ago with a previous version of apsw, I
thought that sqlite3 was bundled into the .so file once it was
compiled. Am I incorrect in assuming that is the case now? Why would
it have to link against a version at run time now? Maybe the version
of apsw at that time was compatible with the version of sqlite3
installed on Tiger by default so I never saw that error.

These are where I got the versions of Python and wxPython from:

- Python 2.5 from python.org
- wxPython 2.8.11 from http://www.wxpython.org/download.php and used
the wxpython osx-unicode-py2.5 link.

I have yet to try making a build, but that will be the next step. I
also checked my version of apsw.so and it is universal.

Hope this helps anyone out needing to run from source.
Post by Sean Burke
Try rebuilding sqlite3.
Adit Panchal
2007-03-17 19:13:11 UTC
Permalink
I also wanted to add that I just got it working on a install of
Python 2.4 and wxPython 2.6.3.3 by exporting DYLD_LIBRARY_PATH.

If you would like to make the export permanent, you can add the
following to your .cshrc (if using tcsh or similar):

setenv DYLD_LIBRARY_PATH /usr/local/lib:DYLD_LIBRARY_PATH

or

export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH in
your .profile (if using bash or similar).

Hope that helps,

Adit
Post by Adit Panchal
Ok, I finally got BitPim running on Intel 10.4.9 with Python 2.5 and
wxPython 2.8.1.1.
First as Sean suggested, I rebuilt sqlite3. Now part of that is
actually installing it (via sudo make install), not only using it as
part of the shared library when compiling apsw. This will place a
copy of sqlite 3.3.13 into /usr/local/lib.
I also installed apsw by following the directions in its
documentation.
Since I am using tcsh as my shell, I use setenv to export my
setenv DYLD_LIBRARY_PATH /usr/local/lib
export DYLD_LIBRARY_PATH=/usr/local/lib
After setting the variable, BitPim would run successfully. However,
that only works as long as the variable is present, so if you kill
your terminal session, you'll have to export it again.
When I ran BitPim months ago with a previous version of apsw, I
thought that sqlite3 was bundled into the .so file once it was
compiled. Am I incorrect in assuming that is the case now? Why would
it have to link against a version at run time now? Maybe the version
of apsw at that time was compatible with the version of sqlite3
installed on Tiger by default so I never saw that error.
- Python 2.5 from python.org
- wxPython 2.8.11 from http://www.wxpython.org/download.php and used
the wxpython osx-unicode-py2.5 link.
I have yet to try making a build, but that will be the next step. I
also checked my version of apsw.so and it is universal.
Hope this helps anyone out needing to run from source.
Post by Sean Burke
Try rebuilding sqlite3.
----------------------------------------------------------------------
---
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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
Sean Burke
2007-03-19 02:03:11 UTC
Permalink
Post by Adit Panchal
Ok, I finally got BitPim running on Intel 10.4.9 with Python 2.5 and
wxPython 2.8.1.1.
Please keep us post on any unexpected behavior. Specifically, I noticed
the wxPython tweaks out during the phonebook import screen. Does it do
that when you run the source?
Post by Adit Panchal
When I ran BitPim months ago with a previous version of apsw, I
thought that sqlite3 was bundled into the .so file once it was
compiled. Am I incorrect in assuming that is the case now? Why would
it have to link against a version at run time now? Maybe the version
of apsw at that time was compatible with the version of sqlite3
installed on Tiger by default so I never saw that error.
Welcome to my weekend. APSW links against the shared library of
sqlite3. I built it (APSW) using the -static option but couldn't get
the package to build. I assume that is because everything else is
shared and the build script is looking for a dynamic APSW library. Have
you been able to build a dynamic, universal version of sqlite3? Many
have tried (like me) and as far as I know, all have failed. I got as
far as building a static universal library, but that doesn't help
because of the aforementioned problem. I can't build a universal
application until I can get a universal sqlite library.
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Adit Panchal
2007-03-19 02:56:35 UTC
Permalink
Post by Sean Burke
Please keep us post on any unexpected behavior. Specifically, I noticed
the wxPython tweaks out during the phonebook import screen. Does it do
that when you run the source?
I don't have a phone to test BitPim with, but if I import a CSV file,
I get the following traceback after assigning columns to the data and
importing it:

Traceback (most recent call last):
File "/Users/apanchal/Projects/bitpim/trunk/bitpim/src/
phonebook.py", line 1481, in Draw
text, font=self.facename, size=self.facesize)
File "/Users/apanchal/Projects/bitpim/trunk/bitpim/src/bphtml.py",
line 488, in drawhtml
hdc.Render(rect.x, rect.y, 0, False)
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/wx-2.8-mac-unicode/wx/html.py", line 1265, in
Render
return _html.HtmlDCRenderer_Render(*args, **kwargs)
TypeError: Sequence of integers expected.

Variables by last 8 frames, innermost last

Frame Draw in /Users/apanchal/Projects/bitpim/trunk/bitpim/src/
phonebook.py at line 1481
attr = <wx.grid.GridCellAttr; proxy of <Swig Object of
type 'wxGridCellAttr *' at 0x1b0
text = u'<font color="#000000"><strike>Joe Schmoe</
strike></font>'
colour = wx.Colour(0, 0, 0, 255)
dc = <wx._gdi.PaintDC; proxy of <Swig Object of type
'wxPaintDC *' at 0xbfffb0a4> >
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 0x1cd9600> >
col = 1
rect = wx.Rect(80, 540, 80, 20)
row = 27

Frame drawhtml in /Users/apanchal/Projects/bitpim/trunk/bitpim/src/
bphtml.py at line 488
basepath = ''
dc = <wx._gdi.PaintDC; proxy of <Swig Object of type
'wxPaintDC *' at 0xbfffb0a4> >
html = u'<font color="#000000"><strike>Joe Schmoe</
strike></font>'
hdc = <wx.html.HtmlDCRenderer; proxy of <Swig Object of
type 'wxHtmlDCRenderer *' at 0
rect = wx.Rect(82, 541, 76, 18)
x = 1.6000000000000001
font = u'Lucida Grande'
origscale = (1.0, 1.0)
size = 13

Frame Render in //Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/html.py at line 1265
args = (<wx.html.HtmlDCRenderer; proxy of <Swig Object
of type 'wxHtmlDCRenderer *' at
kwargs = Keys []
{}

Also notable is when either running from source or running from my
build, the Quit function (both menu, dock and Cmd-Q) does not work
with Python 2.5 and wxPython 2.8.1.1. I have to force quit the
application. It does work with Python 2.4 and wxPython 2.6.3.3. I
think the next thing for me to try is wxPython 2.6.3.3 on Python 2.5
and see if that fixes itself. I have a feeling that it is related to
wxPython 2.8.1.1 and not Python itself.
Post by Sean Burke
Welcome to my weekend. APSW links against the shared library of
sqlite3. I built it (APSW) using the -static option but couldn't get
the package to build. I assume that is because everything else is
shared and the build script is looking for a dynamic APSW library.
Have
you been able to build a dynamic, universal version of sqlite3? Many
have tried (like me) and as far as I know, all have failed. I got as
far as building a static universal library, but that doesn't help
because of the aforementioned problem. I can't build a universal
application until I can get a universal sqlite library.
Here is the result of lipo -detailed_info on my version of apsw.so
(built dynamically via the APSW documentation instructions):

Fat header in: /Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/apsw.so
fat_magic 0xcafebabe
nfat_arch 2
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 4096
size 157368
align 2^12 (4096)
architecture ppc
cputype CPU_TYPE_POWERPC
cpusubtype CPU_SUBTYPE_POWERPC_ALL
offset 163840
size 162084
align 2^12 (4096)

Another library to check would be the native packages, i.e. jaro/
winkler and libusb. Compiling Jaro/winkler gives a universal library,
but libusb doesn't as evidenced by the following lipo info:

Fat header in: /Users/apanchal/Projects/bitpim/trunk/bitpim/src/
native/strings/jarow.so
fat_magic 0xcafebabe
nfat_arch 2
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 4096
size 29116
align 2^12 (4096)
architecture ppc
cputype CPU_TYPE_POWERPC
cpusubtype CPU_SUBTYPE_POWERPC_ALL
offset 36864
size 24848
align 2^12 (4096)

input file /Users/apanchal/Projects/bitpim/trunk/bitpim/src/native/
usb/_libusb.so is not a fat file
Non-fat file: /Users/apanchal/Projects/bitpim/trunk/bitpim/src/native/
usb/_libusb.so is architecture: i386

Any suggestions on making the libusb shared library universal?

Final thoughts:

I think we can only make a universal build if we use a universal
version of Python (seems obvious enough). That said, the built-in 2.3
(either on Intel or PPC) is going to be platform specific. I don't
think at this point it matters which version of Python we use 2.3,
2.4, or 2.5 as long as it meets that requirement and you have to
install a framework build in order to have universal Python. Also as
to licensing issues to redistributables, AFAIK, the Mac OS X build of
Python does not have any issues like the Windows version which relies
on some MS .dlls. I believe that was the reason we are not using 2.4
or above.

Hope that makes sense,

Adit
Joe Pham
2007-03-15 02:19:53 UTC
Permalink
Post by Sean Burke
Definitely willing and committed.
Great! Then we can start.
Post by Sean Burke
All of the adjustments arose from not being able to track down the
correct dependency version numbers.
We'd need to stick with the exact version number of those packages
specified in the Developer Page, starting with Python 2.3. Let me
know which package/version you're having difficult to track down and
we go from there.

There're known compatibility issues between wxPython 2.6.x and 2.8.x
and I've been working on them. I'm waiting for the next wxPython
2.8.x release to officially transition over.

-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
Sean Burke
2007-03-15 19:41:06 UTC
Permalink
Post by Joe Pham
We'd need to stick with the exact version number of those packages
specified in the Developer Page, starting with Python 2.3. Let me
know which package/version you're having difficult to track down and
we go from there.
I have a running copy of Python 2.3.5. Everything else is at the most
recent version. Maybe we can compile a list of links to the correct
source version for each package.
(Time passes)
I have tracked down the most of the correct versions but still can't
find wxPython 2.6.x. If you have a link or are cvs savvy and have the
command, I can get it.

Best,

Sean
Joe Pham
2007-03-15 21:16:38 UTC
Permalink
Everything else is at the most recent version. Maybe we can compile
a list of links to the correct source version for each package.
AFAIK, the links and the versions (on the Developer page) are
correct, though may not be the most recent. I try to keep up, but
not always succeed. I'll scan through the list tonight for the most
recent versions and post them. The exception is wxPython for reasons
previously stated.

-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
Joe Pham
2007-03-17 03:54:41 UTC
Permalink
['lib/python2.3/lib-dynload'],

What does this line do? And why did we not have/need it before?

< expect='0.3.6'

I committed this change.

If you're satisfied with your testing, I'd suggest putting it up for
other users to download under the 'bitpim-test' package. If
everything goes well for this build, we'll make it part of the next
release.

-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
Sean Burke
2007-03-17 04:48:13 UTC
Permalink
Post by Sean Burke
['lib/python2.3/lib-dynload'],
OS X applications are actually self contained directories. All of the
required libraries get copied into the Bitpim.app/Contents/Resources
folder. When the wx library is copied to the Resources folder, it ends
up in the lib/python/lib-dynload subfolder. This directory needs to
be added to the list of library paths for the OS X applications. This
file is written to Contents/Info.plist.
This isn't necessary if the library is at the top level. I'm no sure
what Roger's setup was, but my guess is that he just moved the library
to the top level.
Post by Sean Burke
If you're satisfied with your testing, I'd suggest putting it up for
other users to download under the 'bitpim-test' package. If
everything goes well for this build, we'll make it part of the next release.
Agreed. The binary is not universal - I am still working on nailing
down a universal copy of sqlite - but it does work for 10.3+/PPC. How
would you like me to upload the build?


Sean
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Joe Pham
2007-03-17 17:47:15 UTC
Permalink
I'm no sure what Roger's setup was, but my guess is that he just
moved the library to the top level.
I'll check with him.
How would you like me to upload the build?
1. FTP to upload.sourceforge.net
2. Login as "anonymous"
3. Use your e-mail address as the password for this login
4. Set your client to binary mode ("bin" on command-line clients)
5. Change your current directory to /incoming ("cd /incoming")
6. Upload the desired files for the release ("put filename")

Post the file name when you uploaded the file.

-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
Sean Burke
2007-03-19 02:10:52 UTC
Permalink
Joe,
I just uploaded the disk image for build 4156, OS X 10.4/PPC. The
file's name is: bitpim_0_9_13_TIGER_PPC.dmg. As mentioned in the
previous email, I am having trouble putting together a universal build,
but I will be working on it this week. Anyone with extensive sqlite/OS
X experience is welcome to help out.

Best,

Sean
Post by Joe Pham
I'm no sure what Roger's setup was, but my guess is that he just
moved the library to the top level.
I'll check with him.
How would you like me to upload the build?
1. FTP to upload.sourceforge.net
2. Login as "anonymous"
3. Use your e-mail address as the password for this login
4. Set your client to binary mode ("bin" on command-line clients)
5. Change your current directory to /incoming ("cd /incoming")
6. Upload the desired files for the release ("put filename")
Post the file name when you uploaded the file.
-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
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Joe Pham
2007-03-19 03:05:50 UTC
Permalink
The file's name is: bitpim_0_9_13_TIGER_PPC.dmg.
Thanks. I'll add a new release under the 'bitpim-test' package, and
update the main webpage with a link to it.
I am having trouble putting together a universal build
What kind of troubles are you having? AFAIK, apsw/sqlite should
compile pretty much straight out of the box.

-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
Adit Panchal
2007-03-19 04:00:32 UTC
Permalink
Post by Joe Pham
The file's name is: bitpim_0_9_13_TIGER_PPC.dmg.
Thanks. I'll add a new release under the 'bitpim-test' package, and
update the main webpage with a link to it.
I downloaded the test build and got the following traceback (Intel
Mac OS X 10.4.9):

Traceback (most recent call last):
File "/Users/apanchal/Desktop/BitPim.app/Contents/Resources/
__boot__.py", line 31, in ?
_run('bp.py')
File "/Users/apanchal/Desktop/BitPim.app/Contents/Resources/
__boot__.py", line 28, in _run
execfile(path, globals(), globals())
File "/Users/apanchal/Desktop/BitPim.app/Contents/Resources/
bp.py", line 20, in ?
import wx
File "wx/__init__.pyo", line 42, in ?
File "wx/_core.pyo", line 4, in ?
File "wx/_core_.pyo", line 18, in ?
File "wx/_core_.pyo", line 11, in __load
ImportError: dlopen(/Users/apanchal/Desktop/BitPim.app/Contents/
Resources/lib/python2.3/lib-dynload/wx/_core_.so, 2): no suitable
image found. Did find:
/Users/apanchal/Desktop/BitPim.app/Contents/Resources/lib/python2.3/
lib-dynload/wx/_core_.so: mach-o, but wrong architecture
2007-03-18 22:49:35.940 BitPim[3945] BitPim Error
2007-03-18 22:49:35.941 BitPim[3945] BitPim Error
An unexpected error has occurred during execution of the main script

I believe this is related to the fact that I only have the wxPython
2.5 that comes with the system for Python 2.3 (and my copy is Intel)
and your app is looking for the PPC versions of those files for 2.6.3.3.

Adit
Sean Burke
2007-03-19 14:32:01 UTC
Permalink
What kind of troubles are you having? AFAIK, apsw/sqlite should
compile pretty much straight out of the box.

apsw and sqlite compile out of the box for ppc. I can't seem to build a
dynamic universal binary for sqlite (I CAN do it statically, however) This
is holding back a universal apsw build, since the static build seems to not
include some important functions. If anyone has had any success building a
universal sqlite on the PPC, please send me an email.
--
Sean Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Bronx, NY 10461
Joe Pham
2007-03-19 04:06:18 UTC
Permalink
Post by Adit Panchal
your app is looking for the PPC versions
Yes, this is a PPC build.

-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
Adit Panchal
2007-03-19 04:20:53 UTC
Permalink
Post by Joe Pham
Post by Adit Panchal
your app is looking for the PPC versions
Yes, this is a PPC build.
-Joe Pham
Right, but previously when Roger was building the Mac builds, he was
also only making PPC builds. PPC builds are supposed to run fine on
Intel machines, just running in compatibility mode (Rosetta). I would
assume if Sean is following the same steps, then his build should
work the same as Roger's build from before.

Anyways, I think I am on to something. I tried running my build on a
PPC box and it worked fine, except that it gave that
_sqlite3_declare_vtab error, like before on my Intel box when the
build couldn't find the correct version of sqlite3. Basically, I just
need to get the build script to include the correct version of the
sqlite3 shared library into the build and I think it should be ok.

Adit
Sean Burke
2007-03-19 14:36:32 UTC
Permalink
Right, but previously when Roger was building the Mac builds, he was
Post by Adit Panchal
also only making PPC builds. PPC builds are supposed to run fine on
Intel machines, just running in compatibility mode (Rosetta). I would
assume if Sean is following the same steps, then his build should
work the same as Roger's build from before.
This is a flag in the py2app script. I will check to see that the rosetta
command is explicitly called.
--
Sean Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
Bronx, NY 10461
Joe Pham
2007-03-19 21:32:07 UTC
Permalink
since the static build seems to not include some important functions
You should do a static build (I do for Windows and Linux). There
shouldn't be any differences between dynamic & static builds (except
for runtime linking). What functions are you missing in the static
build?

-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
Loading...