Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

blender, chatserver, and OCBTree error. #14

Closed
mjsduncan opened this issue May 26, 2016 · 14 comments
Closed

blender, chatserver, and OCBTree error. #14

mjsduncan opened this issue May 26, 2016 · 14 comments

Comments

@mjsduncan
Copy link

mjsduncan commented May 26, 2016

current pull builds with no errors. blender head bobs and blinks, but blender tmux shell has this output:

connect failed: No such file or directory
read blend: /home/biocog/hansonrobotics/HEAD/src/blender_api/Sophia.blend
Dependency cycle detected:
  deform depends on control through Child Of.
  control depends on deform through Locked Track.

Command Source 'ros' won't build
No Command Sources found

and OCBTree crashes:

Listening on port 17020
--- Wake up! Elapsed: 1464272569.251680 seconds
----- Behavior pub: Waking up
Publish soma state: normal intensity: 0.1
GNU Guile 2.0.9
Copyright (C) 1995-2013 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> Backtrace:
In ice-9/boot-9.scm:
 157: 2 [catch #t #<catch-closure 1802dc0> ...]
In unknown file:
   ?: 1 [apply-smob/1 #<catch-closure 1802dc0>]
   ?: 0 [opencog-extension cog-evaluate! ((DefinedPredicateNode "main loop")
)]

ERROR: In procedure opencog-extension:
ERROR: Throw to key `C++-EXCEPTION' with args `("cog-evaluate!" "Expecting a number, got this: (GetLink\n  (VariableNode \"$int-min\") ; [1449][1]\n  (StateLink\n    (ListLink\n      (ConceptNode \"wake-up\") ; [609][1]\n      (SetLink\n        (ListLink\n          (NumberNode \"0.600000\") ; [475][1]\n          (ConceptNode \"happy\") ; [513][1]\n        ) ; [3838][1]\n        (ListLink\n          (NumberNode \"0.100000\") ; [572][1]\n          (ConceptNode \"irritated\") ; [635][1]\n        ) ; [3839][1]\n        (ListLink\n          (NumberNode \"0.300000\") ; [490][1]\n          (ConceptNode \"surprised\") ; [446][1]\n        ) ; [3840][1]\n      ) ; [3841][1]\n      (SchemaNode \"duration-min\") ; [460][1]\n    ) ; [18446744073709551615][18446744073709551615]\n    (VariableNode \"$int-min\") ; [1449][1]\n  ) ; [18446744073709551615][18446744073709551615]\n) ; [18446744073709551615][18446744073709551615]\n (/home/biocog/hansonrobotics/opencog/atomspace/opencog/atoms/core/RandomNumber.cc:84)")'.

scheme@(guile-user)>

chatbot shell produces error described in issue #2 .
face tracking works fine. i suspect a ros associated python path issue, possibly related to restapi unit test failure in opencog/opencog

@mjsduncan
Copy link
Author

here's a screen shot showing the webUI monitor page with errors:
screenshot from 2016-05-26 11 21 13

@mjsduncan
Copy link
Author

apparently the chatbot is working, it's just not detected by UI. same errors in blender and OCBTree for commit 3e5110.

@wenwei-dev
Copy link
Contributor

Hi @mjsduncan , webui monitoring is going to be updated.

Command Source 'ros' won't build
No Command Sources found

I've fixed a bug in hrtool that used pip2 to install blender_api_msgs. You can pull the latest master and run ./hrtool -b again. After that you should not see such error.

@mjsduncan
Copy link
Author

thanks @wenwei-dev no issue in the blender shell now. i did notice that in the rviz window the eye vectors point up when the the blender head eyes look down and vice versa. horizontal motion matches.

@linas
Copy link
Contributor

linas commented May 27, 2016

Is the "cog-evaluate!" "Expecting a number thing still happening? If so, I think I may know the cause: I made some changes a few days ago that might be causing this. Apparently, the unit tests didn't catch the issue.

@wenwei-dev
Copy link
Contributor

@linas The crash of btree was probably because the blender_api_msgs was not found.

@linas
Copy link
Contributor

linas commented Jun 1, 2016

Is the "cog-evaluate!" "Expecting a number thing still happening? If so, I think I may know the cause: I made some changes a few days ago that might be causing this. Apparently, the unit tests didn't catch the issue.

@mjsduncan
Copy link
Author

@linas it's still happening for me.
from ocbtree window (tmux 4):

scheme@(guile-user)> Backtrace:
In ice-9/boot-9.scm:
 157: 2 [catch #t #<catch-closure 2c02d60> ...]
In unknown file:
   ?: 1 [apply-smob/1 #<catch-closure 2c02d60>]
   ?: 0 [opencog-extension cog-evaluate! ((DefinedPredicateNode "main loop")
)]

ERROR: In procedure opencog-extension:
ERROR: Throw to key `C++-EXCEPTION' with args `("cog-evaluate!" "Expecting a number, got this: (GetLink\n  (VariableNode \"$int-min\") ; [1449][1]\n  (StateLink\n    (ListLink\n      (ConceptNode \"wake-up\") ; [609][1]\n      (SetLink\n        (ListLink\n          (NumberNode \"0.600000\") ; [475][1]\n          (ConceptNode \"happy\") ; [513][1]\n        ) ; [3838][1]\n        (ListLink\n          (NumberNode \"0.100000\") ; [572][1]\n          (ConceptNode \"irritated\") ; [635][1]\n        ) ; [3839][1]\n        (ListLink\n          (NumberNode \"0.300000\") ; [490][1]\n          (ConceptNode \"surprised\") ; [446][1]\n        ) ; [3840][1]\n      ) ; [3841][1]\n      (SchemaNode \"duration-min\") ; [460][1]\n    ) ; [18446744073709551615][18446744073709551615]\n    (VariableNode \"$int-min\") ; [1449][1]\n  ) ; [18446744073709551615][18446744073709551615]\n) ; [18446744073709551615][18446744073709551615]\n (/home/biocog/hansonrobotics/opencog/atomspace/opencog/atoms/core/RandomNumber.cc:84)")'.

@wenwei-dev
Copy link
Contributor

The OpenCog stack used by HEAD is the forked version in hansonrobotics github domain. It's not updated very often. The last catch up was 22 days ago.

@wenwei-dev
Copy link
Contributor

wenwei-dev commented Jun 3, 2016

The forked version works fine with the robot. But maybe we want to explore the latest OpenCog stack, then my solution of balancing the need of stability and fashion is using different hrtool.

@bgoertzel
Copy link

Adding an option to hrtool would work...
On Jun 3, 2016 11:23 AM, "Wenwei" notifications@github.com wrote:

The forked version works fine with the robot. But maybe we want to explore
the latest OpenCog stack, then my solution of balancing the need of stable
and new is using different hrtool.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#14 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFolXPDsjo1McGLC0JGj_UyN5XDvSoa4ks5qH54SgaJpZM4Inort
.

@wenwei-dev
Copy link
Contributor

I've added an option -d to switch to latest OpenCog stack.

./hrtool -d

@mjsduncan
Copy link
Author

mjsduncan commented Jun 3, 2016

i've been using the current stack, i linked the HEAD opencog directories to my original opencog repos. i mention this in the previous issue thread, i should have mentioned it again at the beginning of this thread.

@mjsduncan
Copy link
Author

ok the behavior tree doesn't crash and the robot tracks my face so i'm going to close this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants