|
by: Joe Wong |
last post by:
Hi,
I have a class that created a child thread for processing, this thread might raise an exception under some condition. On the main program that create an object of this case, I put a try/except block trying to capture the exception but failed. Am I doing anything wrong here?
here is the stripped version of my code:
class A:
def __init__(self):
self.thread = threading.Thread(None, self.MyThread)
self.thread.setDaemon(1)
|
by: Pawel Banys |
last post by:
Hello,
There is an operation which can be performed at the shell prompt the
following way:
some_prg > result_file
However, before "some_prg" can use files, they have to be converted and it
can be done like this:
|
by: xc |
last post by:
Greetings.
I encountered a wield problem when grabing screen images.
Sometimes in some computers I can capture the screen, but other times not
so.
In some computer I cannot capture the screen image, but when I change its
color bits, say from 32bits to 24 or 16bits, the program can capture the
image.
Can anyone kindly examine my following code, and point out the flaw:
|
by: Mark Barinstein |
last post by:
Hello.
W2K, db2 v7, FP10a.
Before now our replication worked properly. But some days ago capture
suddenly stopped loggin and filling cd tables without any messages. The last
message was like this:
--
2004-03-03-09:17:36 ASN0105I: Data that has been copied was pruned from the
change data table ASN.IBMSNAP_UOW at SEQ = 00000000006EFDC2DB55 for 2
|
by: Kevin |
last post by:
Configuration:
Redhat AS 3.0
IBM DB2 8.1 fixpak 5
Problem:
I am attempting to start a capture and get the following error
message:
2004-06-10-10.46.34.625103 <Asnenv:setEnvIpcQRcvHdl> ASN8009D
"Capture" : "ASN" : Could not get IPC queue with key(s) "(0x300542c4,
|
|
by: j101 |
last post by:
I am attempting to set up Q Capture on RH Linux (x86_64) using DB2 9 fp2, but
there seems to be a general problem loading a specify MQ shared library
"/opt/mqm/lib/libmqm_r.so". I have MQ v6 installed in the default directory
and working.
I can generate the similar errors in two ways (1) through the Replication
Center attempting to validate the Q objects and (2) after manually creating
the Q objects and running the asnqcap program.
...
|
by: Muffin |
last post by:
I am trying to capture the out put of a command line program. Let say ping
or maybe better yet nslookup. I would like to launch and then capture all
the output , redirect it I guess to a string variable or something. I know
how to start it , but not how to capture it. Nslookup I realize can be
started interactively, which is to some degree what I may need to do as I am
discovering that there is no easy way to query DNS svr records with...
|
by: dolittle |
last post by:
Hi,
I want to create a screen capture using java.
I'm new to java and I'm overwhelmed by the so many terms: SE, EE, FX, Swing...
I saw a nice product written in java that let you start the Java program from the website (java web start) and then it sits in your system tray. When you right click on it you see several capture options: full screen, area, window...
After you capture it opens a window with your screen capture and you can...
|
by: tahirahmed |
last post by:
Hello,
Before i start programming my application in C# I want ask a few things about directX capture class.
My application scenario
I want to design an application which is able to detect video signal, here i am using my Nvidia Geforce 6600 graphics card as video input device, the video source is a small camera which is outputting the video through composite video cable and that cable is attached to the input connector of my vga card.
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|