Hi Andre

I believe that this issue may arise because of differing systems for
parsing numbers arising from our mixed use of Python and C/C++. I
haven't examined it it much more detail than that, but I do believe that
the UNITS_RE in the file pygtk/varentry.py is certainly part of the
problem (or could it even be the entirety of the problem??). Maybe you
could do some testing for us?

Cheers
JP

andre wrote:
>
> But is there a possibility to allow either ‘.’ Or ‘,’ to separate the
> integer part of a number from the decimal one?
>
>  
>
> *De:* andre [mailto:[email protected]]
> *Enviada em:* Monday, March 21, 2011 4:30 PM
> *Para:* 'John Pye'
> *Cc:* '[email protected]'
> *Assunto:* RES: RES: [ASCEND] Doubt
>
>  
>
> I’ve found a solution to the problem in the bug section of ascend. The
> id was 0000337. So there is no problem anymore.
>
>  
>
> *De:* John Pye [mailto:[email protected]]
> *Enviada em:* Monday, March 21, 2011 3:19 PM
> *Para:* andre
> *Cc:* [email protected]
> *Assunto:* Re: RES: [ASCEND] Doubt
>
>  
>
> Hi Andrej
>
> Sorry, are you compiling from source here, or using our 0.9.7 windows
> installer?
>
> Suggest you try please building from our trunk source and see if the
> problem persists. I haven't seen the particular issue you mention in
> any of my testing, so if it reproduces on our trunk code, I'd really
> like to know about it.
>
> Regarding Krishnan's comments, that is probably fixed by turning off
> the binary compilation option in the menus.
>
> Cheers
> JP
>  
> On 22/03/11 01:47, andre wrote:
>
> Hi
>
> That’s the example I’ve mentioned.
>
> When I tried to solve that it didn’t converge.
>
> I am using windows vista and it was the last version of ascend from
> web I’ve installed.
>
>  
>
> *De:* [email protected]
> <mailto:[email protected]>
> [mailto:[email protected]] *Em nome de *Krishnan Chittur
> *Enviada em:* segunda-feira, 21 de Março de 2011 02:06
> *Para:* John Pye
> *Cc:* andre; [email protected]
> <mailto:[email protected]>
> *Assunto:* Re: [ASCEND] Doubt
>
>  
>
> ... a few lines during the scons install (error during install scons
> INSTALL_PREFIX=/home/kchittur etc etc)
> and scons install  (it is python 2.6 ... that could be the problem)
>
> it installed ascend and ascend4 (even with these errors)
>
> Chmod("/home/kchittur/lib/python2.6/_fprops.so", 0644)
> Install file: "ascxx/_ascpy.so" as
> "/home/kchittur/lib/python2.6/ascend/_ascpy.so"
> Chmod("/home/kchittur/lib/python2.6/ascend/_ascpy.so", 0644)
> Install file: "ascxx/ascpy.py" as
> "/home/kchittur/lib/python2.6/ascend/ascpy.py"
> scons: *** [/home/kchittur/lib/python2.6/ascend/ascpy.py]
> AssertionError : Installing source ['ascxx/ascpy.py',
> 'pygtk/ascpy.py'] into target
> ['/home/kchittur/lib/python2.6/ascend/ascpy.py']: target and source
> lists must have same length.
> Traceback (most recent call last):
>   File "/usr/lib/scons/SCons/Action.py", line 1050, in execute
>     result = self.execfunction(target=target, source=rsources, env=env)
>   File "/usr/lib/scons/SCons/Tool/install.py", line 79, in installFunc
>     "Installing source %s into target %s: target and source lists must
> have same length."%(map(str, source), map(str, target))
> AssertionError: Installing source ['ascxx/ascpy.py', 'pygtk/ascpy.py']
> into target ['/home/kchittur/lib/python2.6/ascend/ascpy.py']: target
> and source lists must have same length.
> scons: building terminated because of errors.
> all done
>
> during run it gave me this error
>
> Starting build, command
> make -f ascend/bintokens/Makefile ASCBT_TARGET=/tmp/asc_bintoken.so
> etc etc
>
> Unable to build binary
>
> error during instantiation
>
> On Sun, Mar 20, 2011 at 8:11 PM, John Pye <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hi Krishnan, Andre
>
> Are we talking here about the first example, "MODEL tank" from the
> "ASCEND overview" page? I loaded it with ASCEND and got no errors.
> Please give more details: operating system, ASCEND version (svn or web
> download), etc.
>
> Cheers
> JP
>
>
> Krishnan Chittur wrote:
> > I see a minor problem with the pygtk GUI (John?) - the model compiles
> > and runs fine with the tcltk gui ...
> >
> > On Sun, Mar 20, 2011 at 6:34 PM, andre <[email protected]
> <mailto:[email protected]>
>
> > <mailto:[email protected] <mailto:[email protected]>>> wrote:
> >
> >     Hello
> >
> >
> >
> >     I started with ASCEND recently and I found a problem in my first
> >     example.
> >
> >     After the installation I tried to understand the first example on
> >     this page (http://ascendwiki.cheme.cmu.edu/ASCEND_overview ) but
> >     appeared some errors like:
> >
> >     -“The fixed variable ‘d’ was set above its upper bound”
> >
> >     - The same for variable h
> >
> >     - “Solutions for ‘V’ in ‘vol_eqn’ out of bounds”
> >
> >     And some more.
> >
> >
> >
> >     I changed manually the upper bound of variables d and h and the
> >     first problems disappeared. However the result is not correct. I
> >     think it is caused because of the number of iterations. I tried to
> >     change the options in “tools”, “solver parameters” but I couldn’t
> >     get the right values.
> >
> >
> >
> >     Is there some problem with the code presented in there?
> >
> >
> >
> >     Thanks  in advance
> >
> >
> >
> >     Andre
> >
> >
> >    
> ------------------------------------------------------------------------------
> >     Colocation vs. Managed Hosting
> >     A question and answer guide to determining the best fit
> >     for your organization - today and in the future.
> >     http://p.sf.net/sfu/internap-sfd2d
> >     _______________________________________________
> >     Ascend-sim-users mailing list
> >     [email protected]
> <mailto:[email protected]>
>
> >     <mailto:[email protected]
> <mailto:[email protected]>>
>
> >     https://lists.sourceforge.net/lists/listinfo/ascend-sim-users
> >
> >
> >
> >
> > --
> > Not sent from an Android or iPhone or Blackberry or some gizmo.
> > Sent from my computer running Ubuntu - using ethernet hardware, tcp/ip
> > software, servers exchanging packets in etherspace
> > Please do not reply, forward or call unless absolutely necessary (why
> > waste electricity?)
> > Please do not do anything that consumes energy, unless absolutely
> > necessary.
> > (and so on and so on and so on ... add your own admonishments)
> > Chemical/Materials Engineering, EB 121
> > University of Alabama Huntsville
> > Huntsville, AL 35899
> > (256) 824 3596 <tel:%28256%29%20824%203596> (V)
> >
> >
> >
>
> > ------------------------------------------------------------------------
>
> >
> >
> ------------------------------------------------------------------------------
> > Colocation vs. Managed Hosting
> > A question and answer guide to determining the best fit
> > for your organization - today and in the future.
> > http://p.sf.net/sfu/internap-sfd2d
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Ascend-sim-users mailing list
> > [email protected]
> <mailto:[email protected]>
> > https://lists.sourceforge.net/lists/listinfo/ascend-sim-users
> >
>
>
> --
>
> Dr John Pye
> Dept of Engineering
> Australian National University
>
>
>
>
> -- 
> Not sent from an Android or iPhone or Blackberry or some gizmo.
> Sent from my computer running Ubuntu - using ethernet hardware, tcp/ip
> software, servers exchanging packets in etherspace
> Please do not reply, forward or call unless absolutely necessary (why
> waste electricity?)
> Please do not do anything that consumes energy, unless absolutely
> necessary.
> (and so on and so on and so on ... add your own admonishments)
> Chemical/Materials Engineering, EB 121
> University of Alabama Huntsville
> Huntsville, AL 35899
> (256) 824 3596 (V)
>
>
>  
>


-- 
Dr John Pye
Dept of Engineering
Australian National University



------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to