search for: report_error

Displaying 11 results from an estimated 11 matches for "report_error".

Did you mean: report_errors
2010 Jun 07
1
[PATCH] ESX: Fix storage URL if storage has a snapshot
...olume creation # takes a very long time, the transfer may fail in the mean time. - my $r = $self->head($url); - if ($r->is_success) { - $self->verify_certificate($r) unless ($self->{_v2v_noverify}); - $self->create_volume($r); - } else { - $self->report_error($r); + my $retried = 0; + SIZE: for(;;) { + my $r = $self->head($url); + if ($r->is_success) { + $self->verify_certificate($r) unless ($self->{_v2v_noverify}); + $self->create_volume($r); + last SIZE; + } + + # If a d...
2010 Apr 28
3
Fix 2 issues in ESX transfer
We were seeing 100% failure rates transferring 10G disk images from ESX on a particular setup. We also weren't spotting the transfer failure, and dying with a strange error from libguestfs. These 2 patches fix the error check which should have made it obvious what was failing, and the underlying error.
2010 Oct 08
7
[PATCH] Replace pyxml/xmlproc-based XML validator with lxml based one.
...we issue a warning. + # TODO: How to handle a missing dtd file? + # --sp + warnings.warn(''DTD file %s not found.'' % (self.dtd), + UserWarning) + return - # Get errors back from ValidatingApp - def report_error(self, number, args=None): - self.errors = xmlproc.errors.english - try: - msg = self.errors[number] - if args != None: - msg = msg % args - except KeyError: - msg = self.errors[4002] % number # Unknown err msg :-) - print m...
2005 Jul 16
1
Compiling under Fedora Core 4 - Problem
...namespace. I'm trying to port from a Linuxconf virtual WU-IMAP type config. So - I compiled but then decided I wanted mysql so I tried to reconfigure and now getting compile errors. Looks like I'm missing something? /usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x25): In function `report_errors': : undefined reference to `ERR_get_error_line_data' /usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0xa4): In function `vio_ssl_read': : undefined reference to `SSL_read' /usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0xc5): In function `vio_ssl_read': : undefined reference...
2011 Jun 16
0
[LLVMdev] LLVM-based address sanity checker
On 16 June 2011 09:27, Kostya Serebryany <kcc at google.com> wrote: > Question to the LLVM developers: would you consider adding > the AddressSanitizer code to the LLVM trunk? Do you have an idea how hard would it be to port to non-x86 platforms? I saw some Intel ASM in the C++ file... The run-time library being 1.5k loc is not encouraging, but it didn't look particularly
2011 Jun 16
2
[LLVMdev] LLVM-based address sanity checker
...no asm at all, but using the custom asm allows to make the generated code more compact. Now, the code that actually reports the error is 5-6 bytes, we could decrease it to 1 byte (at least on x86/x86_64) with some more work. http://code.google.com/p/address-sanitizer/wiki/AddressSanitizerAlgorithm#Report_Error My first attempt that used no asm required ~15 bytes of code. Note, this code is executed only once, so it affects the performance very slightly (through icache size). > > The run-time library being 1.5k loc is not encouraging, but it didn't > look particularly platform specific... &...
2007 Nov 08
1
QueryParser : some remarks
...I would prefer a "not implemented" exception rather than letting the user think we have nothing about that subject... Would it be possible to add options to the query_parser so the user can choose if she wants a tolerant parser or not? Perhaps it could be a bitfield, something like qp.report_errors(UNMATCHED_BRACKETS | UNMATCHED_QUOTES | UNKNOWN_FIELDS | ...) with the default being no error report at all to keep intact the actual behavior (although it actually reports some errors like bad operators usage : a and and b). Your thoughts? 5. Names of operators, prefix names case sensitivit...
2011 Jun 16
2
[LLVMdev] LLVM-based address sanity checker
Hello again, The tool we announced 1.5 months ago has matured quite a bit. In addition to heap out-of-bound and use-after-free bugs it also finds stack overruns/underruns. AddressSanitizer is being actively used by the Chromium developers and already found over 20 bugs: http://blog.chromium.org/2011/06/testing-chromium-addresssanitizer-fast.html Question to the LLVM developers: would you
2010 Oct 11
5
Object lost in memory/trashed?
...as a favorite". I''ve got an action in a comments controller fetching the data: # Get bookmarked class from params and fetch the wanted instance model_class = Kernel.const_get(params[:commentable][:type].capitalize) instance = model_class.find params[:commentable][:id] report_error("Cannot find " << model_class.to_s << " with id " << params[:commentable][:id].to_s) if instance.nil? @comments = instance.comments # Include bookmarks if model is bookmarkable, and sort bookmarks and comments all together if BookmarksController::B...
2011 Jul 18
5
[PATCH v3 0/5] btrfs-progs: scrub interface
This is the next patch series for scrub userland tools. Change log v1->v2: - commands now reachable as "btrfs scrub ..." instead of "btrfs filesystem scrub ..." - ability to scrub a single device instead of a whole file system - superfluous command line options removed - resume is now a separate command ("scrub resume") instead of "scrub start -r" -
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
...if ($vmdk =~ /^(.*)-\d+$/) { - $vmdk = $1; - $url = _get_vol_url($self->{_v2v_server}, $vmdk, $datastore); - } - } + $self->_verify_certificate($conn, $uri->host) unless ($self->{noverify}); - else { - $self->report_error($r); - } - } - - $self->{_v2v_received} = 0; - my $r = $self->get($url, - ':content_cb' => sub { $self->handle_data(@_); }, - ':read_size_hint' => 64 * 1024); - - if ($r->is_success) { - # It reports s...