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

Some crossrefences or notes lead to error dialog #1105

Open
mcepl opened this issue Jan 22, 2022 · 3 comments
Open

Some crossrefences or notes lead to error dialog #1105

mcepl opened this issue Jan 22, 2022 · 3 comments

Comments

@mcepl
Copy link
Contributor

mcepl commented Jan 22, 2022

When I drive mouse over footnotes in this verse (original OSIS XML):

<verse sID="Mark.8.1" osisID="Mark.8.1"/>Když<note type="crossReference" osisRef="Mark.8.1" osisID="Mark.8.1!o237" n="o237">srv. 6,30—44; //Mt 15,32—39</note> <transChange type="added">tam</transChange>
byl v těch dnech opět veliký zástup a neměli co jíst, zavolal si
učedníky a <w morph="robinson:V-PEI-3S">řekl</w> jim: <verse eID="Mark.8.1"/>

I get this error:

screenshot-2022-01-07_19-01-1641581224

The error message back-translated into English reads: "Module error: unuseable xref encoding. Please, report this with the name and version of module.”

The module is CzeCSP, version 1.4, but I really don’t see anything wrong anywhere. Any ideas, what’s wrong? What’s even more confusing, And Bible doesn’t seem to have any problems with this module (or this verse).

@LAfricain
Copy link
Contributor

LAfricain commented Jan 22, 2022

Really odd, its working on my computer:
csp

I tested also with bibletime, and it's ok.

@karlkleinpaste
Copy link
Contributor

I'm with LAfricain, it displays for me. I have v1.4 of the module.

The complaint comes out of xiphos/src/main/sidebar.cc:main_display_verse_list_in_sidebar:

	/* improper xref encoding, not BCV: gets null list from Sword. */
	if (verse_list == NULL) {
		gui_generic_warning(_("Module error: Unusable xref encoding.\n"
				      "Please report this, with module & verse"));
		return;
	}

It's Xiphos' recognition of a sword-detected error, where in this case "error" means Xiphos got an empty list back from a query to the sword engine.
csp-mk 8 1

@mcepl
Copy link
Contributor Author

mcepl commented Jan 22, 2022

What’s even more weird is that actually that note/crossreference gets displayed, just that dialogue box is obnoxious.

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