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

Fatal error: Uncaught AssertionError on docker compose up #2763

Closed
Wirone opened this issue Sep 12, 2023 · 5 comments
Closed

Fatal error: Uncaught AssertionError on docker compose up #2763

Wirone opened this issue Sep 12, 2023 · 5 comments

Comments

@Wirone
Copy link

Wirone commented Sep 12, 2023

I've cloned the repo and executed docker compose up with a fatal error at the end:

doc-en-doc-1  |  (Run `nice php doc-base/configure.php` next time!)
doc-en-doc-1  | 
doc-en-doc-1  | [15:38:49 - Rendering Style       ] Running full build
doc-en-doc-1  | [15:38:49 - Indexing              ] Indexing...
doc-en-doc-1  | [15:38:52 - Indexing              ] Indexing done
doc-en-doc-1  | [15:38:52 - Rendering Style       ] Running full build
doc-en-doc-1  | [15:38:52 - Rendering Format      ] Starting PHP-Chunked-XHTML rendering
doc-en-doc-1  | 
doc-en-doc-1  | Fatal error: Uncaught AssertionError: assert($this->cchunk['classsynopsis']['legacy'] === true) in /var/www/phd/phpdotnet/phd/Package/Generic/XHTML.php:1009
doc-en-doc-1  | Stack trace:
doc-en-doc-1  | #0 /var/www/phd/phpdotnet/phd/Package/Generic/XHTML.php(1009): assert(false, 'assert($this->c...')
doc-en-doc-1  | #1 /var/www/phd/phpdotnet/phd/Render.php(125): phpdotnet\phd\Package_Generic_XHTML->format_classsynopsisinfo(false, 'classsynopsisin...', Array, Array)
doc-en-doc-1  | #2 /var/www/phd/render.php(121): phpdotnet\phd\Render->execute(Object(phpdotnet\phd\Reader))
doc-en-doc-1  | #3 {main}
doc-en-doc-1  |   thrown in /var/www/phd/phpdotnet/phd/Package/Generic/XHTML.php on line 1009
doc-en-doc-1  | 
doc-en-doc-1 exited with code 255

Docs are somehow rendered and I can preview them, but it would be good to get rid of this error 🙂.

@alamirault
Copy link

I have also the same problem (same stacktrace).

Introduced by php/phd#77, where the bug is also reported

@Girgias
Copy link
Member

Girgias commented Sep 22, 2023

Is the Docker image actually pulling in the latest version of PhD and doc-en?

@alamirault
Copy link

I updated Dockerfile in order to show commit hash

#12 [7/9] RUN cd phd && git rev-parse HEAD
#12 0.427 c4d5d5f4bb3cc6f5dfb7e7eb79ae0d6bf2589632

#13 [8/9] RUN cd doc-base && git rev-parse HEAD
#13 0.428 1aed2ad6de40972a4e7ec4ce2a9eec7b659118c8

Hashes are latest of masters branches

(I also docker system prune --all but it change nothing)

@Girgias
Copy link
Member

Girgias commented Sep 23, 2023

Should be fixed as of 9154789

@Girgias Girgias closed this as completed Sep 23, 2023
@alamirault
Copy link

Indeed it's fixed, thanks !

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

3 participants