koraktor / gallerist Goto Github PK
View Code? Open in Web Editor NEWA web application to browse Apple Photos and iPhoto libraries
License: BSD 3-Clause "New" or "Revised" License
A web application to browse Apple Photos and iPhoto libraries
License: BSD 3-Clause "New" or "Revised" License
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?
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 :-(
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.
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
gallerist/lib/gallerist/library.rb
Line 16 in 57f2d1a
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
Apple change the database location (Photos.sqlite
) and schema.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.