GithubHelp home page GithubHelp logo

yunohost-apps / photoview_ynh Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 11.0 2.84 MB

Photoview package for YunoHost

Home Page: https://github.com/photoview/photoview

License: GNU Affero General Public License v3.0

Shell 100.00%
photoview yunohost yunohost-apps

photoview_ynh's Introduction

Photoview for YunoHost

Integration level Working status Maintenance status

Install Photoview with YunoHost

Read this README in other languages.

This package allows you to install Photoview quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Photoview is a simple and user-friendly photo gallery that's made for photographers and aims to provide an easy and fast way to navigate directories, with thousands of high resolution photos.

Shipped version: 2.3.13~ynh1

Demo: https://photos.qpqp.dk/

Screenshots

Screenshot of Photoview

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/photoview_ynh/tree/testing --debug
or
sudo yunohost app upgrade photoview -u https://github.com/YunoHost-Apps/photoview_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

photoview_ynh's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

photoview_ynh's Issues

Install fails on Bullseye because of undefined HOME / GOCACHE variable for

Since Bullseye, install via CLI doesnt include a HOME variable anymore.

This is to make it easier to spot issues that would only be triggered on webadmin : app scripts should not assume that HOME is defined

https://ci-apps-bullseye.yunohost.org/ci/job/211

227257 INFO DEBUG - GOPATH=/opt/yunohost/photoview/libheif/examples PKG_CONFIG_PATH=/opt/yunohost/photoview/libheif:/opt/yunohost/photoview/libheif/libde265/dist/lib/pkgconfig/ CGO_CFLAGS="-I/opt/yunohost/photoview/libheif" CGO_LDFLAGS="-L/opt/yunohost/photoview/libheif/libheif/.libs" LD_LIBRARY_PATH=/opt/yunohost/photoview/libheif/libheif/.libs /usr/bin/go build -o heif-test-go heif-test.go
227257 INFO DEBUG - build cache is required, but could not be located: GOCACHE is not defined and neither $XDG_CACHE_HOME nor $HOME are defined
227257 INFO DEBUG - make[2]: *** [Makefile:1204: heif-test-go] Error 1

The appropriate fix would probably be to define a GOCACHE directory somewhere

File name encoding error in BDD

Describe the bug

Some files can not be scanned, due to an encoding problem.
For example : 

Scanner error

Error scanning media for album (10656): Scanning media error (/path/to/nextcloud/data/mamie/files/Backup/Gray Wagtail and Lotus 灰鶺鴒和蓮花.png): could not insert media into database: Error 1366: Incorrect string value: '\xE7\x81\xB0\xE9\xB6\xBA...' for column `photoview`.`media`.`title` at row 1 

It also happens for more "simple" chars, as è

Context

  • Hardware: computer
  • YunoHost version: 4.2.6.1
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: master

Steps to reproduce

Add a file with special chars in a folder managed by photoview.
Wait for tho scan to happen.
See the error.

Expected behavior

All files should be available

Release 2.3.13

Hi,
Would it be possible to bump up the app to 2.3.13?
Thanks

Nexcloud file path not working

Photo path "/media/disk/nextcloud/data/username/files/Foto" is not accepted:
Something went wrong Server error: invalid root path at (userAddRootPath)

I would expect permissions issue, but I have no idea how to deal with it. Naturally permissions for nextcloud folder are:
drwxr-xr-x 10 nextcloud nextcloud 4096 Jun 11 22:07 Foto

Installation failed

Describe the bug

Installation failed. Tried it three times, the third time with additional Swap. Photoview seems to require very powerful machines, takes long time to install, needs nearly constantly 100% CPU

Context

  • Hardware: *VPS bought online with 4GB RAM, 1GB Swap, 1 chore *
  • YunoHost version: 4.2.8.3
  • I have access to my server: Through SSH | through the webadmin.
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

Install via webadmin

Expected behavior

Installation finishes successful

Logs

https://paste.yunohost.org/raw/josotaquci

V2.3.12~ynh2 failing to install

  • Hardware: netbook at home / 2G ram/ 500G hdd / 6G swap

  • YunoHost version: 11.2.10.3

  • I have access to my server: Through SSH | through the webadmin

  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

  • trying to install package version/branch: 2.3.12~ynh2 / master

Steps to reproduce

  • From the webadmin (the same happened from cli).

Expected behavior

installation successful

Logs

https://paste.yunohost.org/raw/iyobofixap

I looked at the log but didn't understand what was wrong

Documentation cannot be found

Link in Readme to Yunohost Photoview documentation is not working.
Searching yunohost.org for documentation gives no results, so no idea if the link is fixable.

220612-090336

Install proccess wont go any further...

grafik

I wanted to install photoview on the newest Yunohost edition, but everytime in the install process its kinda stuck at the "installing go" line. Then i tried the debug run and obove is the screenshot where it shows the stuck point.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.