473,473 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

PyTime Object and Application Crashing

Hi,

When I run a query against an access database and the default date for
my date/time field is 12/30/1899 the application crashes. Changing this
to a different date like 03/03/2003 works.
The output of the query when returned as a list is as follows:

[571, u'DE8', <PyTime:10/2/2003 12:00:00 AM>, <PyTime:12/30/1899 1:05:51
PM>, 0.
079999998211860657, u'1 - Litter in sample', u'', False, 10.0, 0.0]

When I try to print item 4 (list[3]) of the list, the application stops
and I get a "Send Error Report" in Windows XP.

I am using python 2.3.3 and the win32all-163 extension.

Thanks
Ryan

Jul 18 '05 #1
1 1546
On Tue, 20 Jan 2004 21:54:02 -0500, Ryan Scott <ry********@sympatico.ca>
declaimed the following in comp.lang.python:
Hi,

When I run a query against an access database and the default date for
my date/time field is 12/30/1899 the application crashes. Changing this
From the Access help file:
access>
access> DATE
access> Returns the serial number of a particular date.
access>
access> Syntax
access>
access> DATE(year,month,day)
access>
access> Year is a number from 1900 to 9999.
access>
access> Month is a number from 1 to 12 that represents the month of
the year.
access>
access> Day is a number from 1 to 31 that represents the day of the
month.

Take a close look at the valid range for Year.

-- ================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.netcom.com/> <

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Adam Hearn | last post by:
Sorry if this difficult to understand but I'm pulling my hair out and could do with some good ideas please... I've developed an application which in .NET as a Windows service which is simply...
5
by: VinnieT | last post by:
I have a load balanced system that consists of 3 production servers. There are about 20 different applications that are used on these boxes. One of my applications in particular is used more than...
31
by: Jamie Burns | last post by:
Hello, I am writing a client / server application. There is 1 server, and many clients. The server processes requests from each client, and typically creates and manipulates C++ objects on their...
2
by: mavrick101 | last post by:
I have an application that would send a file to browser using Response.writefile. Every thing seems to work fine, but some times during testing, something goes wrong and I can not capture it. I...
0
by: Jacco Houter | last post by:
I have an HMI application which shows the status of a machine. In the background I have 7 threads, each receiving status info from the machine and generating events when the status is changed. The...
9
by: bill | last post by:
I keep getting Object reference not set to an instance of an object error when trying to run my application on an installed client machine. I installed it on several others and it runs fine. I...
1
by: ankit | last post by:
I made a Cpp application wihich links with shared objects. But when I runs the application, it crashes surprisingly before entering into the main() control block. After trying with gdb I came to...
5
by: xoinki | last post by:
hi all, I have a very general question.. My program is crashing in a window procedure... the sample code is as follows.. return CallWindowProc(pccustgrid->m_wporiglistwndproc, hwnd,...
2
by: mettá | last post by:
I have a web site on a shared server (Win2003) and occasionally the site goes down with a message "Service Unavailable" The ISP says there must be a problem with the ASP content and excessive use...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.