Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run_On_Android_aarch64 js error #17

Closed
smallverse opened this issue Mar 14, 2019 · 5 comments
Closed

Run_On_Android_aarch64 js error #17

smallverse opened this issue Mar 14, 2019 · 5 comments

Comments

@smallverse
Copy link

https://github.com/SharpAI/DeepCamera/blob/master/docs/Run_On_Android_aarch64.md

The last,run the command

cd /data/data/com.termux/files/home/runtime
termux-wake-lock
setsid bash ~/runtime/start_aarch64.sh

Error is as follows(Because the camera didn't open?)

  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
[2019-03-14 12:23:26,762: WARNING/ForkPoolWorker-1] ['workaicmd', 'autogroup_dataset', 'sync_autogroup_dataset', 'autogroup', '/msg/d/b65772ac1e4f']
[2019-03-14 12:23:26,763: WARNING/ForkPoolWorker-1] ['/device/e287250eca0f2eca592500f1']
[2019-03-14 12:23:26,764: WARNING/ForkPoolWorker-1] ['/msg/g/e287250eca0f2eca592500f1']
exit index.js
[2019-03-14 12:23:26,844: WARNING/ForkPoolWorker-1] mqtt connected, rc: 0
[2019-03-14 12:23:26,961: WARNING/ForkPoolWorker-1] workaicmd
[2019-03-14 12:23:26,964: WARNING/ForkPoolWorker-1] autogroup_dataset
[2019-03-14 12:23:26,967: WARNING/ForkPoolWorker-1] sync_autogroup_dataset
[2019-03-14 12:23:26,972: WARNING/ForkPoolWorker-1] autogroup
[2019-03-14 12:23:26,975: WARNING/ForkPoolWorker-1] /msg/d/b65772ac1e4f
[2019-03-14 12:23:26,978: WARNING/ForkPoolWorker-1] /device/e287250eca0f2eca592500f1
[2019-03-14 12:23:26,982: WARNING/ForkPoolWorker-1] /msg/g/e287250eca0f2eca592500f1
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:qCA5imBb-PeyQJwqRAE6_vBJ_dFiSCeK0wUKDUiyK-G
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:bSOK5hKbrN_TxYQpRCZJjCCiPdaVx_p6ziJhoFQFLy3
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!

$ 
$ 
$ fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:fF7rr0OETvpbpZorLnUBWxmQPHikfmIqF5nZFk2XdTG
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:OtooX6I_i_10MYvdpuJ98RPNpJyTG-eBjSF7M07InQO
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:UNqwyEzjKoc42UdMqPInHd3r6FBp1kThWWkSuDtJHmE
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:Z12So4dcQTLQlCb1TZEDdvp6jp7rpHYkgoJHPXAjc4P
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:MkH9EYwUOrO6GslcM4xc3MdTVhcX1d3xPwO4OYhVeg2
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:2wMnzlWFYZhk6YQ73yaRAWu44amkM3u23ipmTdXK5a6
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:1ecVMtVMSgp1cknqYS5A34KKM-sS3u-4Li_UKa35Lw0
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:cRHrwXE-oSHHw9Vgw7Ab6uddvrH-o858dOzrXMGq6jw
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:Yyyao0N8X5gzZymm3fPvCrCm-ZcaJlDl2EGvVoAXT5t
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!
fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js
entering index.js
./start_monitor.sh: line 19: pushd: monitor: No such file or directory
new connection to meteor server
4314ef9cb9fab3766e9918fe7a55e7b905e265d99a88026fa110841182426e4d
login ok:MH0U788DloGnsM2o2PwbTbykiBX3Wkj1P9KADDzFRfj
commands complete:
undefined
[ADDED] to devices:  -eabad615d9a3f665de6b9bb6
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
yes, my group id is [e287250eca0f2eca592500f1] for now
watchtower disabled
commands complete:
{ '-eabad615d9a3f665de6b9bb6': 
   { _id: '-eabad615d9a3f665de6b9bb6',
     uuid: 'b65772ac1e4f',
     name: 'b65772ac1e4f开发板',
     in_out: 'inout',
     groupId: 'e287250eca0f2eca592500f1',
     createAt: 2019-03-04T13:26:30.047Z,
     online: true,
     camera_run: false,
     autoUpdate: false } }
The file was saved!

$ 
$ 
$ 
$ 
$ 
$ 
$ 
$ 
$ 
$ 
$ fs.js:675
  return binding.read(fd, buffer, offset, length, position);
                 ^

Error: EINVAL: invalid argument, read
    at Object.fs.readSync (fs.js:675:18)
    at tryReadSync (fs.js:540:20)
    at Object.fs.readFileSync (fs.js:575:19)
    at I.os (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7234)
    at Timeout._onTimeout (/data/data/com.termux/files/home/runtime/monitor/main.bin.js:1:7447)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
exit index.js


@solderzzc
Copy link
Member

solderzzc commented Mar 14, 2019

You can run src/monitor/ directly to debug the root cause of this error message.

@solderzzc
Copy link
Member

I have the same issue here... Need to dig into it.

@lambda-zhang
Copy link
Contributor

$ cat /sys/class/thermal/thermal_zone*/temp
$ cat /sys/class/thermal/thermal_zone*/type

If got this meams kernel bug of thermal

cat: /sys/class/thermal/thermal_zone0/temp: Invalid argument

Have try with #20

@smallverse
Copy link
Author

Hardware problem?Didn't quite understand

@solderzzc
Copy link
Member

It's fixed by this commit:
#20

Please pull latest code, let me close this issue.

Reopen if still have the same problem.

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

No branches or pull requests

3 participants