session's import question in v4.5

hi guys,

when import a seesion by copy it to another ss'import directory, and run it by command line
but sometimes i found ss can't analyse out session included script completely

I haven't meet a similar problem in V4.0 and it's import analyse very well .

do i need fix some properties in V4.5 or it only import by GUI ways ?

Thanks in advance

will

do you get an actual error on

do you get an actual error on the command line? Or does it fail "silently" without any errors?

Or does the scrape just not run properly, as expected?

hi timv, thanks your

hi timv,

thanks your reply !

first of all,i don't think it's not run properly exception, it has occurred many times ,it always fail import some scipts "silently" in the V4.5

for exemple:

the session must first load the three scripts

script name-------------------------------sequence-------------------------when to run
generic - start-------------------------------1---------------------- before scraping session begins
generic - scraper.xx - local------------------2-----------------------before scraping session begins
generic - over--------------------------------3-----------------------before scraping session begins

but when import the session by copy to ss'import directory and run it in command line

the result is :

Initializing screen-scraper...
Starting scraper.
Running scraping session: scraper.xx
Processing scripts before scraping session begins.
Processing script: "generic - start "
Processing script: "generic - over"

the analysis Skip the second script "generic - scraper.xx - local" directly and the session can't stop run at last ,must use ctrl + c to quit the session

i must at least import the session twice to run it successfully

hava some ways to fix the quesion ?

thanks

Will

Usually SS will skip a script

Usually SS will skip a script when it can't find it inside of the database it keeps.. That doesn't make a lot of sense, though, because it *must* be exporting correctly if it works on the second try.

Can you send the scraping session to [email protected] ? I can directly look at the scraping session that way. If you want to remove any extra stuff, like usernames/passwords, then go ahead. I'm just curious to see the session.

Hopefully that will open up the explanation...

Tim

well, i hava send a session

well, i hava send a session to [email protected] ,please check it

Look forward to you answer

Will

I've imported the session,

I've imported the session, and it seems to work alright for me... I've tried importing it in a few different ways... using the "import" folder, opening the workbench and manually importing it...

It seems that the session you've given to me, in a clean installation of 4.5 works pretty well.

Can you verify something for me? If you open the workbench, delete the scrape and the scripts, and then try your normal method again, by placing it in the import folder, does it work, or does it fail?

My thought is that somewhere screen-scraper got confused... maybe when you renamed a script or something? Have you renamed your scripts a lot, before putting your .sss file in the "import" folder? Maybe we've got some occasional bug with imports, when the name of a script changed.

seems your "old script"

seems your "old script" produced by v4 not readable by ssv4.5
or it's a bug in v45. ;)

//Max

maybe the guess is right but

maybe the guess is right
but wish is a fixable question ;)

Will