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

Add a library menu item to load Famix SQL - Not working yet #1197

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

Inao0
Copy link

@Inao0 Inao0 commented Oct 18, 2024

With @alesshosry

Currently trying to load FamixSQL (https://github.com/moosetechnology/FamixSQL) will result in an error due to the refactoring of WeakRegistry class in a dependency (https://github.com/pharo-rdbms/Pharo-ODBC)

This can be bypassed by replacing the reference to WeakRegistry by FinalizationRegistry when loading it.
There are two references to WeakRegistry in Pharo-ODBC:

  • ODBCConnection class>>#newConnections that can be fixed at loading time and
  • ODBCConnection>>#initializeStatements that can be fixed after.

A pull request has been opened in Pharo-ODBC to fix it for the latest versions of Pharo and Moose (pharo-rdbms/Pharo-ODBC#11). Once accepted, this feature should work and fix #1193

Currently trying to load FamixSQL ( https://github.com/moosetechnology/FamixSQL) will result in error due to the refactoring of WeakRegistry class in a dependency (https://github.com/pharo-rdbms/Pharo-ODBC)
This can be bypassed by replacing the reference to WeakRegistry  by FinalizationRegistry when loading it.
There are two references to WeakRegistry inPharo-ODBC, ODBCConnection class>>#newConnections that can be fix at loading time and  ODBCConnection>>#initializeStatements that can be fixed after.
A pull request has been opened in Pharo-ODBC to fix it for the latest versions of Pharo and Moose (pharo-rdbms/Pharo-ODBC#11)
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

Successfully merging this pull request may close these issues.

Create an entry in menu "Library" to load Famix-PLPgSQL
1 participant