question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MultiDim unexpectedly inserts entries into ChangeHistory

See original GitHub issue

Workflow to reproduce the problem:

  1. Start MultiDim local plugin.
  2. Start ChangeHistory global plugin.
  3. Load a data cube.
  4. With ChangeHistory (“History” tab) in view, click on “next slice” (double-arrow) button on MultiDim and watch a new entry magically appears on ChangeHistory for that image.
  5. Click on “next slice” again or “prev slice” to see another such entry.

Example screenshot: screenshot from 2017-10-24 14-22-46

I suspect this is caused by either block_callback('modified') or unblock_callback('modified') in MultiDim.py. I just never caught this before until now because I rarely start up ChangeHistory with data cubes, but I think this has been happening for a while.

This bug is harmless but confusing, in the sense that it does not actually change the input data cube, but merely reported that it has done so.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ejeschkecommented, Nov 30, 2017

Ok, after looking at the particular combination of tests, I think your modification will work. I’ll merge it and submit as a PR.

1reaction
ejeschkecommented, Nov 29, 2017

I think it may be slightly difficult, due to the fact that the modified callback is in only some cases tied to changes that should be recorded in ChangeHistory and then only because the user set some particular metadata in the channel info for an image, prior to the change.

One thing we might do is to detect that the plugin is trying to set the reason_modified attribute in the channel info for an image, and throw up an error message then. We’d probably want to check very specifically for this attribute name, since there should be no real reason to disallow the plugin from otherwise adding arbitrary data to the info, as other plugins (e.g. Thumbs, etc) already do.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data Store Object---Few Terminologies--Types of DSOs
Data can be loaded from several source systems at the same time because a queuing mechanism enables a parallel INSERT. The key allows...
Read more >
Fix List for DB2 Version 10.5 for Linux, UNIX and Windows - IBM
APAR Sev. Abstract IJ11422 2 MEMORY LEAK IN DB2TOP WHEN VIEWING DYNAMIC SQL IT28111 2 QUERIES USING HASH JOINS MAY HANG INTERMITTENTLY IT29647 2 SIG#11 RUNNING...
Read more >
Oracle Sales and B2B Service Cloud 19C New Feature ...
When a business user sees an unexpected change on a business object, he can quickly zero in on the change using the search...
Read more >
Oracle Smart View User Guide - Inside NKU
Inserting Links and Cross-References to Pages in Doclets ... For example, Figure 1 shows the entries for connecting to an Oracle Essbase.
Read more >
A Course in In-Memory Data Management - Springer Link
introduced, where new entries are written to a differential buffer first. In contrast to the main store, the differential buffer is optimized for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found