Current Server Time: 09:33 (Central Europe)

#apertus IRC Channel Logs

2019/12/17

Timezone: UTC


23:00
uberardy
joined the channel
03:05
intracube
left the channel
03:06
intracube
joined the channel
04:03
Bertl
off to bed now ... have a good one everyone!
04:03
Bertl
changed nick to: Bertl_zZ
04:11
codetronaut_
joined the channel
04:50
codetronaut_
@vup, and @anuejn i have build the webui .. currently it's not showing anything under devices(under open register explorer)
04:51
vup
codetronaut_: nice, i think your problem is, that you have not started the control daemon / nctrl yet
04:52
vup
when running nctrl you need to give it a mountpoint and then link that mountpoint to the nctrl_mountpoint directory in the webui folder
04:53
codetronaut_
i tried running the daemon but it's showign cargo.toml file not found
04:53
vup
how are you trying to run the daemon?
04:54
vup
it should be enough to clone this repository: https://github.com/apertus-open-source-cinema/nctrl
04:54
codetronaut_
i have created a folder and then clone the gitrepo and also created axiom_api
04:55
codetronaut_
then proceeded with cargo run -- --mock --mountpoint ./axiom_api camera_descriptions/beta/beta.yml
04:55
vup
that seems like that should work
04:55
codetronaut_
but it's not working
04:56
vup
are you sure you are running this command in the directory you cloned this repository: https://github.com/apertus-open-source-cinema/nctrl ?
05:08
BAndiT1983|away
changed nick to: BAndiT1983
05:10
codetronaut_
left the channel
05:11
codetronaut_
joined the channel
05:11
vup
codetronaut_: you should be running the `cargo run [...]` in the folder containing the "Cargo.toml" file
05:11
vup
and not for example in the folder containing the webui source
05:15
codetronaut_
yes
05:16
codetronaut_
i am running it from nctrl directory but still it's showing error
05:16
vup
can you upload the full error message somewhere?
05:16
vup
(for example to https://paste.niemo.de/ )
05:19
codetronaut_
sure
05:23
codetronaut_
https://paste.niemo.de/eqeriworoc.sql
05:23
vup
ahh ok
05:24
vup
the rust-fuse directory is a git submodule, so you either need to recursively clone the repository
05:24
vup
or execute `git submodule update --recursive --init` to download the submodule
05:25
codetronaut_
ok let me try
05:26
codetronaut_
it's running :D
05:26
vup
nice
05:26
codetronaut_
can i update this part in the docs
05:26
vup
sure
05:26
codetronaut_
in the git repo
05:27
codetronaut_
ok
05:40
BAndiT1983
changed nick to: BAndiT1983|away
05:46
codetronaut_
left the channel
05:59
codetronaut_
joined the channel
06:06
codetronaut_
@vup, a new error https://paste.niemo.de/ujewofecar.js
06:07
vup
codetronaut_: currently you have to run the control daemon in such a way, that the camera description is at camera_descriptions/beta/beta.yml
06:07
vup
and not nctrl/camera_descriptions/beta/beta.yml as is your case
06:10
codetronaut_
oh now i understand
06:11
codetronaut_
i am already in nctrl file
06:11
codetronaut_
and tried to access nctrl file under nctrl file
06:11
vup
yep
06:19
codetronaut_
are mounting ./axiom_api takes time?
06:20
codetronaut_
*does
06:20
vup
if you are not compiling in release mode yes
06:20
codetronaut_
that means i am not compiling in release mode ig
06:20
vup
(if you use cargo run --release is should be quite fast, i think at maximum about 300ms)
06:20
codetronaut_
ok
06:22
codetronaut_
that means i should omit --mountpoint and --mock
06:24
vup
no
06:24
vup
just add --release
06:24
vup
so `cargo run --release -- --mock --mountpoint ./axiom_api camera_descriptions/beta/beta.yml`
06:26
codetronaut_
adding --release with --mountpoint and --mock showing error
06:26
vup
what exact command did you run?
06:26
codetronaut_
cargo run --release --mock --mountpoint ./axiom_api camera_descriptions/beta/beta.yml
06:26
codetronaut_
this
06:26
vup
you are missing the `--` between `--release` and `--mock`
06:27
vup
`--release` is a argument to cargo and the `--` means all the arguments after that are passed to the control daemon
06:27
codetronaut_
now added and it's working
06:27
codetronaut_
please tell what does '--' do in this
06:27
vup
if you omit the `--` it thinks `--mock` and `--mountpoint` and so on are arguments to cargo
06:28
codetronaut_
ohk
06:28
vup
the `--` just tells cargo that everthing after that are not arguments for cargo, but instead arguments for the binary cargo executes, in this case the control daemon
06:34
codetronaut_
it's still taking time...should i wait
06:39
vup
what do you mean, by it's still taking time, it should keep running, until you don't need the mountpoint anymore
06:41
vup
it's not like a normal `mount` that you execute once and then it is mounted, starting the control daemon should automatically `mount` the fuse filesystem at the specified mountpoint, but the control daemon needs to keep running to actually answer to any actions (for example reads, writes) on this fuse filesystem
06:41
codetronaut_
i mean after buliding the webui it should show devices under the (registers explore)
06:41
vup
yes
06:42
codetronaut_
so after running the daemon
06:42
codetronaut_
it should show
06:42
vup
did you change the `nctrl_mountpoint` link in the webui folder to point the the axiom_api folder where the daemon is mounted?
06:44
codetronaut_
how should i change it
06:44
codetronaut_
just add axiom_api to this
06:45
codetronaut_
?
06:45
vup
just `unlink nctrl_mountpoint` and then `ln -s path/to/axiom_api nctrl_mountpoint`
06:51
codetronaut_
it's still not showing devices under registers section
06:51
vup
what does `ls nctrl_mountpoint` show?
06:55
codetronaut_
nothing
06:57
vup
what does `file nctrl_mountpoint` show?
06:57
codetronaut_
this....nctrl_mountpoint: symbolic link to /home/codetronaut/Desktop/nctrl/axiom_api
06:57
vup
ok and what does `ls /home/codetronaut/Desktop/nctrl/axiom_api` show?
06:58
vup
(nothing probably)
06:58
codetronaut_
it's showing nothing
06:58
vup
so is the control daemon running?
06:58
codetronaut_
yes
07:00
vup
can you restart the control daemon with `RUST_LOG=trace cargo run --release -- --mock --mountpoint ./axiom_api camera_descriptions/beta/beta.yml` and give me the output of that?
07:00
codetronaut_
ok
07:02
codetronaut_
https://paste.niemo.de/icimavupob.sql
07:02
vup
it seems like you have linked `nctrl_mountpoint` to the wrong `axiom_api` directory
07:03
vup
it should probably be /home/codetronaut/Desktop/nctrl/nctrl/axiom_api instead of /home/codetronaut/Desktop/nctrl/axiom_api
07:06
codetronaut_
i think i have to do it from beginning
07:10
vup
codetronaut_: i think just `unlink nctrl_mountpoint` and `ln -s /home/codetronaut/Desktop/nctrl/nctrl/axiom_api nctrl_mountpoint should be enough
07:14
codetronaut_
left the channel
07:43
danieel
left the channel
08:01
Spirit532
left the channel
08:01
Spirit532
joined the channel
08:04
aSobhy|away
joined the channel
08:04
vup2
joined the channel
08:04
se6ast1an
joined the channel
08:06
namibj_
joined the channel
08:10
namibj
left the channel
08:10
aSobhy
left the channel
08:10
se6astian
left the channel
08:10
vup
left the channel
09:06
codetronaut
joined the channel
09:21
danieel
joined the channel
09:49
codetronaut
left the channel
09:49
codetronaut
joined the channel
09:56
codetronaut
left the channel
10:51
codetronaut
joined the channel
11:02
codetronaut
left the channel
11:32
Bertl_zZ
changed nick to: Bertl
11:32
Bertl
morning folks!
12:01
codetronaut
joined the channel
14:09
codetronaut
left the channel
14:47
BAndiT1983|away
changed nick to: BAndiT1983
15:15
BAndiT1983
changed nick to: BAndiT1983|away
15:25
codetronaut
joined the channel
16:22
codetronaut
left the channel
16:22
codetronaut
joined the channel
16:26
comradekingu
left the channel
16:29
codetronaut
left the channel
16:53
RexOrCine|away
changed nick to: RexOrCine
18:03
BAndiT1983|away
changed nick to: BAndiT1983
18:28
BAndiT1983
changed nick to: BAndiT1983|away
19:19
comradekingu
joined the channel
19:28
BAndiT1983|away
changed nick to: BAndiT1983
19:36
RexOrCine
changed nick to: RexOrCine|away
19:38
RexOrCine|away
changed nick to: RexOrCine
21:38
BAndiT1983
changed nick to: BAndiT1983|away
22:48
Spirit532
left the channel
22:48
Spirit532
joined the channel