Drupal 4.6.2
amazon.module,v 1.7.2.3 2005/07/14 03:47:01

I'm not sure but is this a prefix error?

I'm using 'main_'

user error: Duplicate entry 'amazon-node/7_ways_to_notch_a_killer_cell_phone_contract_wireless_negotiating_secrets_part_ii_an_article_from_the_telecom_manage' for key 2
query: INSERT INTO main_url_alias (src, dst) VALUES ('node/99/feed', 'amazon-node/7_ways_to_notch_a_killer_cell_phone_contract_wireless_negotiating_secrets_part_ii_an_article_from_the_telecom_managers_voice_report/feed') in ~/includes/database.mysql.inc on line 66.

Comments

Prometheus6’s picture

Possibly, but your problem is with the module you're using to create aliases. That's what's generating the error.

green monkey’s picture

I'm using both

pathauto.module and clean URLs,

Amazon doesn't work with pathauto?

green monkey’s picture

can I toggle feature or module off, then do an import, then toggle it back on?

if yes, what?

Prometheus6’s picture

Okay, I think I see what happened.

The amazon node type was really created with book reviews in mind. I think if you give the node a title that's different than the book's title it may work.

Importing the books in bulk should work too.

Prometheus6’s picture

By the way, your email server is misconfigured. I've gotten an error message from it for every post in this thread.

green monkey’s picture

but that was were I was getting the errors .... in the Import Feature of the Amazon module -- it looks like a very useful tool and I wanted to use it first, not in the mood to edit a 100 pages right now, so the bulk load option looked like the way to go.

so at this point I'm confused, is there a way to get bulk import working?

thanks for the heads up on the email server, yeah it looks like starband.net been having problems all week. I got 3 accounts I can't even pull down from.

Prometheus6’s picture

that was were I was getting the errors .... in the Import Feature of the Amazon module

That is interesting.

I don't see a reason for the problem (which from the error message seems to be an attempt to create the same alias for multiple nodes). Since the alias seems to be made from the node title you may have had two items (for instance a hardcover and paperback version of the same book). I'm guessing because I don't use pathauto and don't really have time to experiment right now.

Anyway, you should be able to shut off pathauto, do your imports and turn it back on. The nodes just won't have an alias, is all.

green monkey’s picture

that did it!

I was allowed to Import, but then ran into other issue. Closing this thread - subject line won't relate to new issue.

green monkey’s picture

Status: Active » Closed (fixed)