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

ValueError('Invalid related remote id: ***') #3357

Open
prolibre opened this issue Apr 12, 2024 · 0 comments
Open

ValueError('Invalid related remote id: ***') #3357

prolibre opened this issue Apr 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@prolibre
Copy link

In Bookwyrm 0.7.3

I often get this error (via Flower) regarding the propagation of book changes between instances.
When I look at the link I think there is confusion in the id. Here for example :

('Edition', 'Work', 'parent_work', 'https://bw.heraut.eu/book/52087', 'https://bouquins.zbeul.fr/book/42398')

52087 corresponds to an edition (on an instance) whereas 42398 corresponds to a book on the other instance.

It's a shame because changes are not propagated.

Traceback (most recent call last):
File "/opt/bookwyrm/venv/lib/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/opt/bookwyrm/venv/lib/python3.11/site-packages/celery/app/trace.py", line 760, in protected_call
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/contextlib.py", line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/opt/bookwyrm/bookwyrm/activitypub/base_activity.py", line 277, in set_related_field
raise ValueError(f"Invalid related remote id: {related_remote_id}")
ValueError: Invalid related remote id: https://bw.heraut.eu/book/52087

@prolibre prolibre added the bug Something isn't working label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant