Introducing BookQueueToo!

Long on my "to do" list has been to make available the many changes I incorporated into a very handy MovableType plugin called BookQueue. Many moons ago I submitted by code changes to the author, but the changes were never incorporated. Alas. So, since the software is licensed under the GPL I decided to modify his code and make my modifications available to the public.

I provided a new name for the plugin: "BookQueueToo" (since it is also a BookQueue), and I also put together a little homepage for the project so that one can more easily download it and find the tag reference.

9 TrackBacks

BookQueueToo from Movable Type Plugin Directory on November 12, 2004 7:03 PM

Requires MTAmazon and a Amazon Web Services account. Works similar to BookQueue.... Read More

(This entry is mostly for testing BookQueueToo.  Eventually I'll write a real review for this excellent book.)I'm not entirely finished with this book, however I'd call it a must read for anyone who is interested in the roots of Islamic... Read More

I've managed to implement BookQueueToo... partially.  I can't seem to link book reviews to the book in the admin interface.  As far as I can tell, there should be a field into which I can manually enter the entryid.  I... Read More

BookQueueToo from MattSellers.co.uk on December 3, 2004 10:20 AM

This ingenious plugin allows you to create lists of books that you have read, are reading and are on your list to read. Then you can display then in various ways on your blog using the MT tags provided. The... Read More

Unless you’ve been observing the left sidebar very closely for the past few days, you probably won’t notice anything different today. But in fact, I have implemented a new book-blogging management system, a handy plugin to MovableType calle... Read More

Naturelich has just added a few new plugins to improve this blog's feature set. MT-Amazon is used to retrieve Amazon content in this blog while BookQueueToo is used to manage a media list and keeping the status of what I... Read More

MT-Badass II from simpleRECURSION on March 25, 2005 1:33 PM

Well, I just couldn't resist MT plugin goodness, so I went and installed MT-Amazon and MT-BookQueueToo which allow me to keep handy lists of read, unread and currently-reading books by linking images and links from Amazon's mega-database (for that matt... Read More

Geek mode cycle has been completed. New MovableType plugin has been installed and utilized. Plus, a previously installed MT plugin is now being utilized, both on its own and in conjunction with new plugin. The new plugin is called... Read More

Finally! After a few months of stuffing around (on and off) I've finally gotten BookQueueToo (BQT) to work on this blog (MT). BQT makes publishing and maintaining of list of what books/DVDs/CDs etc you are watching/reading have read/listened to and... Read More

107 Comments

Hey Byrne, Great job with BookQueueToo! I like how you've taken MT-Bookqueue further, especially integrating it into the main admin pages. I had a few issues w/install, especially since my host didn't provide XML::SAX - but I think i've worked around them for the most part. However when I use a cuecat to read the barcode on a book it doesn't seem to translate to the correct ISBN? Any idea why that may be? Right now the only indication of error is the following from my MT Activity Log:

Plugin error: plugins/BookQueueToo/BookQueueToo.pl Can't locate object method "active" via package "MT::Plugin" at plugins/BookQueueToo/BookQueueToo.pl line 235. Compilation failed in require at lib/MT.pm line 291.

Any help is much appreciated. Thx, Chris

What excatly is new here besides adding a "finished on" date? For those us us trying to decide if we should update with yours or wait for 's new version it would be good if you had a list of what excatly you enhanced.

(and the finished on date doesn't seem as useful since you tag reference says that you can't sort based on it- what I do now is just lock the "last updated" date when i finish a book a sort based on that but looks like you took out the override for the update date)

Have loved BookQueue though, so it is great that you have been working on it

Do you have a non Unix installation guide? I received an error message:

[vlad]$ tar zxvf BookQueueToo-1.03.tar.gz cp -a BookQueueToo-1.02/* $mtstuff/ tar: invalid option -- a

I'm very, very much a novice when it comes to Unix. Do we need to change directory to the root domain? My web host places several domain files in one main folder.

Help!

I'd like to get this to work with CDs and not books any chance we could get it to work with ASIN numbers and not just ISBN numbers?

Marian - You are attempting to execute two commands on the same line. The 'tar' command should be executed separately from the 'cp' command. Cut and paste each command separately and you should be up and running in no time. :) --Byrne

Amazing. This gets us one step closer to a Typelists for MT. Great stuff.

I'm having trouble adding books. If I enter keywords that only result in one result (for example, an ISBN), I get the following error:

Not an ARRAY reference at /var/www/html/mt/extlib/MTPlugins/BookQueueToo.pm line 345.

Any thoughts on how to work around this?

Rod.

Note from Author: Yes - upgrade to 1.06 in which this bug has been fixed.

I like the implementation, but I can't seem to get it to work. I get the following error message:

An error occurred:

Can't use string ("Subscription Id not found--

Use of uninitialized value in substitution (s///) at lib/MTPlugins/BookQueueToo.pm line 706, line 9. Use of uninitialized value in substitution (s///) at lib/MTPlugins/BookQueueToo.pm line 706, line 9.

I should mention that a) I am registered at AWS, have been for a while and b) I followed the instructions in the README and put my SubscriptionID in the BookQueueToo.cfg file

What I'm wondering is if the system isn't reading that file.

If you receive an error indicating something is wrong with the Subscription Id, that is because you have not registered with Amazon Web Services. Please read the Readme.txt file and create an account at Amazon WS... enter your SubscriptionId into the BookQueueToo.cfg file...

Update: Jennifer has learned that she inadvertantly replaced "SubscriptionId" in the config file with her id. She discovered her error and made sure the config file was in the following format:

SubscriptionId

Hey Byrne, When updating to v1.07 i'm getting the following error when trying to "Edit My BookQueue" from blog admin homepage. "An error occurred: Can't call method "param" on an undefined value at lib/MTPlugins/BookQueueToo.pm line 579." Any ideas? thx, Chris

I followed all the directions for a UNIX installation but aboslutely nothing is resonating within the MovableType interface. All the requirements are fulfilled, it just is showing up at all. Why would this be?

If anyone is having problems with SAX showing errors like missing Base.pm, ParserFactory.pm, etc. It usually means SAX isn't installed and you should run the following command:

perl -MCPAN -e 'install XML::SAX'

I thought just dropping in the SAX files into MT's extlib would work, but that is surely not the case!

I can't get this to install at all.

Can you please confirm what files should be in what directory and do I need to run anything to register the plugin in for the first time?

I don't have access to the UNIX shell so I've extracted the file locally and FTP'd them to the plugin directory.

Thanks

I had entries left over from when I used Bookqueue before.

When I generate the pages showing items in the bookqueue, each entry has " Amazon error-- invalid ISBN?" When I take the ISBN in the text box and search for it on Amazon, each one resolves to the proper book.

Any ideas of what I need to do in order to get these books to resolve?

Ok. I fixed the previous issue, which turned out to be an MTAmazon problem so that works now.

The only issue is everything works EXCEPT adding new books. When I do that, within BookQueueToo, I get the same bad ISBN error message as before.

I just got BookQueueToo working on my test blog. I really like it. Nice work. My favorite part is that I can totally customize how it appears on my blog. Now I have to see if my webhost has XML::SAX and everything else that it needs. I agree with the commenter above who says that adding support for cds and dvds would make this all the more valuable. Thanks for this plugin.

This is to nick, you might want to make sure that XML::Simple, and XML::SAX is installed on your server. If these aren't installed the plugin actions option will never appear.

I finally had to download and install all these modules manually (using CPAN) before it appeared. I can send them to you in zip format or just post a list of the required files if you want.

Note from Byrne: BookQueueToo 1.1 will come with these modules prepackaged to avoid the need to install them yourself.

Tried to install 1.1 today and now get this when I try to get my book queue:

An error occurred: Can't call method "data" without a package or object reference at lib/MTPlugins/BookQueueToo.pm line 108.

I edited the perl module to see what the real error is and saw this:

An error occurred: MT PluginData load Failed: No such file or directory at lib/MTPlugins/BookQueueToo.pm line 106.

Also, I noticed that there are some editor files left over like a #BookQueueToo.pm# in the tarball.

Note from Author: Thank you very much for pointing this out. This issue has been reproduced and corrected with version BookQueueToo 1.11.

Well... I thought I had it at one point. I had all the plugins installed and was ready to do the dance of joy until... tragedy struck!

I now get some kind of internal server error when trying to run the script. I've checked everything to make sure that all files have the correct permissions but still no go. I get a generic message about headers not being sent or not being finished in my error logs which doesn't really tell me much.

Anyone else encounter this and know how to fix it?

Thanks!

Installed V1.1 today. Saw "BookQueueToo, v1.1" in "Active Plugins" on my main MT page, but when I clicked on the link to configure the plugin, I received this error:

Can't call method "param" on an undefined value at lib/MTPlugins/BookQueueToo.pm line 230.

Thanks!

Having success with v1.06 and earlier (many thanks!! BookQueueToo is awesome!!). Unfortunately, installing any version from 1.07 - 1.11 yields following errors (note related url/query string before error):

http://domain.com/mt/plugins/BookQueueToo/mt-bookqueue.cgi?__mode=config An error occurred: Can't call method "param" on an undefined value at lib/MTPlugins/BookQueueToo.pm line 230.

http://domain.com/mt/plugins/BookQueueToo/mt-bookqueue.cgi?&from=bloghome;blogid=2 An error occurred: Can't call method "param" on an undefined value at lib/MTPlugins/BookQueueToo.pm line 811.

Hi there -

I've installed this plugin, but it's not giving me the option to add any books. I clicked on BookQueueToo at the bottom of the MT main screen, it showed me my Amazon subscriber ID and prompted me to save changes, which I did, and then that's it. All I ever get is the screen that shows me the subscriber ID, there's no links/buttons to add books or anything.

I'm installing on a standard FreeBSD system, MTAmazon is working fine as I've been using it with the original BookQueue.

Any ideas? Thanks, Stewart

Okey dokey, I worked out that I was looking in the wrong place to add items, and that I have to go to an individual blog for that.

Except I always get "You were no items returned in your search." no matter what I search for. I'm trying to add Jon Stewart's "America: The Book", and I do a search for "America" and I get no responses. I tried searching directly for the ISBN too, no luck.

Thanks, Stewart

Note from Byrne: It looks like I should add some better error feedback as to the nature of a problem like this, but I would guess that the subscription id is not input correctly, or is not being passed to Amazon. I have successfully searched for and added America to my reading list, so I know it can work...

Thanks for the tool. I tried installing 1.11 yesterday and I get it listed in the "Active Plugins" section of my MT homepage, but I get this error when I click on the link:

Can't call method "param" on an undefined value at lib/MTPlugins/BookQueueToo.pm line 230.

Well, I just double-checked and went back to my original email from Amazon, and the subscribed ID is definitely correct. And it's recorded properly in .mtamazon.cfg.

I fired up the old BookQueue, and it works just fine still, which means that my subscriber ID is correctly stored, and that the problem is in BookQueueToo somewhere.

Is there any way I can provide further debugging information? I still only get "no items for your search."

Thanks, Stewart

As per Chris's comment above on the 21/11

"When updating to v1.07 i'm getting the following error when trying to "Edit My BookQueue" from blog admin homepage. "An error occurred: Can't call method "param" on an undefined value at lib/MTPlugins/BookQueueToo.pm line 579.""

I'm getting this error in version 1.1:

Can't call method "param" on an undefined value at lib/MTPlugins/BookQueueToo.pm line 230.

I know this is a fantastic plugin - I just wish I could get it to work!!

Please help!

Matt

I used BookQueue awhile back and I'd like to try this out. I don't have access to UNIX so I was hoping you could provide installation notes showing the directory structure. To tell you the truth I have no idea where to place everything.

I've managed to install the plugin but I can't configure it because of this error:

Plugin error: plugins/BookQueueToo/BookQueueToo.pl Can't locate XML/NamespaceSupport.pm in @INC (@INC contains: ./plugins/BookQueueToo/lib ./extlib ./lib /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/l

I figured out the earlier problem I had with NamespaceSupport.pm. Turns out it didn't exist inside MT_DIR/extlib/XML.I've added it but I'm getting errors when I click on the link to configure BookQueueToo.

My logs show: Premature end of script headers: /path/to/plugins/BookQueueToo/mt-bookqueue.cgi

Any thoughts on why this is happening?

Hi. Loaded Bookqueuetoo as instructed -- a folder within the mt/plugins directory (I take it that's correct). Am running Version 3.121 of MT. The BQT plugin shows up on the main menu when I login but when I click on to configure it, I get an error as follows:

Can't call method "param" on an undefined value at lib/MTPlugins/BookQueueToo.pm line 230

Any help would be appreciated. I was using the older BQ on a 2.66 release of MT and really need this for my blog.

Thanks.

Gautam Patel

I've got BookQueueToo installed correctly, as far as I can tell. When I go to modify the configuration through the MT panel, though, I keep getting an "Internal Server Error." Anyone know why this is?

I am going to echo the request to provide a list of what files belong in what directories. I do not have any kind of shell access so have to upload the files via FTP. I haven't been able to figure out what goes where!

Note from Byrne: All files go into your MTHOME/plugins directory. If your ISP does not give you access to this directory, I am not sure what I recommend you do. Otherwise, just unpack BookQueueToo and place the resulting folder and all of it's files into MTHOME/plugins.

Thanks for that. Now, I've uploaded everything to that directory but am getting 500 server errors as soon as I try to get to mt/plugins/mt-bookqueue.cgi?__mode=config. The file has been CHMODed to 755. Any other ideas?

Incidentally, should the files be copied in binary or ASCII?

thanks for the cool plugin. everything is working okay for me except when I try to rebuild (when i have updated the "Items in Your Queue" page). I get the dreaded internal server error in my pop-up. That usually means some kind of permission error but I can't make it work. Any thoughts?

Thanks

Note from Byrne: This will be fixed in 1.13 currently being developed.

Chris, the "Internal Server Error" might have occured because the mt-bookqueue.cgi might not have the proper permissions set. I know I had trouble when I ftp-ed the BookQueueToo directory to my plugins directory (I, too, don't have shell access); the FTP program didn't respect the original permissions that Byrne placed on the files. You might want to check it. I have gotten BookQueueToo to work and it's an excellent tool.

I'm having the same trouble as Nick described earlier. I have verified with my server that XML::Simple, and XML::SAX are installed. I uploaded to the plugins folder keeping the structure within that. Still it is not showing in MT 3.121

Any suggestions?

Note from Byrne: You need to be sure that you have installed the files into a directory named MT_HOME/plugins/BookQueueToo. Be sure you do not install the files into a BookQueueToo-VERSION directory.

Installed 1.12 with no problems. I'm just having a tiny problem with displaying queued items.

I added two DVDs that I'm watching but when I set <MTBookQueueEntries catalog="DVD"> the list does not appear.

If I set it to <MTBookQueueEntries catalog="Books"> the list appears

Thoughts?

I am getting the same problem as Stewart Johnson was getting earlier. I always get "You were no items returned in your search." no matter what I search for. I'm trying to add Jon Stewart's "America: The Book", and I do a search for "America" and I get no responses. I tried searching directly for the ISBN too, no luck.

Any help on this problem? Paul

Never mind my last inquiry. I tried getting an up-to-date subscription ID from Amazon, now everything works fine. Thanks, Paul

When I enter something in bookqueuetoo in my blog that is marked id3, it just shows up in my id1 blog... basicly no matter where I enter something it just shows up in the first one. Had to uninstall it and go back to the regular first bookqueue

Just installed this on a recently upgrade MT and I find two issues:

1) As mentioned by someone early in the comments thread, I do not get any results from Amazon when using my CueCat scanner, and

2) After I have added books and am ready to rebuild, clicking the REBUILD link on the BQ2 gives me an error as the link is point at MTSTATIC/mt.cgi rather than the MTDIR/mt.cgi, e.g. /mt-static/mt.cgi rather than /cgi-bin/mt.cgi.

Note from Byrne: I borked the fix in 1.13, but the rebuild bug has been fixed in 1.14. As for the cuecat issue... this may be a result of the new Amazon API which is oriented around the ASIN as opposed to the ISBN. Assuming I can reintegrate ISBN support, then this should just start working again. Does the community wish to submit ideas for the best user interface for cuecat support, and batch queue addition support?

I've just downloaded and installed the plugin (I was using the original BookQueue). I think I've installed it correctly, and I can see the 'Configure Active Plugins' on my MT homepage, and have added my Developers Token OK.

But I can't see a 'Plugin Actions' table anywhere, or 'Edit my BooQueue' anywhere.

I have managed to see the 'Edit' page by manually entering the address, but when I do that, the left hand sidebar is missing.

I'm sure I've done something obvious and stupidly wrong - but I can't figure out what it is! Any ideas?

Follow up from Rachel:

Just thought I'd let you know that I upgraded to MT v3.14 today, and I can now see the left hand side bar.

The only problem I'm now having is that despite having got a new Subscription ID from Amazon.com, I still get no results when searching. However, I suspect this may be because I adapted MTAmazon to point to Amazon.co.uk because I'm in England.

When I have time (supposed to be writing an essay right now!) I'll reinstall MTAmazon to see if that solves the problem, but I wondered whether there was a modification to BookQueueToo that would allow it to work with Amazon.co.uk instead of .com?

Note from Byrne: Perhaps this has to do with your installation. Double check the troubleshooting section on the web site. If you manually enter your path, without specifying the blog_id, then the side bar will not be rendered. You should only access BQT from the "Plugin Actions" links.

I see this appears in the changelog for 12/18, but I still cannot rebuild, as my path to mt.cgi always points to {my static dir}/mt.cgi.

  • Fixed problem where the "Rebuild" link that sometimes appears was pointing to the static MT directory which resulted in errors for many

I have the current version of BQ, of course.

I don't know about MT plugins, but it seems to me that all I need to do was replace the with in my add.tmpl file in BQ's tmpl directory. But that doesn't seem to work; indeed editing add.tmpl has no effect at all, nor does deleting it entirely, so I obviously don't know what I'm doing.

Is there a quick fix for this?

Hi! Thanks for the update to BookQueue. I've been very successful with updating my Books. I'm really happy to see that you incorporated some other types of items, such as DVDs and Music. I thought that I would give the Music a try. I am having the same problem as Brian Finn on 12/12. Here is the code:

<MTBookQueueEntries catalog="Music">
  <MTAmazon method="Asin" search="[MTBookQueueEntryISBN]">
    <table border="0" cellspacing="2" cellpadding="2">
      <tr>
        <td>
          <a href="<MTAmazonLink>">
            <img src="<MTAmazonSmallImage>" border="0" hspace="5" vspace="5" align="left">
          </a>
          <a href="<MTAmazonLink>">
            <MTAmazonTitle>
          </a> by <MTAmazonAuthor>
          <MTBookQueueEntryIfBlogEntry>
            <br />
        </td>
      </tr>
    </table>
  </MTAmazon>
</MTBookQueueEntries>

Any ideas? Thanks for the help!

Note from Byrne: It appears that the MTBookQueueEntryIfBlogEntry tag is being openned but not being closed.

Update on the problem I mentioned about about the path to mt.cgi being wrong when rebuilding. I haven't yet heard back from Byrne, so I just hard-coded my correct path in the add.tmpl and list.tmpl files. Kind of a lame solution but it works correctly now.

ditto heyotwell's note above. I followed his lead and hardcoded the add.tmpl and list.tmpl files and now it works. i really enjoy this plug-in...thx

Hi, I've just installed MTAmazon and BookQueueToo but my searches always return nothing. I have a fresh AWS subscriber ID (as of Dec 28) but to no effect. I am able to use MTAmazon tags, but I have no idea where to look to fix this problem. Any ideas? Thanks!

Note from Byrne: To be honest, I am not sure what to recommend. Double check to make sure the Subscriber Id you have entered is accurately reflected in the UI. Perhaps there was a copy/paste error. It is a long shot, but worth a shot. Anyone out there have similar issues?

Has anyone had any success in displaying the finished_on date?

I entered this date in the "Finished on:" field:

2004-12-15 12:00:00

I am using this code in my template: <MTBookQueueEntryFinishedDate format="%m/%d/%y">

and this is the output on my page:

-1/2-/04

You can see it here:

http://brooksnz.com/weblog/movies.php

When I change the field to entry or mod date, it works fine.

Thanks for any suggestions.

Note from Byrne: There is a bug in BookQueueToo 1.13 that prevents dates from displaying using a format string. I am hoping to have this fixed soon and release it with 1.14.

I sent an email to the author, but I thought maybe someone else here could help. I am having two problems. I am able to search for Books and CD's and such just fine. I add the items, but in my list all I see is their ASIN's. I get no Images or Titles in my Book Queue List.

The second problem is that BookQueueToo insists that everything become a book, even though it's music!

Now, both problems seem to point to some sort of problem with MTAmazon. I was thinking that perhaps BQ2 couldn't find the plugin, but if that were the case, I'd imagine it wouldn't be able to display the pictures and names when I search for items to add, and it certainly does that.

Also, I know MTAmazon works because it's working in my main index templates. It prints out the images and titles when i feed it ASIN's. The problem there, as I said before, is that I am unable to seperate Books and CD's because BQ2 is insisting that everything is a Book!

Ideas?

A couple of users asked about using BQT with Amazon.co.uk... One of my users sent me the following e-mail that may be of some use to everyone else. Unfortunately, the problem is with MTAmazon, and is not something I can easily address in BQT.

I did reinstall MT Amazon - and everything is now working fine. I love the new plugin - it's great to be able to add DVDs and CDs and everything. In case it helps with the .co.uk thing, here's the link I used to amend MT Amazon: http://www.iay.org.uk/blog/2004/09/using_mtamazon.html I have no idea about how the UK web services thing works, but I do know that they don't have the new Subscription ID thing that the .com site has. They still use Developers tokens.

Byrne,

Thank you for being so responsive over the holidays. I decided to do a new install of BQT. I completely removed the old BQT directory. After installing BQT again (changing directory name and permissions), I get the following error.

Loading template 'login.tmpl' failed: HTML::Template->new() : Cannot open included file ../../plugins/BookQueueToo/tmpl/login.tmpl : file not found. at ../../extlib/HTML/Template.pm line 1500 HTML::Template::inittemplate('HTML::Template=HASH(0x86c58ec)') called at ../../extlib/HTML/Template.pm line 1105 HTML::Template::init('HTML::Template=HASH(0x86c58ec)') called at ../../extlib/HTML/Template.pm line 999 HTML::Template::new('HTML::Template', 'filename', '../../plugins/BookQueueToo/tmpl/login.tmpl', 'path', 'ARRAY(0x871e7f0)', 'dieonbadparams', 0, 'globalvars', ...) called at ../../extlib/HTML/Template.pm line 1049 HTML::Template::newfile('HTML::Template', '../../plugins/BookQueueToo/tmpl/login.tmpl', 'path', 'ARRAY(0x871e7f0)', 'dieonbadparams', 0, 'globalvars', 1) called at ../../lib/MT/App.pm line 406 eval {...} called at ../../lib/MT/App.pm line 405 MT::App::loadtmpl('MTPlugins::BookQueueToo=HASH(0x8102e5c)', 'login.tmpl') called at ../../lib/MT/App.pm line 459 MT::App::buildpage('MTPlugins::BookQueueToo=HASH(0x8102e5c)', 'login.tmpl', 'HASH(0x871e7e4)') called at ../../lib/MT/App.pm line 337 eval {...} called at ../../lib/MT/App.pm line 297 MT::App::run('MTPlugins::BookQueueToo=HASH(0x8102e5c)') called at mt-bookqueue.cgi line 41 eval {...} called at mt-bookqueue.cgi line 36

It looks like it is trying to create the login template but is unable. Am I just doing something stupid?

Thanks

steve

Hey everyone...

A useful tip. Don't drop your mt_plugindata file from your database. When I recreated it, the problem above "magically" went away.

Byrne - the timestamp fix works great...thank you.

steve brooksnz.com

Byrne, I was seeing a strange problem: my MT Activity Log kept reporting that BQT couldn't locate its own lib folder, although the plugin was behaving correctly and doing what I wanted. (That is, it clearly was finding its lib folder somehow.)

I did notice that in BookQueueToo.pl, the first "use" line reads:

use lib 'plugins/BookQueueToo/lib';

which seems right, but I was able to stop the errors appearing in my Activity Log by changing it to the slightly more picky:

use lib './plugins/BookQueueToo/lib';

(adding the ./ before "plugins").

Also, if anyone's interested in a solution of sorts to the MT-Amazon "too many queries per second" problem, you can force MT-Amazon to throttle back its requests by adding a "sleep" command to the script. This will produce some side effects you might not like, although this fix works great for me. I wrote more details at my site.

Hmm. Scratch the comment I made above this one: I continuted to get strange errors in my Activity Log that BQT couldn't find it's own /lib directory until I hard-coded the full server path to /lib in BookQueueToo.pl:

use lib '/full/path/from/server/root/.../plugins/BookQueueToo/lib';

Hi, the zip version of the download leads to a 404. Nifty plugin though! Looking forward to getting it going.

Byrne, very exciting to get so close to installation; I am getting the same (verbatim!) errors as Steve, above, starting with

Loading template 'login.tmpl' failed: HTML::Template->new() : Cannot open included file ../../plugins/BookQueueToo/tmpl/login.tmpl : file not found. at ../../extlib/HTML/Template.pm line 1500

It's not holding up the rest of my blog... so "whenever." Thanks again for your work on this!

I woke up this morning and the strange problem above ("Loading template...") was gone. Go figure. BookQueueToo appears correctly in my blog and everything works as advertised. Nice, nice, nice, nice, nice. Every library needs this!

Love the plugin, but I have a couple of things going on here. I have tried adding dvds and music, but they show up as books. And I keep getting this error in my activity log. I FTP'd everything up to the server and I'm pretty sure that I have the permissions set correctly. Here is the errror.

Plugin error: /home/stfamcom/publichtml/cgi-bin/mt/plugins/BookQueueToo/BookQueueToo.pl Can't locate MTPlugins/BookQueueToo.pm in @INC (@INC contains: ./plugins/BookQueueToo/lib plugins/Blacklist/lib ./plugins/Blacklist/lib ./lib /home/stfamcom/publicht

Any help would be great. Thanks!

I was getting the same type of errors as heyotwell

I have put the full path in the pl file to the lib and we will see if the error goes away. It doesn't happen all the time, the last time I noticed it was happing when the site was rebuilding after despaming the MT-Blacklist

Am I doing something wrong here how I'm adding things? Everything wants to be a book. I bring in things as DVDs and if I change them to read and put in a finish date then they become books?

Note: I had to disable dynamic publishing for BQT to work (using MT 3.14); with dynamic publishing enabled for some templates, I was getting the error "The requested page could not be found. Smarty error: [in evaluated template line 17]: syntax error: unrecognized tag 'MTBookQueueEntries' (Smarty_Compiler.class.php, line 556)" ... I don't think dynamic publishing is that important for my site, but thought I'd bring that up. Six Apart pointed me to a page in its KB about plugins and dynamic publishing.

Okay,

Thought it was a database problem but I am getting the errors I posted before and kgs mentioned. Seems to work sometimes and not others. One way I can make it "correct" itself is if I go to the main menu and click on one of the other active plugins like Multiblog. When I do this, it forces me to sign-in again (even though I am signed in). After that I click on BQT and it works just fine.

I attempted installation but am getting an Internal Server Error. When DEBUG is set to 1 in BookQueueToo.pm I get the same thing when it is set to 0, which is the following.

Premature end of script headers: path/to/plugins/BookQueueToo/mt-bookqueue.cgi

I have verified that this is chmod 755. Any other suggestions?

Discovered that if you don't rename the BookQueueToo-[version] directory to BookQueueToo, you end up with Can't call method "param" errors. Maybe that will help some of you?

Hi I am getting the following message when I try to add my Amazon ID to bookqueuetoo. Help! An error occurred: Bad ObjectDriver config: Your DataSource directory ('./db') does not exist.

Does anyone know how to pull A "random" item from your list? ie just have one item be displayed in certain area on your page that can change to any of the items you have entered in your list.

Hi Byrne,

BookQueueToo seems pretty sweet. I haven't delved too far into it yet, but I have a small issue with it (that I fixed myself).

When I add a new item, the finished on date gets prepopulated as "-- ::". If I don't manually change that to nothing when updating the status or other fields (like when I'm adding books I haven't yet finished), BookQueueToo returns an error.

I didn't like that -- I think if it's not yet read, the default date value should be blank, or treated as such. So...

I added this at line 405 in BookQueueToo.pm, and it's working for me as expected. The default value is ignored.

if ($finishedon == '-- ::') { $finishedon = ''; }

Maybe this will help other people too.

I have tried everyhting under the sun, followed the install instructions to the letter - made sure .cgi and .pl files are able to be executred (set to 755) - MTamazon installed correctly (and working) - can see bookqueuetoo in list of plugins - internal 500 errors!! Reread install docs - followed everything to the letter - all permissions set ok. Nah - doesn't want to play - too bad as this plugin looks quite good.

Any ideas before I remove this??

David

Hi, I'm running Bookqueuetoo 1.15. Everything was going fine with BookQueueToo for several weeks until I rebuilt my site last night. I saw a row of three "init" errors after rebuilding but I couldn't catch what they were. Now when I try to open BookQueueToo from the main MT interface or from the plugin manager in the blog, I get: "An error occurred: Loading template 'login.tmpl' failed: HTML::Template->new() : Cannot open included file header-popup.tmpl : file not found. at ../../extlib/HTML/Template.pm line 2024."

I'm using BookQueueToo 1.15, and for whatever reason, MTBookQueueEntryFinishedDate does not work, as evidenced here: eclecticlibrarian.net/blog/read.html Any fixes in the works?

The transient problem vanished. ;) Who knows. I've had burps with BQT before, but it is great. I have very positive feedback about sharing my reading with my blog friends.

I am now trying to get a reviewed book to display. I entered the number of the blog entry (868). I don't see 'nuffin after I rebuild. Can anyone who has implemented this feature stop by my blog or email me at kgs at bluehighways dot com? I'm sure I'm just being obtuse.

Oooh! Oooh! Oooh! Linking to an entry works! (I needed another complete rebuild) I now have a spotlight review on my right-hand side. I'm going to see what I can do to create a special spotlight review corner.

In addition the MTBookQueueEntryFinishedDate tag not showing anything (see my reading list), I have discovered that BookQueueToo 1.15 changes the catalog for non-book items to book if the status is changed from unread to anything else. Any plans to fix this?

Great plugin!! works great, however i'm currently making a list of all the books i've read and i'd like to sort it alphabetically. I tried using sortby="title" sortorder="ascend, but i don't think, from reading the documentation that I can sort by title. If i'm wrong, or if you can think of a work arround, i'd be very grateful!

moo

I wasn't seeing the plugin. Then I checked my activity log and saw that it said, "Can't locate MTPlugins/BookQueueToo.pm in @INC". The only way I could fix it was to change line 8 of BookQueueToo.pl to either read use lib "mt/plugins/BookQueueToo/lib/"; or using the full path. So now the plugin is listed on my MT page, but it renders an incorrect link (http://www.lorddesign.net/mt/C:%5Cwebsites1%5Clorddesign.net%5Cmt%5Cplugins%5CBookQueueToo/mt-bookqueue.cgi?__mode=config). If I input the correct path to mt-bookqueue.cgi in my address bar, I get "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers.."

I love the plug-in, I have been using it on a group blog for a while (though I did not install it).

I just installed it on a separate blog, and when I go to add an entry, I get the following error:

Can't use string ("error retreiving&ltbr /&gtAmazon inf") as a HASH ref while "strict refs" in use at lib/MTPlugins/BookQueueToo.pm line 661.

Any advice?

Update from Byrne: This is caused by a bad response from Amazon. The XML parser is expecting XML from Amazon but has instead received a plain text error message. To fix this, you will need to delete the files in your MT cache directory and try again.

UPDATE:

I am still getting this error: Can't use string ("error retreiving&ltbr /&gtAmazon inf") as a HASH ref while "strict refs" in use at lib/MTPlugins/BookQueueToo.pm line 661.

I checked my error log, and got this: [Thu Feb 10 15:56:35 2005] [error] [client 216.116.100.2] Premature end of script headers: /home/truenor1/publichtml/cgi-bin/plugins/BookQueueToo/styles.css [Thu Feb 10 15:56:35 2005] [error] [client 216.116.100.2] File does not exist: /home/truenor1/publichtml/favicon.ico [Thu Feb 10 15:56:44 2005] [error] [client 216.116.100.2] File does not exist: /home/truenor1/public_html/favicon.ico [Thu Feb 10 15:56:54 2005] [error] [client 12.210.152.32] File does not exist: /usr/local/apache/htdocs/favicon.ico

Any thoughts, please?

I am getting the following error which tells me that MTAmazon is not installed. However, MTAmazon is installed and it works fine. Can you tell me if you know what is causing this?

An error occurred: Your server does not have MTPlugins::MTAmazon installed, or MTPlugins::MTAmazon requires another module that is not installed. MTPlugins::MTAmazon is required. Please consult the installation instructions for help in installing MTPlugins::MTAmazon.

Aaron: I was getting the same "Can't locate MTPlugins/BookQueueToo.pm in @INC" error. I took a look at line 8 of BookQueueToo.pl and rather than changing it the ways you tried, I changed it to:   use lib "../cgi-bin/plugins/BookQueueToo/lib"; No errors, no problems as far as I can see.

Big Lowitzki: The "File does not exist:" errors are because you you have a file calling your favicon.ico in the wrong place. Make sure you have a copy of that image file in your /usr/local/apache/htdocs/ (or just htdocs) directory. You might find some answers to the other error here (I don't use Apache myself): http://perlmonks.thepen.com/24447.html

I still can't get the MTBookQueueEntryFinishedDate tag to show up, so if anyone has that sorted out, I'd appreciate the help.

Hi, BookQueueToo is suddenly not working again; I don't see the books listed on my blog. I've rebuilt a couple of times. The error log shows:

Plugin error: /home/kgs/bluehighways.com/mt/plugins/BookQueueToo/BookQueueToo.pl Can't locate MTPlugins/BookQueueToo.pm in @INC (@INC contains: ./plugins/BookQueueToo/lib plugins/Blacklist/lib ./plugins/Blacklist/lib ./lib /home/kgs/bluehighways.com/mt/ex

Any thoughts? I love this plugin but I'll have to stop using it if I can't get this fixed.

Update from Byrne: This is caused by a bad response from Amazon. The XML parser is expecting XML from Amazon but has instead received a plain text error message. To fix this, you will need to delete the files in your MT cache directory and try again.

Okay...I tried this. Any other ideas?

I can't find an explicit statement here that BQ2 does NOT work with MT 2.661. Is it possible or not?

Trying to get this working on a Windows host. Having the same problem as moo above.

The plug-in shows on my main menu but with an incorrect link. It looks like it tried to build an absolute path but doesn't understand how paths on Windows are different than *nix.

Just like moo, when I do enter the correct URL, I get "The specified CGI application misbehaved by not returning a complete set of HTTP headers."

Any ideas?

Hi, so I just installed BQ2 and great as it is the lack of UK support immediately annoyed me so here's a patch so that sorts out most of the problems. You still need the MTAmazon patch noted further back in the comments (I assume - I haven't tried taking them out to see what happens)

In fetchamazon_info() change xml.amazon.com to xml-eu.amazon.com

and in fetchamazonsearchresults() change webservices.amazon.com to webservices.amazon.co.uk

and that's it!

I have a similar problem to earlier posters in that I am trying to generate separate lists for books, CDs and DVDs. I have followed the instructions on this site, but it doesn't seem to work for anything other than books, or an uncategorised list (which isn't what I want). So, the block which begins

<MTBookQueueEntries lastn="3" sortorder="ascend" sortby="modifiedon" status="reading" catalog="Books">
works just fine, but the blocks with
<MTBookQueueEntries lastn="3" sortorder="ascend" sortby="modifiedon" status="reading" catalog="DVDs">
and
<MTBookQueueEntries lastn="3" sortorder="ascend" sortby="modified_on" status="reading" catalog="Music">
won't play the game. The resulting page can be seen on my blog at www.stephencollins.org. Any and all advice, including pointers to solutions I missed (and an appropriate head-slap), greatly appreciated.

for those that are getting the "Can't locate MTPlugins/BookQueueToo.pm in @INC" errors: i was able to fix mine by un-#'ing the "use lib './plugins/BookQueueToo/lib';" line in the BookQueueToo.pl file. After that, I re-uploaded everything to the plugins dir, and made sure that the mt-bookqueue.cgi was CHMODed to 755 - everything works great now! yay!

Hi there... Is there any reason why BookQueueToo would work fine on my Main Page, but not on my Archive pages? For some reason I'm getting a conflict with Smarty.

Thanks!

Thanks for a wondeful plugin!

My only problem so far (knock on wood) is that it keeps thinking everything is a book. I bring a dvd in (as a dvd) and if I change it to 'unread' (for sorting purposes)... then it automatically becomes a book.

I've noticed several others here have had that problem as well... any fix for it yet?

Also, is there anyway to change the default sorting when I first go into Manage BookQueue screen? I'd like to always have it sorted by 'created on' in 'ascending' order with 50 per page, but I don't want to have to reset that every time I go into it.

Thanks!!

Hey, I just installed BookqueueToo on my server, and it appears in my Active Plugins and all that, but when I access the "Edit My Bookqueue" link at the bottom of my blog's page, the page that loads has no link on the left to add an item, all it has a link for is "Main Menu." Is there a workaround for this?

Hoping to use the MTBookqueueEntryCatalog tag, but there is not details in the actual tag reference page. I assume this will allow me to put the "category/catalog" the item on my page is from? I have books/music on my main page and would like some way to differentiate between each on my main page.. When I attempted to add the tag I merely get a blank space where I hope the "catalog category" should be. Thanks in advance!

Just seconding the "All The World's a Book" issue. BQT 1.16 is working beautifully, but any item I edit gets converted to a "Book."

Thanks for your work, Grettir

hey.. this is a Great plugin... buh every so often when i add a new book i get this error on rebuild

Build error in template 'Main Books': Error in tag: Error reading XML content: Not a quote character [Ln: 24, Col: 17]

and i have to delete all the books i added since the last sucessful rebuild.

any idea what may be causing this?

Classical?

Using <MTBookQueueEntries catalog="Classical"> results in the following error when I try to rebuild the template in MT:

Build error in template 'MT template': Error in <MTBookQueueEntries> tag: Recognized catalog type: Classical

Anybody have any thoughts on this one? I have also tried using "classical" with lower-caps instead of initial caps to see if there was a difference, and I got the same results.

Jacq

I have two problems.

  1. The first is mentioned above. All books/DVDs/music, whatever, is automatically re-placed back into the "books" category after rebuilding or updating the entry. Please help!

  2. I am receiving the following error in my log: Premature end of script headers: /home/lisala2/public_html/cgi-bin/plugins/BookQueueToo/styles.css

Not being well versed in cgi/pl files, I don't know exactly what to change. Help, please! THanks~!!!!

Like everyone else on this page, I think this is a sweet plugin! I've been running it with the Amazon.co.uk web services... which required the change to MTAmazon discussed above, but also a mod to BookQueueToo.pm, so that the search to add new items searches the .co.uk catalog and not the .com one. I've got a modded version of the script at my site if anyone's interested (it goes in "lib/MTPlugins").

On the other hand, I'm encountering the problem whereby everything thinks it's a book. Any ideas what might be causing the problem? I've had a quick look through, but as I'm not entirely sure what's going on, I didn't find anything...

Hey... I'll upgrade to 1.16; I felt I shouldn't even mention that date problem, but thank you for fixing it.

This is such a great plugin. My biggest issue is that due to this plugin I have disabled dynamic publishing. I hate that tradeoff--rebuilds are slower and slower. Am I correct that I can't use this in conjunction with dynamic publishing?

Hello, This plugin looks great but I can't seem to get it to work. Everything works fine from the MT interface. I am able to set my queue. Nothing shows up on my blog though. When I run mt-bookqueue.cgi, I get the error:

Loading template 'login.tmpl' failed: HTML::Template->new() : Cannot open included file header-popup.tmpl : file not found. at /big/dom/xhekel/cgi-bin/mt/extlib/HTML/Template.pm line 2024.

Appears other people have had the same error. I checked to make sure the mt_plugindata table was defined in MySQL. I have no idea what is causing this error and would appreciate any help.

Thanks.

I am getting this error when mt-bookqueue.cgi runs:

Loading template 'login.tmpl' failed: HTML::Template->new() : Cannot open included file header-popup.tmpl : file not found. at /big/dom/xthekellams/cgi-bin/mt/extlib/HTML/Template.pm line 2024.

Other people have had this error above. I checked to make sure that the mtplugindata table was present in MySQL. I would love to get the plug in to work. Any help appeciated! Thanks.

Please disregard the previous post, I discovered the problem was. The cgi script appears to work when called from in MT.

I am still not able to get the queue to show up in my blog and I am getting the same error as lisa casey above. Premature end of script headers for the styles.css file. Were you able to resolve this issue lisa?

Thanks.

Hi guys

Have this installed (latest version of MT). Everything works except, when I add the tags to my main index template, nothing shows up!

I'm using the first sample code from the README. Any ideas?

Mark

I've been blissfully (and gratefully) using BQT since early on. Since I'm sure you don't have enough to do already ;-) I thought I'd throw out something for the BQT "feature wishlist". I would love to be able to import or copy BQT data from one blog to another. (so I don't have to duplicate the tedious adding of the same books, etc.) Is there any way to accomplish this now? Is this kind of feature too "wild and crazy" to hope for? :-)

I'm having a problem with pulling just the related bookqueue entry for individual MT Entries. The following code produces a list of all the entries in the queue, each preceeded by '">'. If I remove the '">' from the code in my template after the tag and recompile, the '">' fragment doesn't show up on the compiled page, but it makes no difference to whether or not the page compiles correctly.

If I hard code the specific entry ID into the BookQueueEntries code (ie 'entry_id="7"'), it works correctly. Any ideas?

=====

">

">" border="0">
by

Bookqueuetoo doesn't work with the latest MT Beta 3.2. Is that true? Has anyone experienced the same problem?

I have been having trouble with the plug-in from within my blog. When I click on it, I get:

An error occurred:

Undefined subroutine &XML::Simple::setdocumentlocator called at /big/dom/xthe/cgi-bin/mt/plugins/BookQueueToo/../../plugins/BookQueueToo/lib/XML/SAX/Base.pm line 1466. ...propagated at ../../lib/MT.pm line 877.

Not sure how to fix this.

Mark, I can confirm that Bookqueuetoo is broken in MT Beta 3.2:

Build error in template 'Main Index': Error in tag: Error reading XML content: Undefined subroutine &XML::Simple::setdocumentlocator called at /hsphere/local/home/nocturne/nocturne.net.nz/mt/plugins/BookQueueToo/lib/XML/SAX/Base.pm line 1466. ...propagated at lib/MT.pm line 877. .

I get that on rebuilding.

On an unrelated note, it would be nice if the Amazon URLs posted by Bookqueue was URL encoded - the lack of &s etc means bookqueue creates bad xhtml.

Known issue: BookQueueToo does not work with MT 3.2 due to a bug in MT. One of the benefits of working for Six Apart is that I can guarantee a developer is working on it.

In the interim, you can fix the bug bu commenting out the following lines in lib/MT.pm: 874-878.

I don't know if this is something that happened on my server side or something with the Amazon plugin. I'm using MT 3.17 and the BQ 1.16 and just today it looks like the amazon plugin is creating the cache files as rw - - instead of rw rw r like it used to. I have made no changes on my site or my webserver but whenever it goes to rebuild now, It won't it gets hung up on the cache files. Any help would be great. As much as I would like to jump to mt 3.2 and the new Media Manager, I just don't have the time or energy for it. I'm grateful for all the work that you do. Thanks!

After a recent upgrade to MT 3.17 MT Book Queue Too does not work anymore. MT Amazon and all the required dependencies are installed. Book Queue Too gives me an INTERNALSERVERERROR whenever I try to access BookQueueToo

I looked in the apache error logs, and i get messages such as

CODE

[Thu Aug 25 10:50:00 2005] [error] [client 111.222.333.444] Premature end of script headers: /usr/local/www/cgi-bin/mt//plugins/BookQueueToo/mt-bookqueue.cgi [Thu Aug 25 10:50:00 2005] [error] [client 111.222.333.444] syntax error at ../../lib/MT/PluginData.pm line 17, near "use MT::Object" Compilation failed in require at lib/MTPlugins/BookQueueToo.pm line 34. BEGIN failed--compilation aborted at lib/MTPlugins/BookQueueToo.pm line 34. Compilation failed in require at /usr/local/www/cgi-bin/mt//plugins/BookQueueToo/mt-bookqueue.cgi line 11. BEGIN failed--compilation aborted at /usr/local/www/cgi-bin/mt//plugins/BookQueueToo/mt-bookqueue.cgi line 11. [Thu Aug 25 10:50:01 2005] [error] [client 111.222.333.444] Premature end of script headers: /usr/local/www/cgi-bin/mt//plugins/BookQueueToo/mt-bookqueue.cgi

Can anyone help with this?



Recent Comments

  • After a recent upgrade to MT 3.17 MT Book Queue Too does not work anymore. MT Amazon and all the required dependencies are installed. Book Queue Too gives me an INTERNALSERVERERROR whenever I try to access BookQueueToo ...

  • I don't know if this is something that happened on my server side or something with the Amazon plugin. I'm using MT 3.17 and the BQ 1.16 and just today it looks like the amazon plugin is creating the cache files as rw -...

  • Known issue: BookQueueToo does not work with MT 3.2 due to a bug in MT. One of the benefits of working for Six Apart is that I can guarantee a developer is working on it. In the interim, you can fix the bug bu commentin...

  • Mark, I can confirm that Bookqueuetoo is broken in MT Beta 3.2: Build error in template 'Main Index': Error in tag: Error reading XML content: Undefined subroutine &XML::Simple::setdocumentlocator called at /hspher...

  • I have been having trouble with the plug-in from within my blog. When I click on it, I get: An error occurred: Undefined subroutine &XML::Simple::setdocumentlocator called at /big/dom/xthe/cgi-bin/mt/plugins/BookQ...

Close