Screen scraper server and network drives

Hi,

I used to be able to call screen scraper scripts directly from my code (via running screen scraper as a server) although since moving a drive (named the z drive) from inside my computer where screen scraper is installed (on the c drive) to the server on the same network, screen scraper fails. The log file reports that no path exists. I am totally confused as the drive is named exactly the same letter and the directories all still exist, the only thing that is different is where the drive resides. However when I temporarily change the script to write to a local drive (k drive which is another drive insdie the local computer) the script runs ok.

Could you explain if Screen Scraper allows this functionality of writing across a network? (I am running v3)

thanks, kerri

Moving drives

Ok, so here is what I understand.

You had screen-scraper installed locally on a "Z" drive. You removed the "Z" drive from your computer and placed it inside the server on the network. Perhaps you've even mapped this network drive to still be drive "Z" on your local computer.

You then run a script which calls on screen-scraper externally - so it needs to be in server mode. You start screen-scraper in server mode and execute your script and you receive an error because of a path problem.

I can think of a few things I would check (you might want to make a backup of your scrapes before starting this). First, in the /resource/conf directory of where you installed screen-scraper there will be a screen-scraper properties file. Open this file and start looking for paths. If you can find one that seems to be an obvious mistake, you can fix it and try to see if it will work.

If it is not a path problem in that file, it is probably a windows service problem. The easiest way to fix this would be to download the latest version of screen-scraper and install it fresh on whichever machine you want it to run on. You can then import your scraping sessions from your backup, and the path problem should be fixed.

If this doesn't work, let me know and we'll keep working on it.

Thanks
scraper

SS as a server and network drive

Hi again,

Sorry not got back to this and therefore never saw your response.

I seem to have confused my original post. Basically I use another drive for all files, this is called the Z drive. before this problem I used to run SS as a server and SS placed the results on the Z drive (which was an internal drive). I have since moved the Z drive (from internally in my computer alongside the C where SS is installed and has not been moved) to another computer on the network (so I have not moved the installation, just the place where the file is saved) and screen scraper fails with the following log file.

Starting scraper.
Running scraping session: Chart_Track
Processing scripts before scraping session begins.
Processing script: "get ct week"
Chart_Track: An error occurred while processing the script: get ct week
Chart_Track: The error message was: The application script threw an exception: java.io.FileNotFoundException: z:\chart track\ctweek.txt (The system cannot find the path specified) BSF info: null at line: 0 column: columnNo
Processing scripts after scraping session has ended.
Scraping session finished.

although I can run this scraping session manually and save the file to the Z drive without a problem.

Any advise?

thanks again Kerri