View Single Post
Old 02-20-2014, 10:57 AM   #1983
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Kumabjorn View Post
Is there some reason the plug-in can't create a column on its own?
That is dangerous.

What if you already had a column with that name, but not associated with the PI? A mess if the PI did manage to run
Besides, Adding a column requires a calibre restart before it can be used

I do believe in cases of user defined column usage, that any PI uses them should do basic sanity check and report errors in simple terms (not rely on a crash report).

1) The PI has been initially configured (valid at the time).
2) When starting, the configuration is checked against the current Library to be sure that the columns exist and are of the correct types.
theducks is offline