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

Issue with FortranSubmoduleProcedure #478

Open
khaors opened this issue Feb 26, 2023 · 1 comment
Open

Issue with FortranSubmoduleProcedure #478

khaors opened this issue Feb 26, 2023 · 1 comment

Comments

@khaors
Copy link

khaors commented Feb 26, 2023

Hello:

I have installed ford via conda in my new machine. When I tried to create the documentation I got this error:

Processing documentation comments...
Correlating information from different parts of your project...
Traceback (most recent call last):
  File "C:\Users\Oscar\.conda\envs\FORD\Scripts\ford-script.py", line 9, in <module>
    sys.exit(run())
             ^^^^^
  File "C:\Users\Oscar\.conda\envs\FORD\Lib\site-packages\ford\__init__.py", line 645, in run
    main(proj_data, proj_docs, md)
  File "C:\Users\Oscar\.conda\envs\FORD\Lib\site-packages\ford\__init__.py", line 592, in main
    project.correlate()
  File "C:\Users\Oscar\.conda\envs\FORD\Lib\site-packages\ford\fortran_project.py", line 254, in correlate
    container.correlate(self)
  File "C:\Users\Oscar\.conda\envs\FORD\Lib\site-packages\ford\sourceform.py", line 1091, in correlate
    if proc.module and proc.name.lower() in self.all_procs:
       ^^^^^^^^^^^
AttributeError: 'FortranSubmoduleProcedure' object has no attribute 'module'
@ZedThree
Copy link
Member

Hi @khaors, thanks for the bug report! Are you able to share the source that Ford is failing on? Even better would be if you could give us a cut down snippet that shows this.

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