Trying the Docker Version of Cantaloupe

Overview While trying the Docker version of TEI Publisher, I found that a Docker version of Cantaloupe was being used, so I created a repository for using it standalone. https://github.com/nakamura196/docker_cantaloupe Usage instructions are provided in the README of the above repository. The following Docker image is used. https://hub.docker.com/r/islandora/cantaloupe Reference: Images That Can Be Served by Cantaloupe This is explained on the following page. https://cantaloupe-project.github.io/manual/5.0/images.html For high-resolution images, JPEG2000 or Pyramidal Tiled TIFF is recommended. ...

January 25, 2024 · 1 min · Nakamura

Troubleshooting Errors When Running lando start

While developing Drupal and Omeka modules using Lando, a local development environment tool, the following error occasionally occurred. l U U h L I h I h L E █ █ █ █ ╚ A H I O E a p s t a f t f t e R █ █ █ █ █ ╚ n e f r R n d e t n t t t R ╗ ║ ║ ║ █ ═ r ■ ■ ■ ■ ■ ■ ■ R d a p d y p y p ' O █ ═ e e t p O o t t s o o s o s s R █ ═ r T T T h h h o S G R i h : u : u : █ ═ r a r r r o t t s l i s n e / i / / g = █ █ █ █ █ ═ o r y y y s t t t a t = t g / s l / w e = █ █ █ █ ╔ ╝ r e e p p c H = a l g i g d t > ╗ ║ ║ ║ ╝ r r c s s y k u > r h i i F k i u o █ █ █ █ █ ╚ o a u e h f : : o b t e n t R e t l c t c █ █ █ █ █ ═ c n s e a / u - c l k h E h d s h o ╗ ║ █ ╔ ║ ╝ c f n t c i / r - o _ p u E L u . i n █ ═ u e i a k l d d h n , s b b a b l l s n █ ═ r w n r i o o i t h n _ e . a n . i a e █ █ █ █ █ ╚ r g t n t c c s t t e u l c n d c k n p c █ █ █ █ █ ═ e t i g h s s s p t c s o o d o o e d a t ╗ ║ ║ ║ ║ ╝ d h l n e . . u s p t _ w m m o r i a g t n l l e : s _ , p / O t / t . t E w n n h a a / : E _ r t l P h s o d y N h g d i e c n n t / / N ` o o a E e p e O i s o n o d d o l / O v n N n o c v s E █ █ █ ╚ l l n o o a g E i g d n u / t N █ █ █ █ █ ╚ e y r d o s . . S u i N d e o S h s s c a T █ ╔ ║ ║ █ ═ o e e g u d d l n t T e t / O e o t o r █ ═ █ ═ s u b b s l e e a c h l U l r o n t █ ═ █ ═ t u u t v c h u t t a R p s m f e v █ ═ █ ═ a c i g w / / k p b v h h n C / i i d a █ █ █ █ █ ═ r a l i t h h a . a e e d E u l z g ! r ╗ █ █ █ ╔ ╝ t n d m t h e e o s c r o s a e / / ╗ ║ ║ ╝ i o h e l l r s o / b l / s n r S r █ █ █ █ █ ╚ n t d p p . m r e a r o s d t e t u █ █ █ █ █ ═ g r e l t / / G c u s t e f p o h l a n ╗ ║ █ ╔ ║ ╝ y a r l u i l n t e l t e e e r / █ ═ u l n o o p t m a / s e w n a t d █ ═ p t a d u g d H / n d s t a a d b s i o █ █ █ █ █ ╚ o n o b s a u d d o u s r e e n c █ █ █ █ █ ═ y d l . t b e o c p a e e m h s g k ╗ ║ ║ ║ ║ ╝ o g o l e h i v / k p n s o a . e █ █ █ ╚ █ ╚ u e o s t n w l e o d / t r v h a r █ █ █ ═ █ ═ r t r g h m g i a r r t h e i t p . ╗ ║ ║ ╝ ╗ ╝ e s o l . t n . t g a a o m p s a b s o h h d s _ r g t t r l o p a t t t l o o _ , a e / i m c p c a i m a / c _ n a v r m o y k ! k r n l n i k ` d t 3 e e f - t g d s e . l l i o s s s 2 i m t a n m u a t 0 e a h n t a e v . s k i d o t s e 8 i s o e / _ s o n - a r n _ , n g m a i e _ u , e p g a w ` s c s p o l / o u s . o s c t n p a . d : h o t d g . o n r a e s o s i t t s b i t a e o u n h t f t g e e i n : t o a i n n c m s d h e e f s c r u k o p m p o o u d r t e t : v i e n l g o p i e t r s b y l i c k o e n t y r o i u b ! u t i n g a t t h e l i n k b e l o w This issue was mentioned in the following GitHub issue. ...

December 21, 2023 · 7 min · Nakamura

Resolving SAM Error: Running AWS SAM Projects Locally Requires Docker

Overview When trying sam local invoke with AWS SAM, the following message was displayed. E r r o r : R u n n i n g A W S S A M p r o j e c t s l o c a l l y r e q u i r e s D o c k e r . H a v e y o u g o t i t i n s t a l l e d a n d r u n n i n g ? The environment was Mac, and Docker was running. ...

November 24, 2023 · 1 min · Nakamura

Running the NDLOCR Application Using Google Cloud Platform Compute Engine

Overview This is a memo about running the NDLOCR application published by NDL (National Diet Library) using a virtual machine on GCP (Google Cloud Platform). For details about this application, please refer to the following repository. https://github.com/ndl-lab/ndlocr_cli Creating a VM Instance Access Compute Engine on GCP and click the “Create Instance” button at the top of the screen. Under “Machine configuration” > “Machine family”, select “GPU”. Then for “GPU type”, select “NVIDIA T4”, which is the most affordable option. Set “Number of GPUs” to 1. ...

April 26, 2022 · 37 min · Nakamura

Creating Pyramid Tiled TIFF Files Using AWS Lambda + Docker + pyvips

Overview I created a Docker image that uses AWS Lambda and pyvips to generate Pyramid Tiled TIFF files from images stored in S3. The Amazon ECR Public Gallery is available here: https://gallery.ecr.aws/nakamura196/lambda-docker-vips-python The source code is available here: https://github.com/ldasjp8/lambda-docker-vips-python Below, I will explain how to use it. Creating an Amazon ECR Repository First, create an ECR repository. Next, check the commands from “View push commands” and push the image. ...

March 31, 2022 · 5 min · Nakamura