301 Errors

Chuck Neal chuck at mediamacros.com
Tue Oct 19 15:55:50 CDT 2004


A little more info.  I just set debug to 2 to see everything that's
happening.  (Lots of DB operations there.)

What is odd is I only get one 301 error and it corrupts the file, but then
more commands run successfully afterwards.  Here is a small portion of the
dump (the SQL query is my own "put" code)

* V4MD *: new VCursor...done
* V4MD *: Cursor_SetBlank...done
* V4MD *: Cursor_SetField...done
* V4MD *: SetPicture...done
* V4MD *: Cursor_AddRecord...done
* V4MD *: Cursor_Destroy...done
* V4MD *: GetRef...done
* V4MD *: new VCursor...done
* V4MD *: ValentinaError...done
* V4MD *: Cursor_GetRecordsAsPropList...done
* V4MD *: Cursor_Destroy...done
* V4MD *: ValentinaEscapeString...done
* V4MD *: DB_SqlExecute...done
* V4MD *: ValentinaError...done
* V4MD *: GetRef...done
* V4MD *: new VCursor...error 301
* V4MD *: ValentinaError...error 301
* V4MD *: ValentinaErrorString...error 301
-- "
error

SELECT image FROM technique_image WHERE technique = 15 ORDER BY sort
[15]
DataFile error

"
* V4MD *: Cursor_Destroy...done
* V4MD *: DB_SqlExecute...done
* V4MD *: ValentinaError...done
* V4MD *: GetRef...done
* V4MD *: new VCursor...done
* V4MD *: ValentinaError...done
* V4MD *: Cursor_FirstRecord...done
* V4MD *: GetPicture...done
* V4MD *: Cursor_Destroy...done
* V4MD *: ValentinaEscapeString...done
* V4MD *: GetRef...done
* V4MD *: new VCursor...done
* V4MD *: ValentinaError...done
* V4MD *: Cursor_GetRecordsAsPropList...done
* V4MD *: Cursor_Destroy...done
* V4MD *: GetRef...done
* V4MD *: new VCursor...done
* V4MD *: ValentinaError...done
* V4MD *: Cursor_GetRecordsAsPropList...done
* V4MD *: Cursor_Destroy...done
* V4MD *: ValentinaEscapeString...done


How is that possible?  Once it errors once shouldn't it error every time
after that?

-Chuck
--------------------------
Chuck Neal
CEO, MediaMacros, Inc.
chuck at mediamacros.com
http://www.mediamacros.com
--------------------------
Check out the Developers Mall 
Your one stop shop for all your Director Xtra Needs
http://www.mediamacros.net/customer


-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan Zasukhin
Sent: Tuesday, October 19, 2004 1:54 PM
To: valentina at lists.macserve.net
Subject: Re: 301 Errors


On 10/19/04 8:12 PM, "Chuck Neal" <chuck at mediamacros.com> wrote:

> Well the problem is that this is a new database.  I create the new 
> database and add the paired data to it but reading records, getting 
> the info via a list, then writing them to the new database.  This 
> works fine for smaller chunks of data but the larger ones seem to 
> corrupt it every single time. The original database is not effected, 
> its just the new one that seems to give me problems.  What causes this 
> in the first place?  Is there a command, or common event that makes 
> this happen that I should avoid?

There is no such info.

301 -- this is something very deep.

> I was able to export a small group just now with no problems, yet 
> others fail every single time with a 301 error.  I can't always 
> predict the size or content of the data the user will have so how can 
> I safeguard against this happening at runtime?

So you do in loop read of record and you self produce some export to file?

If comment export and leave only iteration by records then problem still
here?

What size of you cache ?
Make sure it is big enough

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------

_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list