Displaying 14 results from an estimated 14 matches for "_parse".
Did you mean:
parse
2015 Apr 11
1
XML Parser failing due to cryptic Serial Number.
...(most recent call last):
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 225, in _reparse_xml
self._xmlobj = self._build_xmlobj(self._get_raw_xml())
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 228, in _build_xmlobj
return self._parseclass(self.conn.get_backend(), parsexml=xml)
File "/usr/share/virt-manager/virtManager/nodedev.py", line 27, in _parse_convert
return NodeDevice.parse(conn, parsexml)
File "/usr/share/virt-manager/virtinst/nodedev.py", line 95, in parse
tmpdev = NodeDevice(conn, parse...
2013 Oct 01
2
Bug#603391: Bug#603391: Workaround PyGrub issue
...ot;, line 418, in parse
self.add_image(Grub2Image(title, img))
File "GrubConf.py", line 325, in __init__
_GrubImage.__init__(self, title, lines)
File "GrubConf.py", line 94, in __init__
self.reset(lines)
File "GrubConf.py", line 110, in reset
self._parse(lines)
File "GrubConf.py", line 105, in _parse
map(self.set_from_line, lines)
File "GrubConf.py", line 335, in set_from_line
setattr(self, self.commands[com], arg.strip())
File "GrubConf.py", line 113, in set_root
self._root = GrubDiskPart(val)
File...
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
...", line 320, in __init__
> _GrubImage.__init__(self, title, lines)
> File "/usr/lib/xen-4.1/lib/python/grub/GrubConf.py", line 89, in __init__
> self.reset(lines)
> File "/usr/lib/xen-4.1/lib/python/grub/GrubConf.py", line 105, in reset
> self._parse(lines)
> File "/usr/lib/xen-4.1/lib/python/grub/GrubConf.py", line 100, in _parse
> map(self.set_from_line, lines)
> File "/usr/lib/xen-4.1/lib/python/grub/GrubConf.py", line 330, in set_from_line
> setattr(self, self.commands[com], arg.strip())
> Fi...
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
...lf.add_image(Grub2Image(title, img))
> File "GrubConf.py", line 325, in __init__
> _GrubImage.__init__(self, title, lines)
> File "GrubConf.py", line 94, in __init__
> self.reset(lines)
> File "GrubConf.py", line 110, in reset
> self._parse(lines)
> File "GrubConf.py", line 105, in _parse
> map(self.set_from_line, lines)
> File "GrubConf.py", line 335, in set_from_line
> setattr(self, self.commands[com], arg.strip())
> File "GrubConf.py", line 113, in set_root
> self._r...
2013 Sep 29
2
Bug#603391: Workaround PyGrub issue
...b/python/grub/GrubConf.py", line 320, in __init__
_GrubImage.__init__(self, title, lines)
File "/usr/lib/xen-4.1/lib/python/grub/GrubConf.py", line 89, in __init__
self.reset(lines)
File "/usr/lib/xen-4.1/lib/python/grub/GrubConf.py", line 105, in reset
self._parse(lines)
File "/usr/lib/xen-4.1/lib/python/grub/GrubConf.py", line 100, in _parse
map(self.set_from_line, lines)
File "/usr/lib/xen-4.1/lib/python/grub/GrubConf.py", line 330, in set_from_line
setattr(self, self.commands[com], arg.strip())
File "/usr/lib/xen-4.1...
2010 Nov 13
0
Bug#603391: pygrub: unintelligible error messages
...b/python/grub/GrubConf.py", line 132, in __init__
_GrubImage.__init__(self, title, lines)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 85, in __init__
self.reset(lines)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 101, in reset
self._parse(lines)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 96, in _parse
map(self.set_from_line, lines)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 139, in set_from_line
setattr(self, self.commands[com], arg.strip())
File "/usr/lib/xen-4.0/...
2010 Oct 06
1
Bug#599243: xen-utils-4.0: pygrub does not understand grub2 partition types (e.g. (hd0, msdos1) instead of (hd0, 1))
...b/python/grub/GrubConf.py", line 316, in __init__
_GrubImage.__init__(self, title, lines)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 85, in __init__
self.reset(lines)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 101, in reset
self._parse(lines)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 96, in _parse
map(self.set_from_line, lines)
File "/usr/lib/xen-4.0/lib/python/grub/GrubConf.py", line 326, in set_from_line
setattr(self, self.commands[com], arg.strip())
File "/usr/lib/xen-4.0/...
2011 Oct 01
2
Bug#643953: xen-utils-4.0: pygrub can not parse empty "root" statement in menu.lst
...GrubConf.py", line 134, in __init__
_GrubImage.__init__(self, title, lines)
File "/usr/lib/xen-4.0/bin/../lib/python/grub/GrubConf.py", line 87, in __init__
self.reset(lines)
File "/usr/lib/xen-4.0/bin/../lib/python/grub/GrubConf.py", line 103, in reset
self._parse(lines)
File "/usr/lib/xen-4.0/bin/../lib/python/grub/GrubConf.py", line 98, in _parse
map(self.set_from_line, lines)
File "/usr/lib/xen-4.0/bin/../lib/python/grub/GrubConf.py", line 141, in set_from_line
setattr(self, self.commands[com], arg.strip())
File "/us...
2007 Apr 24
1
strange frozen string problem starting rails
...* Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
rake aborted!
can''t modify frozen string
/usr/lib/ruby/1.8/date/format.rb:105:in `chomp!''
/usr/lib/ruby/1.8/date/format.rb:105:in `method_missing''
/usr/lib/ruby/1.8/date/format.rb:963:in `_parse''
/home/mlc/src/democracynow.org/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:114:in
`string_to_time''
/home/mlc/src/democracynow.org/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:60:i...
2006 Jun 21
0
SQLServer Timestamp parsing problem in sqlserver_adapter.rb
...ling it in, it
appears it may be casting to a datetime format. So, when I try to read or
write to the field, it gives me a parsing error:
NoMethodError: private method ''gsub!'' called for [0, 0, 0, 0, 0, 0, 224,
43]:Array
from c:/ruby/lib/ruby/1.8/date/format.rb:253:in ''_parse''
from c:/ruby/lib/ruby/1.8/parsedate.rb:9:in ''parsedate''
from
c:/ruby/lib/ruby/1.8/gems/activerecord-1.14.2/lib/active_record_cnnection_adapters/sqlserver_adapter.rb:92:in
''cast_to_time''
from
c:/ruby/lib/ruby/1.8/gems/activerecord-1.14.2/lib/active_re...
2005 Feb 19
0
[Error] Using validates_presence_of for datetime field causes parse error?
...test_create
@student_survey.save
end
When I run this unit test, I get:
1) Error:
test_create(StudentSurveyTest):
NoMethodError: private method `gsub!'' called for #<DateTime:
11776418931730081/4800000000,-5/24,2299161>
/usr/lib/ruby/1.8/date/format.rb:238:in `_parse''
/usr/lib/ruby/1.8/parsedate.rb:9:in `parsedate''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.6.0/lib/active_record/
connection_adapters/abstract_adapter.rb:228:in `string_to_time''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.6.0/lib/active_record/
connec...
2006 May 18
4
WebServices and DateTime - 3 elements of civil date are necessary
I simply trying to receive an array of objects, retrieved by
ActiveRecord from table with datetime column and I have:
test_list(SoapControllerApiTest):
ArgumentError: 3 elements of civil date are necessary
/usr/lib/ruby/1.8/date.rb:1214:in `new_with_hash''
/usr/lib/ruby/1.8/date.rb:1258:in `parse''
....
It''s a bug or I am wrong somewhere?
2012 May 21
2
Error : can't dup NilClass, in Heroku
Hi,
The application is deployed on Heroku, is based on Ruby 3.2.1 and Rails
1.9.2. Sometimes a function of my props starts throwing this error "
StringUtils:dateTimeFromString, str , *can''t dup NilClass*" and I don''t
understand the cause. it''s my function:
require ''time''
module StringUtils
2006 Mar 28
11
ActionWebService date casting error
I have defined a web service to return information from a database as follows.
class BackendApi < ActionWebService::API::Base
api_method :find_all_vobs,
:returns => [[:int]]
api_method :find_vob_by_id,
:expects => [:int],
:returns => [Vob]
class BackendController < ApplicationController
wsdl_service_name ''Backend''