search for: runtimeerrors

Displaying 20 results from an estimated 653 matches for "runtimeerrors".

Did you mean: runtimeerror
2006 Jul 18
2
Testing which RuntimeError is raised
I am just starting to use unit testing. Way cool. But I am not finding very clear docs on assert_raise. I have managed to write a test that tells me that the destroy I am trying to test fails with a RuntimeError (as it should). However, I would really like to test that it rails for the specific reason I have in my model. How can I get more specific? Am I going to have to create my own exception
2018 Aug 05
3
[PATCH] v2v: rhv-plugin: Use string literal concatenation
When splitting long strings over multiple lines, we can use string literal concatenation instead of +. See https://docs.python.org/3/reference/lexical_analysis.html#string-literal-concatenation --- .gnulib | 2 +- v2v/rhv-upload-plugin.py | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gnulib b/.gnulib index 5b78831df..646a44e1b 160000 ---
2011 Oct 20
2
[PATCH] pygrub: do not overload RuntimeError for "no menu.lst found"
...f = fs.open_file(self.cf.filename) buf = f.read() del f @@ -763,9 +766,9 @@ if __name__ == "__main__": break fs = None - except: + except (IOError, NotFoundError): # IOErrors raised by fsimage.open - # RuntimeErrors raised by run_grub if no menu.lst present + # NotFoundError raised by run_grub if no menu.lst present fs = None continue _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-deve...
2008 Jan 16
2
mysterious crash of a particular worker
Hi, I am using the latest checkout from backgroundrb release 1.0.1. I have a worker called status_checker that periodically (every minute) checks the status of certain hosts over the network. It works fine at the beginning but after a while the worker will mysteriously disappear and stop working. I have other workers running but they do not disappear like this worker does. These are
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening? C:\Users\Family\workspace\myapp>rake test (in C:/Users/Family/workspace/myapp) C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F (RuntimeError) C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F (RuntimeError) C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F (RuntimeError) Errors
2019 Nov 28
3
[PATCH] rhv-upload: Fix waiting for transfer
We were not considering failures while initializing the transfer. In this case the transfer phase can change to PAUSED_SYSTEM or FINISHED_FAILURE, and transfer_url will be None, which failed the upload with a misleading error: RuntimeError: direct upload to host not supported, requires ovirt-engine >= 4.2 and only works when virt-v2v is run within the oVirt/RHV environment, eg. on
2018 Jun 05
2
[PATCH] v2v: Log full imageio response on failure.
Thanks: Nir Soffer --- v2v/rhv-upload-plugin.py | 66 ++++++++++++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 27 deletions(-) diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py index 791c9e7d2..c3de7d555 100644 --- a/v2v/rhv-upload-plugin.py +++ b/v2v/rhv-upload-plugin.py @@ -228,6 +228,29 @@ def can_flush(h): def get_size(h): return
2018 Jun 06
2
[PATCH v2] v2v: -o rhv-upload: Log full imageio response on failure.
v1 was here: https://www.redhat.com/archives/libguestfs/2018-June/msg00015.html v2 fixes all the issues raised in Nir's review. I tested it against ovirt-engine-4.2.4.1-1.el7.noarch and it works, although I wasn't easily able to trigger the error path so that code is not really tested (except for syntax checking). Rich.
2010 Jul 19
2
Bug#589661: xen: FTBFS: RuntimeError: Can't find /usr/src/linux-support-2.6.32-5, please install the linux-support-2.6.32-5 package
Source: xen Version: 4.0.1~rc3-1 Severity: serious From my pbuilder build log: ... fakeroot debian/rules clean if [ -f debian/control ] && [ -f debian/control.md5sum ] && [ -f debian/rules.gen ]; then \ if md5sum debian/changelog debian/bin/gencontrol.py debian/templates/control.hypervisor.in debian/templates/control.main.in debian/templates/control.source.in
2018 Aug 08
2
[PATCH nbdkit] python: Try harder to print the full traceback on error.
The tracebacks are compressed into a single line because we're using PyObject_Str, but they are just about usable if not very readable. For example you would see an error like this: nbdkit: error: ./python-exception.py: config_complete: error: ['Traceback (most recent call last):\n', ' File "./python-exception.py", line 54, in config_complete\n raise_error1()\n',
2012 Feb 06
3
Can't complete the Getting Started tutorial due to ExecJS::RuntimeError in Home#index
I have just installed Rails 3.2.1 on my Xubuntu using the gem system and I try to make the tutorial http://guides.rubyonrails.org/getting_started.html and on section 4.3 Setting the Application Home Page I get the following error ExecJS::RuntimeError in Home#index Showing /home/xonx/rails/blog/app/views/layouts/application.html.erb where line #6 raised: (in
2019 Sep 19
2
[PATCH] v2v: -o rhv-upload: cancel disk transfer on open failure
Make sure to cancel the trasfer in RHV in case of failure during the open/creation of the disk in RHV, so it is automatically removed. --- v2v/rhv-upload-plugin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py index 57e90484f..51a7f381a 100644 --- a/v2v/rhv-upload-plugin.py +++ b/v2v/rhv-upload-plugin.py @@ -193,12 +193,14 @@ def
2007 Mar 29
0
[ wxruby-Bugs-9682 ] wxDC::Clear (RuntimeError) in controls sample
Bugs item #9682, was opened at 2007-03-29 17:14 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=9682&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: wxDC::Clear (RuntimeError) in controls sample Initial Comment: The message is: ./controls.rb:367:in
2008 Jan 11
0
Failure to load "openssl.bundle" (RuntimeError) - need help
I''m new to Ruby on Rails and am using the stack provided in Leopard. I''m trying to generate scaffolding for a basic app, and I''m receiving the following error message: ember:~ trey$ ruby ~/Sites/cookbook2/script/generate scaffold recipe recipe /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb: 159:in `require_frameworks'': Failed to load
2008 Nov 25
1
NetBeans 6.5: RuntimeError when running tests
Is anyone on the list having success using NetBeans 6.5? I''ve been having difficulty running my tests on NetBeans 6.5. Whenever I attempt to run the tests on my project, I get numerous errors such as this one: RuntimeError: appender ''<Logging::Appenders::File: /Users/george/ workspace/RPM/log/test.log>'' is closed These errors never occur when I run the tests
2011 May 16
1
You cannot have more than one Rails::Application (RuntimeError)
I installed RVM and am getting a kinds of errors. I have managed to get most things back to normal but I get this error now in one of my apps. /.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/application.rb:63:in `inherited'': You cannot have more than one Rails::Application (RuntimeError) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are
2015 Mar 27
1
samba_dnsupdate failed with RuntimeError: kinit for SMB4ECONOMIA$@ECONOMIA failed (Cannot contact any KDC for requested realm)
Hi list: I joined Samba4.1.7 to Windows2k3 R2 domain, when I run: *samba_dnsupdate --verbose --all-names* IPs: ['192.168.186.137'] Skipping PDC entry (SRV _ldap._tcp.pdc._msdcs.${DNSDOMAIN} ${HOSTNAME} 389) as we are not a PDC Skipping PDC entry (SRV _ldap._tcp.pdc._msdcs.${DNSFOREST} ${HOSTNAME} 389) as we are not a PDC Traceback (most recent call
2018 Jun 05
0
Re: [PATCH] v2v: Log full imageio response on failure.
On Tue, Jun 5, 2018 at 4:40 PM Richard W.M. Jones <rjones@redhat.com> wrote: > Thanks: Nir Soffer > --- > v2v/rhv-upload-plugin.py | 66 > ++++++++++++++++++++++++++++-------------------- > 1 file changed, 39 insertions(+), 27 deletions(-) > > diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py > index 791c9e7d2..c3de7d555 100644 > ---
2019 Sep 09
3
[PATCH] v2v: rhv-upload-plugin - improve wait logic after finalize
This is a patch which Daniel Erez wrote originally. I have modified it only to fix a small bug in the debug() statement, and Ilanit kindly tested it here: https://bugzilla.redhat.com/show_bug.cgi?id=1680361#c38 Rich.
2006 May 22
2
Bug#368531: RuntimeError: (111, 'Connection refused')
Package: xen-utils-3.0 Version: 3.0.2+hg9656-1 Severity: grave Justification: renders package unusable When xend starts: [2006-05-22 22:07:18 xend] INFO (SrvDaemon:278) Xend Daemon started [2006-05-22 22:07:18 xend] INFO (SrvDaemon:282) Xend changeset: Thu Apr 27 09:58 :50 2006 +0100 . [2006-05-22 22:07:18 xend] ERROR (SrvDaemon:292) Exception starting xend ((111,