Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Errror during Import

Quote Reply
Errror during Import
Upon telneting into my account, i'm trying to import defs from V1.0 (SQL) to the new V2.0 (SQL). The syntax that I use is the following:

perl nph-import.cgi --import links1 --source /home/Mottster/www/cgi-bin/admin/defs --destination /home/Mottster/www/cgi-bin/links2/admin/defs

When excuting this command I get the following error:

CRITICAL ERROR OCCURED: Unable to open : No such file or directory at /home/Mottster/www/cgi-bin/links2/admin/Links/Import/L1S2.pm line 82

I've gone and verified the path to this file. The file is there, any suggestions on why this is happening?

Thanks,

Sean

Thanks,

Sean Mott
http://www.weathertalk.net
Internet's best weather search engine
Quote Reply
Re: Errror during Import In reply to
Make sure your source and destinatin directories exist.

Quote Reply
Re: Errror during Import In reply to
I've been through and checked that both of the source/destination directories are there.

Thanks,

Sean Mott
http://www.weathertalk.net
Internet's best weather search engine
Quote Reply
Re: Errror during Import In reply to
Here is what it can't do:

open CATS, "<$Links1::Def::Category::db_file_name" or critical "Unable to open $Links1::Def::Links::db
_file_name: $!";

Which I believe means it isn't finding the Category.def file at /home/Mottster/www/cgi-bin/links2/admin/defs/Category.def

Also check your permissions....

Wil




Quote Reply
Re: Errror during Import In reply to
Actually in talking with Alex, it was two things..

(1) --source=<path> .. Need to have the = sign
(2) --import-LinksSQL, not links1

Good FYI for newbies..

Thanks,

Sean Mott
http://www.weathertalk.net
Internet's best weather search engine
Quote Reply
Re: Errror during Import In reply to
My bust...... Looked right at it and didn't even notice you weren't using the = signs. It has been a long 24 hours.

Quote Reply
Re: Errror during Import In reply to
Hi,

Actually, the = is not important, it was the wrong product that caused the problems. =)

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Errror during Import In reply to
But it was a File Not Found error.........

Quote Reply
Re: Errror during Import In reply to
Yes, because it was trying to import from Links 1.x, not Links SQL, the variables were not defined properly.

Cheers,

Alex

--
Gossamer Threads Inc.