GithubHelp home page GithubHelp logo

koraktor / gallerist Goto Github PK

View Code? Open in Web Editor NEW
70.0 70.0 3.0 221 KB

A web application to browse Apple Photos and iPhoto libraries

License: BSD 3-Clause "New" or "Revised" License

Ruby 35.10% HTML 4.34% CSS 3.34% JavaScript 57.22%
apple-photos iphoto ruby sinatra

gallerist's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gallerist's Issues

Fotos Version 3.0 (3291.13.210)

seems to have changed the internal storage:

$ ls -l /Users/me/Pictures/Fotos-Mediathek.photoslibrary/database/
total 641728
-rw-r--r--@ 1 me  staff        452 31 Dez 16:11 DataModelVersion.plist
-rw-r--r--@ 1 me  admin     321536  9 Feb 18:45 RKAlbum_name.skindex
-rw-r--r--@ 1 me  admin      10240 23 Feb 00:35 RKMemory_title.skindex
-rw-r--r--@ 1 me  admin   13033472 23 Feb 00:35 RKVersion_searchIndexText.skindex
-rw-r--r--@ 1 me  staff      49152 31 Dez 16:03 metaSchema.db
-rw-r--r--@ 1 me  admin  313360384 23 Feb 13:05 photos.db
-rw-r--r--@ 1 me  admin    1775752 23 Feb 21:44 photos.db-wal
-rw-r--r--@ 1 me  admin        458 23 Feb 16:26 photos.db.lock

Are there still volunteers among the watchers and stargazers to help maintain this nice tool?

no such file or directory!?

Hi,
at first I must say that your idea of sharing photos via a web application is really great and thank you for programming this useful tool ;)
In my case unfortunately an error occurred while starting gallerist. It seems that gallerist can't open my photos library... Background:
I regularly backup the photos library with rsync from my MacBook to my Raspberry Pi (with Raspbian and an external HDD formatted with ext4, whereon the library is saved). A few days ago I came across your project and, of course, I wanted to try it out. Because of the fact that I leave my RasPi running 24/7 I decided to install the current version of ruby and gallerist on my RasPi instead of my Mac. This worked very well. So far, so good. But every time I start gallerist by typing
gallerist -n /media/usbfestplatte/Fotos/Fotos-Mediathek.photoslibrary
I got the following error message (see screenshot)
Errno::EN0ENT - No such file or directory @ realpath_rec -
Although it is possible to browse to the gallerist website the only thing you can see is an error message :-(
bildschirmfoto 2015-07-31 um 16 21 29

Where is database?

Hi. I got a error message.

ActiveRecord::StatementInvalid - SQLite3::SQLException: no such column: type: SELECT "RKVersion"."masterId", "RKVersion"."modelId", "RKVersion"."fileName", "RKVersion"."imageDate", type, "RKVersion"."uuid" FROM "RKVersion"  ORDER BY "RKVersion"."imageDate" ASC:

I have no sqlite3 database. Give us a scheme file.

Case Typo?

On a case-sensitive filesystem I get:

2018-05-26 10:55:31 - Errno::ENOENT - No such file or directory @ realpath_rec - /Users/.../Pictures/Fotos-Mediathek.photoslibrary/Database:

Workaround:

$ cd ~/Pictures/Fotos-Mediathek.photoslibrary && ln -s database Database && cd -

IMO the typo is in

main_db_path = file @path, 'Database', 'Library.apdb'

photolibraryd holds a lock on the database

First, thanks a ton for writing this. Did you reverse engineer the DBs? I have a script to back up my highly rated iPhoto photos using the old AlbumData.xml, and I'd like to update it for Photos.app. Your code will help a ton to figure it out.

After copying the database, would it be possible to force clear the locks? I'm getting errors because the DB is being locked by photolibraryd:

$ fuser /Volumes/Data/Pictures/Photos\ Library.photoslibrary/Database/*.apdb
/Volumes/Data/Pictures/Photos Library.photoslibrary/Database/BigBlobs.apdb:
/Volumes/Data/Pictures/Photos Library.photoslibrary/Database/History.apdb:
/Volumes/Data/Pictures/Photos Library.photoslibrary/Database/ImageProxies.apdb: 504
/Volumes/Data/Pictures/Photos Library.photoslibrary/Database/Library.apdb: 504
/Volumes/Data/Pictures/Photos Library.photoslibrary/Database/Properties.apdb: 504

(coppit @ dcoppit-macbook-pro.local) : /Volumes/Data/Pictures/Photos Library.photoslibrary/Database
$ ps -p 504
PID TTY TIME CMD
504 ?? 3:02.18 /System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Support/photolibraryd

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.