G2 Import "Something went wrong"

coldpenguin

Joined: 2009-04-22
Posts: 15
Posted: Sat, 2013-10-19 09:48

Is there any way of getting a more verbose log for the "Something went wrong" error message in import?

My log is like the following:
---
Task Import from Gallery 2 started (task id 6)
Group 'Admin' does not exist in Gallery 3, skipping
User with id: 5 already imported, skipping
User with id: 6 already imported, skipping
User with id: 5452 already imported, skipping
...
...
'/srv/gallery2/albums/Holidays/HPIM0603.MPG' is an unsupported movie type
<a href="/gallery2/main.php?g2_itemId=4147">HPIM0603.MPG</a> from Gallery 2 could not be processed
Task Import from Gallery 2 resumed (task id 6)
...
...
'/srv/gallery2/albums/Wedding Photos/MOV00713.MPG' is an unsupported movie type
<a href="/gallery2/main.php?g2_itemId=13794">MOV00713.MPG</a> from Gallery 2 could not be processed
Task Import from Gallery 2 resumed (task id 6)
Task Import from Gallery 2 resumed (task id 6)
Task Import from Gallery 2 resumed (task id 6)
---
Do I assume that the movies are the issue, can I skip them???? Or how do I tell what the problem really is?
I would assume from the message that it detected an unsupported type, and skipped the processing, rather than caused a crash?

 
coldpenguin

Joined: 2009-04-22
Posts: 15
Posted: Sat, 2013-10-19 12:53

Looks like it might be a fault with the IPTC module. Disabling this module allowed the import to continue.

What pointed me to this is that each import added a number to the number of photos needing an IPTC import in the maintenance window.

Is there a way of tracing the command being run? I am pretty sure I know which image it is (as the last image uploaded is re-uploaded), so I can try and run the command by hand to determine a failure method.
The image that it is baulking on, is acutally an edited image, which may not include any IPTC data (web export from photoshop I suspect).
--
To clarify...
Under the G2 import the file caused the import to fail, without delay
When trying to do an IPTC import, it just hung, (for at least several hours)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2013-10-19 17:29

You could add some debug info to the static function extract($item) of the iptc module.
Perhaps the author did not expect it to fail. I would suspect that adding the same item to G3 via the upload method might not work either.

Perhaps the author could use the defective image to debug, so post it here so it can be used for testing/debugging.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team