I want to report an issue with the latest image 03-19-2017 when trying to 
use bone script.
I get a strange error message which maybe implies the robotics cape motors 
even though this is
a Beagle Black Wireless and no motors in site.
I tried running my test program using sudo and get a complete failure 
cannot find bonescript.

I realize work is being done to convert to debian user from root and there 
are issues with node and python
so I am posting this not looking for a quick fix but just in case it is 
helpful to the work being done.

 I get the same error messages running as debian user or using the cloud9 
side where I am root user.

I attached a terminal dump of the error messages

Tom

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/52574312-cfc7-46c7-9d7b-1938bcadb871%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Last login: Mon Aug 14 11:12:57 on ttys000
Thomass-MacBook-Pro:~ tdlmacbookpro$ ssh [email protected]
Debian GNU/Linux 8

BeagleBoard.org Debian Image 2017-03-19

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

[email protected]'s password: 

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Aug 12 22:23:21 2017 from 192.168.0.18
debian@beaglebone:~$ uname -a
Linux beaglebone 4.4.54-ti-r93 #1 SMP Fri Mar 17 13:08:22 UTC 2017 armv7l 
GNU/Linux
debian@beaglebone:~$ cat /etc/dogtag
BeagleBoard.org Debian Image 2017-03-19
debian@beaglebone:~$ node bonetst.js
4:4:54-ti-r93
Found bonescript

Exiting Cleanly
Unable to open /dev/mem
Unable to open /dev/mem
ERROR: trying to disable motors before they have been initialized
Unable to open /dev/mem
Unable to open /dev/mem
Unable to open /dev/mem
debian@beaglebone:~$ ## TRY IT AS SUDO
debian@beaglebone:~$ #
debian@beaglebone:~$ sudo node bonetst.js
[sudo] password for debian: 
module.js:327
    throw err;
    ^

Error: Cannot find module 'bonescript'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/debian/bonetst.js:1:71)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
debian@beaglebone:~$ ## Show the bonetst.js contents
debian@beaglebone:~$ cat bonetst.js
var b = require('bonescript');
console.log("Found bonescript");

debian@beaglebone:~$ 

Reply via email to