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

Porting issues #39

Open
mwichmann opened this issue Jul 7, 2021 · 2 comments
Open

Porting issues #39

mwichmann opened this issue Jul 7, 2021 · 2 comments

Comments

@mwichmann
Copy link
Collaborator

mwichmann commented Jul 7, 2021

A simpleminded test with just creating an env specifying the tool showed some issues with the current contrib set:

The following tools have the problem with the transition from SCons.Warnings.Warning to SCons.Warnings.SConsWarning: gob2, IDL, jal, kotlin, noweb, ProC, rest. Plus, from local branches, not merged yet - qt4/qt5 have the same issue.

These other tools failed due to missing Python modules:

lyx:

KeyError: 'PDF': from
...
  File "/home/mats/Work/scons.contrib/contrib/site_scons/site_tools/lyx/__init__.py", line 79:
    env["BUILDERS"]["PDF"].add_src_builder(lyx_builder

sip:

ModuleNotFoundError: No module named 'sipconfig':
...
  File "/home/mats/Work/scons.contrib/contrib/site_scons/site_tools/sip/__init__.py", line 57:
    import sipconfig

sphinx4scons:

ModuleNotFoundError: No module named 'sphinx.util':
...
  File "/home/mats/Work/scons.contrib/contrib/site_scons/site_tools/sphinx4scons/__init__.py", line 54:
    from sphinx.util.matching import patfilter, compile_matchers
@mwichmann
Copy link
Collaborator Author

mwichmann commented Jul 7, 2021

The missing module errors (sip and sphinx4scons) I'm unsure about - modules of that name don't seem to exist at pypi.org.

The failure to find env["BUILDERS"]["PDF"] is user error, the simpleminded test didn't keep defaults so the pdf builder had not been initialized. Added, and it goes away (updated above)

@jhdub23
Copy link

jhdub23 commented Mar 11, 2022

sip is from PyQt. The stand-alone sip installation only installs executables and not a python module. See Problem importing sip after successful installation.

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