Libelektra: web-ui: support new namespaces

Created on 26 Feb 2019  路  15Comments  路  Source: ElektraInitiative/libelektra

Steps to Reproduce the Problem

Have some default keys and start up Web-UI:

kdb setmeta /sw/example/highlevel/#0/current/mydouble default 0
kdb ls /
#> /sw/example/highlevel/#0/current/mydouble
kdb run-elektrad
kdb run-web

Expected Result

That Web-UI starts up without issues.

Actual Result

An error is displayed:

KDBError

Command failed: "kdb" ls -0 "sw"
Sorry, I could not process the arguments: sw is not a valid keyname

For absolute keys (starting without '/'), please note that only one of the 

System Information

  • Elektra Version: master

Further Log Files and Output

bug usability

All 15 comments

@markus2330 Could you please assign me to this issue for the course CM and unassign me from the issue #2476 as discussed in this the thread of issue #2476?

Done!

@markus2330 I am not able to reproduce this issue with the current version of elektra. The web-ui starts up without any issues on my system (using one instance):

Bildschirmfoto von 2019-03-27 14-03-48

I just see that this issue has overlap with #2408, which already assigned to someone else. I clarified which part should be fixed in which issue.

With #2456 this issue most likely fixes itself. So here actually only a verification step is needed after #2456 was fixed (which hopefully will happen today).

But #2410 will not fix itself, as it needs changes in how kdb is executed and is also very much related to this issue. Can you take this over? (I assigned you there.)

Yes I can take over issue #2410 and will also verify if the fix of issue #2408 fixes this issue.

Unfortunately, I will only be able to fix issue #2410 until the next deadline in the CM course next week.

Yes I can take over issue #2410 and will also verify if the fix of issue #2408 fixes this issue.

Thank you!

Unfortunately, I will only be able to fix issue #2410 until the next deadline in the CM course next week.

It would be better if you can fix two issues till then. Until now no PR was accepted.

Is okay by me, I will try my best!

Thank you!

This issue cannot be reproduced with the description given in this issue, but it can be reproduced following the following steps (based on the descirption of issue #2410):

sudo kdb mount `pwd`/LCDd-spec.ini spec/sw/lcdproc/lcdd/#0/current ni
sudo kdb spec-mount /sw/lcdproc/lcdd/#0/current
kdb set '/sw/lcdproc/lcdd/#0/current/curses/background' green

This leads to the same KDB error as initially stated in this issue.

Bildschirmfoto von 2019-04-03 12-53-40

@markus2330 I will try to fix the initial issue for the course CM, i hope that is okay.

Yes, it is okay!

Sorry for the incomplete description of how to reproduce the issue.

I'll keep it open for now as the workaround might be removed later.

New tasks:

  • Support new namespaces as introduced in #3102
  • remove workaround

I mark this issue stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping the issue by writing a message here or create a new issue with the remainder of this issue.
Thank you for your contributions :sparkling_heart:

Since the keyname overhaul, we need to check the web-ui in general.

Yes :sparkling_heart:, I opened #3570 for the various topics we should retest.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mpranj picture mpranj  路  4Comments

markus2330 picture markus2330  路  4Comments

sanssecours picture sanssecours  路  3Comments

mpranj picture mpranj  路  3Comments

e1528532 picture e1528532  路  4Comments