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

[BUG] unbound var "sosa_ref.key" with last master head cid 2ab85d838 tag: v7.1-beta #1778

Open
michelmno opened this issue Apr 18, 2024 · 4 comments

Comments

@michelmno
Copy link
Contributor

unbound var "sosa_ref.key" with last master head cid 2ab85d8
When displaying a simple person.

as reported in gwd log:

/home/michel/work/geneweb/local/gw.2ab85d838/gwd.log last lines, and live view:
GeneWeb 7.1-beta - Possible addresses:
http://localhost:2317/base
http://127.0.0.1:2317/base
http://mnop14s:2317/base
where "base" is the name of the database
Type “Ctrl+C” to stop the service
Ready 2024-04-18 13:22 port 2317...
File ./etc/menubar.txt, line 172, characters 39-51:
Failed - unbound var "sosa_ref.key"

File ./etc/menubar.txt, line 172, characters 39-51:
Failed - unbound var "sosa_ref.key"

May be related but the bug icon (on top left screen) is reporting

2 error(s)!
.

There was no such failure when master at cid 6cb2a11

The specific use case is with a minimal configuration:
Paramètres de configuration
testbasefusionnee.gwf

access_by_key=yes
hide_private_names=yes
no_image_for_visitor=yes
perso_module_a=arbres
perso_module_c=chronologie
perso_module_d=data_3col
perso_module_f=fratrie
perso_module_g=gr_parents
perso_module_h=htrees
perso_module_i=individu
perso_module_l=ligne
perso_module_n=notes
perso_module_p=parents
perso_module_r=relations
perso_module_s=sources
perso_module_u=unions
private_years=100
short_place_threshold=5000
static_path=/gw/etc/
use_restrict=yes
@hgouraud
Copy link
Collaborator

vu.
%sosa_ref; devrait renvoyer null_val plutot que raise Not_found s'il n'y a pas de sosa_ref!
de même browsing_with_sosa doit renvoyer false et non raise Not_found !!

@hgouraud
Copy link
Collaborator

I believe my branch fix-home should solve the issue (as well as the undefined rng errors.

@michelmno
Copy link
Contributor Author

I believe my branch fix-home should solve the issue (as well as the undefined rng errors.

Thank-you, I confirm that there is no more failure with cid 6044139.
so wait for merge in master.

@hgouraud
Copy link
Collaborator

The same solution should be applied to all ml generated pages, even those already calling home!

@michelmno michelmno mentioned this issue Apr 23, 2024
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

2 participants