Comments (6)
Trying now to follow up the error, I can't manually import
zoph --photographer "liz billiau" --field "mapzoom=12" --album "home" /data/images/uploads/P1090853.JPG
File already exists: /data/images/2012/07/08/P1090853.JPG
File already exists: /data/images/2012/07/08/P1090853.JPGPHP Fatal error: Uncaught exception 'FileExistsException' with message 'File already exists: /data/images/2012/07/08/P1090853.JPG' in /var/www/zoph/file.inc.php:211
Stack trace:
#0 /var/www/zoph/file.inc.php(222): file->checkCopy()
#1 /var/www/zoph/photo.inc.php(423): file->checkMove()
#2 /var/www/zoph/import.inc.php(112): photo->import(Object(file))
#3 /var/www/zoph/cli/cli.inc.php(230): Import::photos(Array, Array)
#4 /var/www/zoph/cli/cli.inc.php(75): cli->doImport()
#5 /usr/bin/zoph(95): cli->run()
#6 /usr/bin/zoph(62): init()
#7 {main}
thrown in /var/www/zoph/file.inc.php on line 211
but there is no database entry so I can't view it.
from zoph.
The first (webimport) problem you are describing is probably a leftover from the change that removed the rating field from the photo table, I'm investigating that now.
The second problem is caused by the photo you're trying to import already being in your images directory, due to the import breaking halfway the import process. If you doublecheck whether the photo is indeed still in the place where you're trying to import it from, you can delete it (and the mid_ and thumb_ files too) from the images dir. If it does no longer exist in the original location, you should move it back instead of deleting it.
from zoph.
I can't reproduce this on my system... which version are you using?
from zoph.
version is whatever i downloaded from git last week,
OS is Debian jessie/sid
from zoph.
I haven't made any changes that could fix this in the last few weeks, so there must be something else going on. I will try some more to reproduce this issue.
from zoph.
After a long search, I finally found the issue: I run several installations of Zoph and in a few of them, I have negected to delete the rating
field from the photo database... this included both the version I used to test your bug and the one that automatically runs tests every night... I will now remove it in both and see what happens :-)
from zoph.
Related Issues (20)
- Deprecate ssl.force, url.http, url.https configuration HOT 3
- zoph 0.9.7 HOT 9
- Error instead of thumbnail for empty circles HOT 1
- Deprecated: The each() function is deprecated.
- Free text search does not work in all cases HOT 1
- Display width is not always adjusted right
- Title is missing on search screen
- Search for free text has wrong equality dropdown
- Pager not working on search results
- Autocomplete dropdown is sometimes covered by the map
- 'Display all EXIF' button doesn't work
- Not possible to edit album or category HOT 1
- Photo Ratings incorrectly entered as "0" from reports search result HOT 2
- Installing Zoph on a Raspberry Pi 4 Model B HOT 2
- Unittests no longer work after upgrade of PHPUnit to 6.x
- Database connection not using utf8 charset HOT 2
- Cant add or edit person HOT 1
- Installing 0.9.6 on hosting service (perhaps 1and1) HOT 3
- Documentation back to git HOT 1
- Geolookup doesn't work when using https://
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zoph.