-
Notifications
You must be signed in to change notification settings - Fork 503
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
failed to open json #7845
Comments
Custom .ddf is not preferred...no matter what I do, .ddf is selected from |
Can you share the DDF your trying to load? |
It's not just one DDF, it applies to all of them, just as no custom DDF in /opt/deCONZ/devices is used but here is an example
|
I can confirm this. Doesn't matter if it's a correct or erroneous DDF |
I experienced the problem before version 2.27.5, so it's not a new bug. But I know it is after version 2.26.3 |
Is this the first report ?! |
Hi sorry my bad, this is a known open item for v2.28.x Currently the loading via "Open" menu entry in DDF editor isn't implemented/active. This happened due the refactor of the whole loading process a few versions back. deconz-rest-plugin/device_descriptions.cpp Lines 1439 to 1445 in 9e46fe3
As a workaround if you have a device using the DDF in your network, you can open the DDF by: Selecting the device node, press Ctrl+E or via The node context menu → Edit DDF For this the DDF needs to be in the right location and loaded on startup. |
But in addition, the load order of the raw JSON needs to be checked too to prefer user directory over system location, I'm on it.. |
If a system location DDF already existed the user location DDF wasn't picket up correctly. The problem occured only for raw JSON DDFs not bundles. Part of dresden-elektronik#7845
If a system location DDF already existed the user location DDF wasn't picket up correctly. The problem occured only for raw JSON DDFs not bundles. Part of #7845
This is exactly what I can't do after version 2.26.3. I can open the DDF editor but I get the error when I open a .ddf. I can save a custom DDF, and as I said, it is not selected on restart Like neither custom DDF nor bundle is preferred from /opt/deCONZ/ it is not only from /opt/deCONZ/devices/ but also /opt/deCONZ/bundles |
Not sure where the /opt path comes from, but by default the user location is in |
Please ignore #7845 (comment) |
I might add that custom DDF is selected as intended with version 2.27.6 Although I can't open a DDF |
Does the issue really belong here?
Is there already an existing issue for this?
Describe the bug
When I try to open a custom ddf I get this error:
faild to open /opt/deCONZ/devices/test.json
Steps to reproduce the behavior
Open deCONZ GUI, select node, edit ddf, open /opt/deCONZ/devices/...json
Expected behavior
open and load test.json
Environment
Additional context
No problems with deconz/stable (v2.26.3)
The text was updated successfully, but these errors were encountered: