Bus error in Priithon_25_mac_2009-06-18

3 views
Skip to first unread message

Danny

unread,
Dec 7, 2009, 7:47:25 PM12/7/09
to Priithon
Hello there,

I have attempted to install and run the 2009-06-18 version on my
macbook OS 10.5. (unpack dmg and run priithon_script). I see the
xterm-like window start with a few messages and a prompt, but before
it finishes loading
I get this:

danny@djm:src_find$ priithon_script
/Library/Python/2.5/site-packages/scipy-0.6.0-py2.5-macosx-10.5-
i386.egg/scipy/misc/__init__.py:25: DeprecationWarning: NumpyTest will
be removed in the next release; please update your code to use nose or
unittest
test = NumpyTest().test
/Library/Python/2.5/site-packages/scipy-0.6.0-py2.5-macosx-10.5-
i386.egg/scipy/ndimage/__init__.py:40: DeprecationWarning: NumpyTest
will be removed in the next release; please update your code to use
nose or unittest
test = NumpyTest().test
/Users/danny/bin/priithon_script: line 47: 22149 Bus
error $PYW ${PRI}/Priithon/PriShell.py
danny@djm:src_find$

I am confused about the requirements for priithon. What version of
python does it run off of and what packages do I need to have? I
thought from my reading of the description that the package was
completely self sufficient. Any obvious solution to my problem? I
can provide more details about python configuration if that's
necessary.

Thanks!
~Danny

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Danny Jacobs

Dept. of Physics and Astronomy
University of Pennsylvania
209 South 33rd Street
Philadelphia, PA 19104-6396
-------------------------------------------------
Office: Rittenhouse Lab - 1n2a
Phone: (215) 280-7357
Fax: (215) 898-2010
Homepage: http://dannycjacobs.googlepages.com

Sebastian Haase

unread,
Jan 17, 2010, 6:23:43 AM1/17/10
to Danny Jacobs, Priithon
Hi Danny,
I think these days there are two "giant" everything including python
super-packages:
The Enthought EPD and Python-xy. They support windows and maybe mac.
But not linux.

Priithon in constrast is more target-oriented towards image analysis
and related development.
For this purpose Priithon is an all-including package for mac, linux
and windows that does not require admin privileges to install.
However, only for windows I now include the Python interpreter itself,
while for Linux and Mac I rely on the Python installation that comes
with the system.

Currently Priithon is for Python 2.5 (that is, if the Priithon package
name has a _25_ in its name).
For Mac there are some potential problems, and people have reported
(non Priithon related), that even if 2.5 Python comes with the OS (I
think this is the case for 10.4 and 10.5, right !?) they had to
install an "official" python from www.python.org/download to get some
problems solved.

Your error
/Library/Python/2.5/site-packages/scipy-0.6.0-py2.5-macosx-10.5-i386.egg
tells me that you have an intel mac (right?)
and that you already have a (rather old) scipy 0.6 installed. (you
might want to delete that)
I have to check, but Priithon should come with scipy 0.7 and numpy 1.3
for the latest files at googlecode for all platforms.

Regarding your error message line:
/Users/danny/bin/priithon_script
Is this "priithon_script" in you bin folder a symbolic link !?
Ultimately there needs to be a priithon_script
that stays in the root folder of your priithon installation - this is
how priithon bootstraps itself to find the sub-packages that come with
it.
(This priithon_script file is where a symbolic link can point to [I
like to call it bin/priithon],
But first, try to start that priithon_script file first - directly)

Regards,
Sebastian


On Sat, Jan 16, 2010 at 11:06 PM, Danny Jacobs <jaco...@sas.upenn.edu> wrote:
> Hi Sebastian,
>
> No problem. Sure, I would be interested in getting your package to
> run. This was the first time I encountered a higher level python based
> package with nuts and bolts included.  Since then I have seen at least
> one other, so I'm not so confused. Though I am still unclear about the
> dependencies required.
> Any idea where the bus error (seg fault) is happening?  Do you have a
> mac for testing, or maybe a newer version for me to test?
>
> Cheers,
> ~Danny
>
>
> On Sat, Jan 16, 2010 at 3:35 AM, sebhaase <seb....@gmail.com> wrote:
>> Hi Danny,
>> I'm sorry I totally missed your posting, maybe it got somehow filtered
>> out.
>> Are you still interested in solving thing problem?
>> Regards
>> -Sebastian

Reply all
Reply to author
Forward
0 new messages