Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Václav Šmilauer

 I have a strange error also:
 
 
 RockPress=O.materials.append(RpmMat(young=young,frictionAngle=frictionAngle,poisson=poisson,density=rho,exampleNumber=5))
 NameError: name 'RpmMat' is not defined

Weird, when did it break? Can you send what I asked Sega for in my last
post (yade-trunk -vv etc). Thanks.



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Anton Gladky
We have just talked to him.

Very strange. We cannot start even with r1815!
__
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy


2009/12/1 Václav Šmilauer eudo...@arcig.cz


  I have a strange error also:
 
 
 
 RockPress=O.materials.append(RpmMat(young=young,frictionAngle=frictionAngle,poisson=poisson,density=rho,exampleNumber=5))
  NameError: name 'RpmMat' is not defined

 Weird, when did it break? Can you send what I asked Sega for in my last
 post (yade-trunk -vv etc). Thanks.



 ___
 Mailing list: 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Václav Šmilauer
See the other mail https://lists.launchpad.net/yade-dev/msg02398.html.
This I've already seen. v




___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Anton Gladky
My scons.profile-default:

PREFIX = '/home/gladk/dem/yade/test/build'
debug = True
exclude = 'none'
features = 'gts,log4cxx,opengl,openmp,vtk'
version = 'test'
CXXFLAGS = []
SHCCFLAGS = ['-fPIC']
pretty = False

__

Anton Gladkyy


2009/12/1 Anton Gladky gladky.an...@gmail.com

 In attachment 3 files with logs.

 Thank you.

 PS Actually, it happened on both of my machines
 __

 Anton Gladkyy


 2009/12/1 Václav Šmilauer eudo...@arcig.cz


  One more note. I have one working YADE version. I updated
  CohesiveStateRPMRecorder and saw,
  that not only CohesiveStateRPMRecorder.* files are changed.
 They are reverse-diffs from my changes, and don't affect what you see
 (as far as I see). Please, as written, provide _clean_ build log and
 yade-trunk -vv. It takes just a few minutes.




 ___
 Mailing list: 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Anton Gladky
gl...@iam004:~/dem/yade/test/build/data$ YADE_DEBUG=1 ./../bin/yade-test
Constructing ClassFactory.
Constructing SerializableSingleton.
1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:184 main: YADE_DEBUG
environment variable is defined, logging level set to DEBUG.
1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:190 main: Logger uses
basic (console) configuration since `/home/gladk/.yade-test/logging.conf'
was not found. INFO and DEBUG messages will be omitted.
1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:191 main: Look at the
file doc/logging.conf.sample in the source distribution as an example on how
to customize logging.
9 [0x7f91f5134800] INFO yade null - core/main/main.cpp:236 main: Loading
plugins
54 [0x7f91f5134800] INFO yade.YadeQtMainWindow null -
gui/qt3/YadeQtMainWindow.cpp:65 YadeQtMainWindow: Loading configuration
file: /home/gladk/.yade-test/QtGUIPreferences.xml.
TCP python prompt on localhost:9000, auth cookie `seduay'
TCP info provider on localhost:21000

__   __    _
\ \ / /_ _|  _ \  ___   / ___|___  _ __  ___  ___ | | ___
 \ V / _` | | | |/ _ \ | |   / _ \| '_ \/ __|/ _ \| |/ _ \
  | | (_| | |_| |  __/ | |__| (_) | | | \__ \ (_) | |  __/
  |_|\__,_|/ \___|  \\___/|_| |_|___/\___/|_|\___|


In [1]: 3258 [0x7f91f5134800] INFO yade.utils null - core/main/main.cpp:299
main: Yade: normal exit.
__


Anton Gladkyy


2009/12/1 Václav Šmilauer eudo...@arcig.cz

 yade-trunk -vv should give much more output; OK, I actually fixed that
 yesterday. Please run this:

 YADE_DEBUG=1 yade-trunk

 it should print what plugins with what classes are loaded.

 v.





 ___
 Mailing list: 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Sergei D.
In last revs python is auto removed from feature list by scons. May be
this is a problem?

-- 
Best regards,

Sergei Dorofeenko,
Cand. Phys.-Mat. Sci.

Institute of Problems of Chemical Physics,
Chernogolovka, Moscow region, Russia.

e-mail: dorofee...@icp.ac.ru


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Václav Šmilauer
No, it is not needed anymore, python is always on.
 In last revs python is auto removed from feature list by scons. May be
 this is a problem?
 



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Václav Šmilauer
How come you have no output? This is just useless. I attach what I get
here. I need something like that. v

 gl...@iam004:~/dem/yade/test/build/data$
 YADE_DEBUG=1 ./../bin/yade-test
 Constructing ClassFactory.
 Constructing SerializableSingleton.
 1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:184 main:
 YADE_DEBUG environment variable is defined, logging level set to
 DEBUG.
 1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:190 main:
 Logger uses basic (console) configuration since
 `/home/gladk/.yade-test/logging.conf' was not found. INFO and DEBUG
 messages will be omitted.
 1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:191 main: Look
 at the file doc/logging.conf.sample in the source distribution as an
 example on how to customize logging.
 9 [0x7f91f5134800] INFO yade null - core/main/main.cpp:236 main:
 Loading plugins
 54 [0x7f91f5134800] INFO yade.YadeQtMainWindow null -
 gui/qt3/YadeQtMainWindow.cpp:65 YadeQtMainWindow: Loading
 configuration file: /home/gladk/.yade-test/QtGUIPreferences.xml.
 TCP python prompt on localhost:9000, auth cookie `seduay'
 TCP info provider on localhost:21000
 
 __   __    _  
 \ \ / /_ _|  _ \  ___   / ___|___  _ __  ___  ___ | | ___ 
  \ V / _` | | | |/ _ \ | |   / _ \| '_ \/ __|/ _ \| |/ _ \ 
   | | (_| | |_| |  __/ | |__| (_) | | | \__ \ (_) | |  __/
   |_|\__,_|/ \___|  \\___/|_| |_|___/\___/|_|\___|
 
 
 In [1]: 3258 [0x7f91f5134800] INFO yade.utils null -
 core/main/main.cpp:299 main: Yade: normal exit.
 __
 
 
 Anton Gladkyy
 
 
 2009/12/1 Václav Šmilauer eudo...@arcig.cz
 yade-trunk -vv should give much more output; OK, I actually
 fixed that
 yesterday. Please run this:
 
 YADE_DEBUG=1 yade-trunk
 
 it should print what plugins with what classes are loaded.
 
 
 v.
 
 
 
 
 
 ___
 Mailing list: https://launchpad.net/~yade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~yade-dev
 More help   : https://help.launchpad.net/ListHelp
 
 
 ___
 Mailing list: https://launchpad.net/~yade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~yade-dev
 More help   : https://help.launchpad.net/ListHelp

1 [0x7f5d5fb477d0] INFO yade null - core/main/main.cpp:184 main: YADE_DEBUG environment variable is defined, logging level set to DEBUG.
1 [0x7f5d5fb477d0] INFO yade null - core/main/main.cpp:190 main: Logger uses basic (console) configuration since `/home/vaclav/.yade-trunk-dbg/logging.conf' was not found. INFO and DEBUG messages will be omitted.
1 [0x7f5d5fb477d0] INFO yade null - core/main/main.cpp:191 main: Look at the file doc/logging.conf.sample in the source distribution as an example on how to customize logging.
1 [0x7f5d5fb477d0] DEBUG yade null - core/main/main.cpp:206 main: Initializing Python...
37 [0x7f5d5fb477d0] DEBUG yade null - core/main/main.cpp:228 main: ABRT/SEGV signal handlers set, crash batch created as /home/vaclav/.yade-trunk-dbg/gdb_crash_batch-pid7078
37 [0x7f5d5fb477d0] INFO yade null - core/main/main.cpp:236 main: Loading plugins
37 [0x7f5d5fb477d0] DEBUG yade.Omega null - /home/vaclav/yade/trunk/core/Omega.cpp:193 scanPlugins: Trying libpackages.so
42 [0x7f5d5fb477d0] DEBUG yade.ClassFactory null - /home/vaclav/yade/trunk/lib/factory/ClassFactory.cpp:127 registerPluginClasses: Plugin /home/vaclav/yade/trunk/pkg/dem/Engine/StandAloneEngine/PeriIsoCompressor.cpp, class PeriIsoCompressor
42 [0x7f5d5fb477d0] DEBUG yade.ClassFactory null - /home/vaclav/yade/trunk/lib/factory/ClassFactory.cpp:127 registerPluginClasses: Plugin /home/vaclav/yade/trunk/pkg/dem/DataClass/InteractionGeometry/Dem3DofGeom_FacetSphere.cpp, class Dem3DofGeom_FacetSphere
42 [0x7f5d5fb477d0] DEBUG yade.ClassFactory null - /home/vaclav/yade/trunk/lib/factory/ClassFactory.cpp:127 registerPluginClasses: Plugin /home/vaclav/yade/trunk/pkg/dem/DataClass/InteractionGeometry/Dem3DofGeom_FacetSphere.cpp, class Gl1_Dem3DofGeom_FacetSphere
42 [0x7f5d5fb477d0] DEBUG yade.ClassFactory null - /home/vaclav/yade/trunk/lib/factory/ClassFactory.cpp:127 registerPluginClasses: Plugin /home/vaclav/yade/trunk/pkg/dem/DataClass/InteractionGeometry/Dem3DofGeom_FacetSphere.cpp, class ef2_Facet_Sphere_Dem3DofGeom
42 [0x7f5d5fb477d0] DEBUG yade.ClassFactory null - /home/vaclav/yade/trunk/lib/factory/ClassFactory.cpp:127 registerPluginClasses: Plugin /home/vaclav/yade/trunk/pkg/dem/Engine/DeusExMachina/TriaxialCompressionEngine.cpp, class TriaxialCompressionEngine
42 [0x7f5d5fb477d0] DEBUG yade.ClassFactory null - /home/vaclav/yade/trunk/lib/factory/ClassFactory.cpp:127 registerPluginClasses: Plugin 

Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Anton Gladky
Sorry, I have only what I sent.
Can the problem be in PREFIX using?

Vaclav, when you make a clean install, all is working for you?
__

Anton Gladkyy


2009/12/1 Václav Šmilauer eudo...@arcig.cz

 How come you have no output? This is just useless. I attach what I get
 here. I need something like that. v

  gl...@iam004:~/dem/yade/test/build/data$
  YADE_DEBUG=1 ./../bin/yade-test
  Constructing ClassFactory.
  Constructing SerializableSingleton.
  1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:184 main:
  YADE_DEBUG environment variable is defined, logging level set to
  DEBUG.
  1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:190 main:
  Logger uses basic (console) configuration since
  `/home/gladk/.yade-test/logging.conf' was not found. INFO and DEBUG
  messages will be omitted.
  1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:191 main: Look
  at the file doc/logging.conf.sample in the source distribution as an
  example on how to customize logging.
  9 [0x7f91f5134800] INFO yade null - core/main/main.cpp:236 main:
  Loading plugins
  54 [0x7f91f5134800] INFO yade.YadeQtMainWindow null -
  gui/qt3/YadeQtMainWindow.cpp:65 YadeQtMainWindow: Loading
  configuration file: /home/gladk/.yade-test/QtGUIPreferences.xml.
  TCP python prompt on localhost:9000, auth cookie `seduay'
  TCP info provider on localhost:21000
 
  __   __    _
  \ \ / /_ _|  _ \  ___   / ___|___  _ __  ___  ___ | | ___
   \ V / _` | | | |/ _ \ | |   / _ \| '_ \/ __|/ _ \| |/ _ \
| | (_| | |_| |  __/ | |__| (_) | | | \__ \ (_) | |  __/
|_|\__,_|/ \___|  \\___/|_| |_|___/\___/|_|\___|
 
 
  In [1]: 3258 [0x7f91f5134800] INFO yade.utils null -
  core/main/main.cpp:299 main: Yade: normal exit.
  __
 
 
  Anton Gladkyy
 
 
  2009/12/1 Václav Šmilauer eudo...@arcig.cz
  yade-trunk -vv should give much more output; OK, I actually
  fixed that
  yesterday. Please run this:
 
  YADE_DEBUG=1 yade-trunk
 
  it should print what plugins with what classes are loaded.
 
 
  v.
 
 
 
 
 
  ___
  Mailing list: 
  https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
  Post to : yade-dev@lists.launchpad.net
  Unsubscribe : 
  https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
  More help   : https://help.launchpad.net/ListHelp
 
 
  ___
  Mailing list: 
  https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
  Post to : yade-dev@lists.launchpad.net
  Unsubscribe : 
  https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
  More help   : https://help.launchpad.net/ListHelp


 ___
 Mailing list: 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Václav Šmilauer

 Vaclav, when you make a clean install, all is working for you?

OOO!! I just tried and it doesn't, sorry! I will fix that in a
moment, I hope :-\



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Anton Gladky
One more notice.
The last revision, what provides more-less useful YADE_DEBUG is 1817.
1818 gives, what I sent before.

Sorry for annoying :)
__

Anton Gladkyy


2009/12/1 Anton Gladky gladky.an...@gmail.com

 Sorry, I have only what I sent.
 Can the problem be in PREFIX using?

 Vaclav, when you make a clean install, all is working for you?

 __

 Anton Gladkyy


 2009/12/1 Václav Šmilauer eudo...@arcig.cz

 How come you have no output? This is just useless. I attach what I get
 here. I need something like that. v

  gl...@iam004:~/dem/yade/test/build/data$
  YADE_DEBUG=1 ./../bin/yade-test
  Constructing ClassFactory.
  Constructing SerializableSingleton.
  1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:184 main:
  YADE_DEBUG environment variable is defined, logging level set to
  DEBUG.
  1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:190 main:
  Logger uses basic (console) configuration since
  `/home/gladk/.yade-test/logging.conf' was not found. INFO and DEBUG
  messages will be omitted.
  1 [0x7f91f5134800] INFO yade null - core/main/main.cpp:191 main: Look
  at the file doc/logging.conf.sample in the source distribution as an
  example on how to customize logging.
  9 [0x7f91f5134800] INFO yade null - core/main/main.cpp:236 main:
  Loading plugins
  54 [0x7f91f5134800] INFO yade.YadeQtMainWindow null -
  gui/qt3/YadeQtMainWindow.cpp:65 YadeQtMainWindow: Loading
  configuration file: /home/gladk/.yade-test/QtGUIPreferences.xml.
  TCP python prompt on localhost:9000, auth cookie `seduay'
  TCP info provider on localhost:21000
 
  __   __    _
  \ \ / /_ _|  _ \  ___   / ___|___  _ __  ___  ___ | | ___
   \ V / _` | | | |/ _ \ | |   / _ \| '_ \/ __|/ _ \| |/ _ \
| | (_| | |_| |  __/ | |__| (_) | | | \__ \ (_) | |  __/
|_|\__,_|/ \___|  \\___/|_| |_|___/\___/|_|\___|
 
 
  In [1]: 3258 [0x7f91f5134800] INFO yade.utils null -
  core/main/main.cpp:299 main: Yade: normal exit.
  __
 
 
  Anton Gladkyy
 
 
  2009/12/1 Václav Šmilauer eudo...@arcig.cz
  yade-trunk -vv should give much more output; OK, I actually
  fixed that
  yesterday. Please run this:
 
  YADE_DEBUG=1 yade-trunk
 
  it should print what plugins with what classes are loaded.
 
 
  v.
 
 
 
 
 
  ___
  Mailing list: 
  https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
  Post to : yade-dev@lists.launchpad.net
  Unsubscribe : 
  https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
  More help   : https://help.launchpad.net/ListHelp
 
 
  ___
  Mailing list: 
  https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
  Post to : yade-dev@lists.launchpad.net
  Unsubscribe : 
  https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
  More help   : https://help.launchpad.net/ListHelp


 ___
 Mailing list: 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Sergei D.

 Vaclav, when you make a clean install, all is working for you?
 
 OOO!! I just tried and it doesn't, sorry! I will fix that in a
 moment, I hope :-\
 

Problem revision is 1820.
rev1819 works well.

-- 
Best regards,

Sergei Dorofeenko,
Cand. Phys.-Mat. Sci.

Institute of Problems of Chemical Physics,
Chernogolovka, Moscow region, Russia.

e-mail: dorofee...@icp.ac.ru


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-12-01 Thread Václav Šmilauer

 Problem revision is 1820.
 rev1819 works well.
I know, I used bzr bisect ;-)




___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-11-30 Thread Sergei D.
I have no errors during compilation, but if I run script I get:

s...@think:~/work/yade/trunk/scripts/test yade-trunk facet-sphere.py
TCP python prompt on localhost:9000, auth cookie `aeduys'
TCP info provider on localhost:21000
Running script facet-sphere.py
Traceback (most recent call last):
  File /home/sega/YADE/lib/yade-trunk/gui/PythonUI_rc.py, line 131, in
module
execfile(runtime.script)
  File facet-sphere.py, line 6, in module
BexResetter(),
NameError: name 'BexResetter' is not defined

s...@think:~/work/yade/trunk/scripts/test yade-trunk
clump-hopper-viscoelastic.py
TCP python prompt on localhost:9000, auth cookie `asduck'
TCP info provider on localhost:21000
Running script clump-hopper-viscoelastic.py
Traceback (most recent call last):
  File /home/sega/YADE/lib/yade-trunk/gui/PythonUI_rc.py, line 131, in
module
execfile(runtime.script)
  File clump-hopper-viscoelastic.py, line 18, in module

facetMat=O.materials.append(SimpleViscoelasticMat(frictionAngle=frictionAngle,**params))
# **params sets kn, cn, ks, cs
NameError: name 'SimpleViscoelasticMat' is not defined

and so on... (it is for clean compilation with defaults)...

-- 
Best regards,

Sergei Dorofeenko,
Cand. Phys.-Mat. Sci.

Institute of Problems of Chemical Physics,
Chernogolovka, Moscow region, Russia.

e-mail: dorofee...@icp.ac.ru


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-11-30 Thread Václav Šmilauer
Unable to reproduce, please run yade (just the command-line) and send
output of the following:

_pyRootClasses 
O.childClasses('StandAloneEngine')
listChildClassesRecursive('Material')
dir()

You should get something like 

set(['BoundingVolume',
 'BoundingVolumeEngineUnit',
 'ConstitutiveLaw',
 'DeusExMachina',
 'FileGenerator',
 'InteractingGeometry',
 'InteractionGeometry',
 'InteractionGeometryEngineUnit',
 'InteractionPhysics',
 'InteractionPhysicsEngineUnit',
 'Material',
 'StandAloneEngine',
 'State'])

['BexResetter',
 'Collider',
 'InteractionDispatchers',
 'InteractionSolver',
 'NewtonsDampedLaw',
 'PeriIsoCompressor',
 'PeriodicEngine',
 'PhysicalActionContainerReseter',
 'TimeStepper',
 'UniaxialStrainer']

set(['CpmMat', 'ElasticMat', 'GranularMat', 'RpmMat',
'SimpleViscoelasticMat'])

and 

[bunch of stuff here, starting with BexContainer, since it is
alphabetical


Run scons clean and compile again, this looks like someting suspicious.
Don't you get some warning at startup or such?

(Sorry, i leave in a few minutes, will be back in the evening).

Vaclav

 I have no errors during compilation, but if I run script I get:
 
 s...@think:~/work/yade/trunk/scripts/test yade-trunk facet-sphere.py
 TCP python prompt on localhost:9000, auth cookie `aeduys'
 TCP info provider on localhost:21000
 Running script facet-sphere.py
 Traceback (most recent call last):
   File /home/sega/YADE/lib/yade-trunk/gui/PythonUI_rc.py, line 131, in
 module
 execfile(runtime.script)
   File facet-sphere.py, line 6, in module
 BexResetter(),
 NameError: name 'BexResetter' is not defined



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

2009-11-30 Thread Sergei D.

s...@think:~/work/yade/trunk/scripts/test yade-trunk
TCP python prompt on localhost:9000, auth cookie `cduasy'
TCP info provider on localhost:21000

__   __    _
\ \ / /_ _|  _ \  ___   / ___|___  _ __  ___  ___ | | ___
 \ V / _` | | | |/ _ \ | |   / _ \| '_ \/ __|/ _ \| |/ _ \
  | | (_| | |_| |  __/ | |__| (_) | | | \__ \ (_) | |  __/
  |_|\__,_|/ \___|  \\___/|_| |_|___/\___/|_|\___|


In [1]: _pyRootClasses
Out[1]:
set(['BoundingVolume',
 'BoundingVolumeEngineUnit',
 'ConstitutiveLaw',
 'DeusExMachina',
 'FileGenerator',
 'InteractingGeometry',
 'InteractionGeometry',
 'InteractionGeometryEngineUnit',
 'InteractionPhysics',
 'InteractionPhysicsEngineUnit',
 'Material',
 'StandAloneEngine',
 'State'])

In [2]: O.childClasses('StandAloneEngine')
Out[2]: []

In [3]: listChildClassesRecursive('Material')
Out[3]: set()

In [4]: dir()
Out[4]:
['BexContainer',
 'Body',
 'BodyContainer',
 'BodyIterator',
 'BoundingVolume',
 'BoundingVolumeEngineUnit',
 'BoundingVolumeMetaEngine',
 'ConstitutiveLaw',
 'ConstitutiveLawDispatcher',
 'DeusExMachina',
 'Engine',
 'EngineUnit',
 'FileGenerator',
 'IPShellEmbed',
 'IPython',
 'In',
 'InteractingGeometry',
 'Interaction',
 'InteractionContainer',
 'InteractionDispatchers',
 'InteractionGeometry',
 'InteractionGeometryEngineUnit',
 'InteractionGeometryMetaEngine',
 'InteractionIterator',
 'InteractionPhysics',
 'InteractionPhysicsEngineUnit',
 'InteractionPhysicsMetaEngine',
 'Material',
 'MaterialContainer',
 'MetaEngine',
 'Omega',
 'Out',
 'ParallelEngine',
 'Quaternion',
 'STLImporter',
 'Serializable',
 'StandAloneEngine',
 'State',
 'TagsWrapper',
 'TimingDeltas',
 'Vector2',
 'Vector3',
 '_',
 '_1',
 '_2',
 '_3',
 '__',
 '__IP',
 '___',
 '__builtins__',
 '__doc__',
 '__file__',
 '__name__',
 '__package__',
 '_allSerializables',
 '_dh',
 '_i',
 '_i1',
 '_i2',
 '_i3',
 '_i4',
 '_ih',
 '_ii',
 '_iii',
 '_ip',
 '_noPropsClasses',
 '_oh',
 '_proxiedClasses',
 '_proxyNamespace',
 '_pyRootClasses',
 '_sh',
 'acos',
 'acosh',
 'asin',
 'asinh',
 'atan',
 'atan2',
 'atanh',
 'ceil',
 'cleanup',
 'componentMaxVector',
 'componentMinVector',
 'componentSum',
 'copysign',
 'cos',
 'cosh',
 'degrees',
 'diagDiv',
 'diagMult',
 'division',
 'e',
 'exp',
 'fabs',
 'factorial',
 'floor',
 'fmod',
 'frexp',
 'fsum',
 'help',
 'hypot',
 'info',
 'ip',
 'ipshell',
 'isinf',
 'isnan',
 'ldexp',
 'listChildClassesRecursive',
 'log',
 'log10',
 'log1p',
 'modf',
 'oldName',
 'pi',
 'pow',
 'quaternionFromAxes',
 'quaternionToAxes',
 'quaternionToEulerAngles',
 'quaterniontoGLMatrix',
 'radians',
 'renamed',
 'root',
 'rootType',
 'runtime',
 'sin',
 'sinh',
 'sqrt',
 'srv',
 'sys',
 'tan',
 'tanh',
 'trunc',
 'unitVectorsAngle',
 'utils',
 'warnWrap',
 'yade',
 'yade_completers']

In [5]:


 Unable to reproduce, please run yade (just the command-line) and send
 output of the following:

 _pyRootClasses
 O.childClasses('StandAloneEngine')
 listChildClassesRecursive('Material')
 dir()

 You should get something like

 set(['BoundingVolume',
  'BoundingVolumeEngineUnit',
  'ConstitutiveLaw',
  'DeusExMachina',
  'FileGenerator',
  'InteractingGeometry',
  'InteractionGeometry',
  'InteractionGeometryEngineUnit',
  'InteractionPhysics',
  'InteractionPhysicsEngineUnit',
  'Material',
  'StandAloneEngine',
  'State'])

 ['BexResetter',
  'Collider',
  'InteractionDispatchers',
  'InteractionSolver',
  'NewtonsDampedLaw',
  'PeriIsoCompressor',
  'PeriodicEngine',
  'PhysicalActionContainerReseter',
  'TimeStepper',
  'UniaxialStrainer']

 set(['CpmMat', 'ElasticMat', 'GranularMat', 'RpmMat',
 'SimpleViscoelasticMat'])

 and

 [bunch of stuff here, starting with BexContainer, since it is
 alphabetical


 Run scons clean and compile again, this looks like someting suspicious.
 Don't you get some warning at startup or such?



-- 
Best regards,

Sergei Dorofeenko,
Cand. Phys.-Mat. Sci.

Institute of Problems of Chemical Physics,
Chernogolovka, Moscow region, Russia.

e-mail: dorofee...@icp.ac.ru


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp