Hello friends Ascend.
My name is Carlos Cardenas wrote me a few days ago John Pye in the comments
of my Google Summer of Code proposal. I'm participating in the "Packaging
for Mac". Well I followed all the steps for both Gnome and Port Mac Ascend.
I tell them how I was.
John asked me about work I hope to some of them I need to upgrade :/ put
mir and place according to data requested by the community.
In principle I say I'm a Linux user since 10 years ago: S almost learned to
use the internet as linux at the same time, and if I have some experience
in development in perl, python, c / c + +. Recently last year with a little
effort I bought this machine. I wanted to see new things and doing
development in this new experience while carrying my courses.
I use the xcode, git, svn and I have managed to download the package from
source ASCEND "trunk". All good. In the next step Download the jhbuild as
Linux started to install the packages, everything is installed gtk / inst /
*, then i installed the scons from sources to the folder gtk / inst to keep
things that way of development. I installed from Easy_ way too.
When compiling ASCEND I realized I had some shortcomings but overlooked but
using test.py having the default version of python2.7 and python version of
gtk / inst / bin always were asking me to have both a file test.py2.7 so
test.py.27 copied the file, yet after spending called test.py that the
environment variables, and then stopped because the modules called and
ascpy dl. So good to recompile the 2.7 I thought there was the problem.
Then look on the internet here where for January and February also had
similar problems to mine so look in python and also note that the dl is
deprecated: "Deprecated since version 2.6: The dl module Has Been removed
in Python 3.0. Use the ctypes module instead. "
So in my proposal will be passed to use ctype dl. But to get by copy of
version 2.5 or 2.6 dl the version of python version 2.7 now installed
jhbuild. And I got out of step, but even so I Salian some problems related
to PAHT_PKGCONFIG of graphviz library and as I had not install pkg-config,
so recompile ASCEND and I notice that also dint found sundails swig. Then i
installed them both with the dependence pcre-8.30.zip.
With them ASCEND compilation looks much better. But I continue to have
problems with the execution of test.py
Now I have this error:
Traceback (most recent call last):
File "/ Users/lucialoyola/ascen/test.py2.7", line 1696, in <module>
unittest.main ()
File "/
System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py",
line 94, in __ init__
self.parseArgs (argv)
File "/
System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py",
line 149, in parseArgs
self.createTests ()
File "/
System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py",
line 158, in createTests
self.module)
File "/
System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py",
line 128, in loadTestsFromNames
suites = [self.loadTestsFromName (name, module) for name in names]
File "/
System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py",
line 100, in loadTestsFromName
parent, obj = obj, getattr (obj, part)
AttributeError: 'module' object has no attribute''
Logically if I comment the line 1969 and I get no error .
To use the ascend / pygtk / ascend I get the following:
ASCENDSOLVERS = / Users / lucialoyola / ascending :/ Users / lucialoyola
/ ascending / pygtk / Solvers
('PYTHON =', '/ usr / bin / python')
('Script =', '/ Users / lucialoyola / ascending / pygtk / PyGTK.bundle /
python / ascend')
ascend: Could not resolve realpath "/ Users / lucialoyola / ascending /
pygtk / PyGTK.bundle / python / ascend"
Since this reacionado to unittest and is where I stayed and I need help
getting out of this step.
I also saw a suggestion of John Pye on going from LD_LIBRARY_PATH to
DYLD_LIBRARY_PATH in the code I made.
Now I have a better ide of where I go in the project so that opens some bug
in the system of mantis. I found only 3 are still open Aque John yet, but
not related to this.
I am using Xcode 4.2 (828) on a MacBook Air Intel Core i5 with Lion. 10.7.
Will have skype, msn or irc or whasup for talk.
--
--
Ing. Carlos Mauro Cárdenas Fernández.
CIP Nr 116251.
Casa: 4815857
Claro: 980525716 || Movistar RPM: 999314206
Creo en el Amor de los Seres Humanos
http://unimauro.blogspot.com.
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users