i have big troubles with the Advanced Metadata plugin
I can install it, i can scan the pictures and fill the database. i can see the tables with the exif datas in mysqladmin.
but if i go in the gallery and look at the first picture:
Fatal error: Allowed memory size of 68157440 bytes exhausted (tried to allocate 35 bytes) in /www/htdocs/snafu/galerie/plugins/AMetaData/JpegMetaData/Readers/IfdEntryReader.class.php on line 346
than i try to delete the plugin in the admin menue:
Fatal error: Allowed memory size of 68157440 bytes exhausted (tried to allocate 23 bytes) in /www/htdocs/snafu/galerie/plugins/AMetaData/JpegMetaData/Readers/IfdEntryReader.class.php on line 346
i must delete it with ftp
* nécessite PHP 5.2 pour fonctionner avec le module "mbstring" installé
in my php.ini i fpund this values
php 5.2.10; '--enable-mbstring';
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check
and Grum Plugin Classes 3.1.1
Offline
When you scan the pictures to fill the database, you're in a client-server mode : your browser send a list of 10 pictures to be analyzed, wait for server response, and send 10 next pictures. The process is repeated until all pictures are analyzed.
A packet of 10 pictures is sent :
- pictures 1, 2, 3, 4 are analyzed and fill the database
- pictures 5 can't be analyzed => script is stopped : plugin display no alert (displaying an error message will probably be a good feature to implement...)
- pictures 6, 7, 8, 9, 10 are not analyzed
The next 10 pictures are sent, even if something was wrong on the previous packet.
This is why you think everything was Ok during database filling, and why you can see exif in the mysql tables.
The error message displayed when you look a picture is displayed probably because the script try to read metadata outside the dedicated metadata block, or loops inside a block.
I see 2 reason :
- metadata are corrupted (not correctly formatted, don't respect the specification, ...)
- metadata are correct, but in a format not yet implemented in the plugin
Can you give me a link on a picture with the error message ?
There was a similary bug already referenced ([Bugtracker] ticket 1686) and it's fixed for the next plugin release : I want to see if your pictures are correctly managed or not with plugin 0.5.1 (not yet published)
Offline
Can you give me a link on a picture with the error message ?
no
because the fatal error kills my piwigo if i open a category, also it kills my admin menue, i must deinstall it with ftp
for the moment i use the "smalll" solution, the exif viewer.
i will try advanced metadata on a clean/fresh installation on my testsubdomain
Offline
mol wrote:
Can you give me a link on a picture with the error message ?
no
because the fatal error kills my piwigo if i open a category, also it kills my admin menue, i must deinstall it with ftp
for the moment i use the "smalll" solution, the exif viewer.
i will try advanced metadata on a clean/fresh installation on my testsubdomain
ok.
but to understand why some of your pictures can't be readed, I need a sample ^_^;
every time you access a page, the plugin try to analyze an unanalyzed picture... so, if picture can't be analyzed, the problem is repeated and repeated again...
this kind of problem is solved with the next release of the plugin (unanalyzed pictures are analyzed through an ajax call rather than inside the page generation)
Offline
Version 0.5.1 is available in extensions.
Before, it's necessary to make an update to version 3.2.0 for the GrumPluginClasses plugin (also available in extensions).
I did a lot of tests, normally migrating from version 0.4.0 to 0.5.1 should work without problems ... normally ^_^;
This version includes the following features:
- Two management modes (basic & advanced)
- Integrating a search engine
- Converter metadata => tags
- Ability to develop its own metadata
- A lighter repository management
- Fixed various bugs
For the managemetn mode, the choice is made when the plugin is installed only.
To those who make an update to the 0.4.0 => 0.5.1, the default advanced mode is enabled: those who wish to enjoy the basic mode should conduct an uninstall/install of the plugin.
Offline
I'm testing the new version, no problem on the admin side, but on the gallery side:
Fatal error: Class 'CommonPlugin' not found in /home/pierrick/public_html/piwigo/dev/branches/2.1/plugins/AMetaData/main.inc.php on line 190
(would you like me to create another topic or is it fine to discuss here?)
Offline
strange..
the CommonPlugin class is used everywhere in the plugin (this the parent class of all other classes...)
Can you check you that you have the file plugins/GrumPluginClasses/classes/CommonPlugin.class.inc.php ?
Offline
-rw-r--r-- 1 pierrick pierrick 7821 2010-07-29 14:59 GrumPluginClasses/classes/CommonPlugin.class.inc.php
Offline
On the "Search" tab (advanced mode):
Warning: Smarty error: unable to read resource: "/home/pierrick/public_html/piwigo/dev/branches/2.1/plugins/AMetaData/templates/amd_dialog_metadata_choose.tpl" in /home/pierrick/public_html/piwigo/dev/branches/2.1/include/smarty/libs/Smarty.class.php on line 1093
Offline
add the line :
include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php');
on the 174 of the AMD main.inc.php : I think there is other plugin at home loading the classe before the plugin runs... :-/
If it's Ok, I commit a new release.
Offline
same error on the "Search" tab like plg
Offline
grum wrote:
add the line [...]
Yes, it fixes my first problem. Now metadata display correctly on gallery side!
Offline
plg wrote:
On the "Search" tab (advanced mode):
Warning: Smarty error: unable to read resource: "/home/pierrick/public_html/piwigo/dev/branches/2.1/plugins/AMetaData/templates/amd_dialog_metadata_choose.tpl" in /home/pierrick/public_html/piwigo/dev/branches/2.1/include/smarty/libs/Smarty.class.php on line 1093
ok..
this is because I forgotten to commit this file on the repository !! ^_^;
Offline
the release 0.5.2 is online....
^_^;
Offline
the release 0.5.3 is online
This release fix bugs and implements new features :
* [Bugtracker] ticket 1894 - Error when filling the metadata repository
* [Bugtracker] ticket 1898 - Warning "division by zero" on Canon images
* [Bugtracker] ticket 1911 - Unable to read Jpeg file if there is extradata after the EOI marker
* [Bugtracker] ticket 1955 - Incorrect mapping for IPTC File format
* [Bugtracker] ticket 1925 - default selected tags works only for the french user
* [Bugtracker] ticket 1968 - Keyword-to-tag conversion generate duplicated tags
* [Bugtracker] ticket 1923 - with google chrome, the metadata list is not displayed
* [Bugtracker] ticket 1978 - Some meta names are not translated in french
* [Bugtracker] ticket 1863 - Except "keywords" meta, all IPTC meta declared as "repeatable" are not managed
* feature - implement lightroom keywords metadata
* [Bugtracker] ticket 1956 - IPTC "Subject Reference" is not implemented
* [Bugtracker] ticket 1912 - Reading digiKam&lightroom hierarchical keywords as 'flat' keywords
* [Bugtracker] ticket 1294 - add a new method allowing to fill the repository with a given number of random pictures
* [Bugtracker] ticket 1975 - Implement COM segment as a tag
* [Bugtracker] ticket 1976 - Implement keywords as magic tag
Now, deactivate/activate the plugin don't reset the repository automatically anymore (need a user action)
Needs GrumPluginClasses 3.3.2
Offline