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

PDF.JS is broken on deployed Sandbox #8

Open
noahwsmith opened this issue Feb 22, 2022 · 3 comments
Open

PDF.JS is broken on deployed Sandbox #8

noahwsmith opened this issue Feb 22, 2022 · 3 comments
Assignees

Comments

@noahwsmith
Copy link
Collaborator

https://sandbox.islandora.ca/islandora/drop-activities-toronto

tries to load

https://sandbox.islandora.ca/libraries/pdf.js/web/viewer.html?file=https%3A%2F%2Fsandbox.islandora.ca%2F_flysystem%2Ffedora%2F2022-02%2FSample_PDF_file.pdf

and I believe this is a problem with how composer.json handles the pdf.js library. @wgilling or @dannylamb or I should be able to find the solution and fix it.

@noahwsmith
Copy link
Collaborator Author

@Natkeeran
Copy link
Contributor

Natkeeran commented Feb 28, 2022

Building it against the latest breaks the sandbox build. Seems like a new dependency introduced via the composer.lock file:

erifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - symfony/string is locked to version v6.0.3 and an update of this package was not requested.
    - symfony/string v6.0.3 requires php >=8.0.2 -> your php version (7.4.21) does not satisfy that requirement.
  Problem 2
    - symfony/string v6.0.3 requires php >=8.0.2 -> your php version (7.4.21) does not satisfy that requirement.
    - symfony/property-info v5.4.3 requires symfony/string ^5.1|^6.0 -> satisfiable by symfony/string[v6.0.3].
    - symfony/property-info is locked to version v5.4.3 and an update of this package was not requested.


@noahwsmith
Copy link
Collaborator Author

@Natkeeran I have downgraded this:

bash-3.2$ composer require symfony/string "^5.4"
./composer.json has been updated
Running composer update symfony/string
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Downgrading symfony/string (v6.0.3 => v5.4.3)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading symfony/string (v5.4.3)
  - Downgrading symfony/string (v6.0.3 => v5.4.3): Extracting archive
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
78 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

alxp pushed a commit to roblib/islandora-sandbox that referenced this issue Aug 12, 2022
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