search for: parseerror

Displaying 20 results from an estimated 33 matches for "parseerror".

Did you mean: uparseerror
2009 Sep 04
3
libxml-ruby: How to handle XML::Parser::ParseError?
Code: require "rubygems" require "xml" class TaskLoader class BadXML < RuntimeError end def load_tasks doc = XML::Parser.file( "qq.xml" ).parse # ... work with document ... rescue XML::Parser::ParseError, BadXML # this is line #40 # ... end end # TaskLoader p TaskLoader.new.load_tasks # this is line #71 Output: read_xml.rb:40:in `load_tasks'': uninitialized constant LibXML::XML::Parser::ParseError (NameError) from read_xml.rb:71 Question: why does ruby interpret XML::Parser::Par...
2009 Jan 13
1
[LLVMdev] ParseError::getMessage() API.
Hi, The method ParseError::getMessage() seems to have got deleted from lib/AsmParser/Parser.cpp during the parser rewrite. Right now it's there in the header (include/llvm/Assembly/Parser.h) but not in lib/AsmParser/Parser.cpp. Is this API still valid? Or is it PrintError() that's meant to be used? Thanks & Re...
2011 Feb 19
2
cant start program
...y implemented. fixme:ole:OLEPictureImpl_SaveAsFile (0x3805730)->(0x38822c8, 0, (nil)), hacked stub. fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering icons... fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering icons... fixme:msxml:domdoc_get_parseError (0x388e364)->(0x32f1c0): creating a dummy parseError fixme:msxml:domelem_QueryInterface interface {b196b283-bab4-101a-b69c-00aa00341d07} not implemented fixme:msxml:domdoc_get_parseError (0x388b474)->(0x32f1c0): creating a dummy parseError fixme:msxml:domelem_QueryInterface interface {b196b28...
2007 Jan 18
0
Emulating a REPL in frontends
...ove mentioned aspects, or for some other reason), a frontend does not use R_ReplDLLdo1(), it will have to use R_ParseVector() for parsing. There's nothing wrong with that, except for the fact, that there does not seem to be a way to get at the full error message in case of a parse error, as parseError() is not exported. Evaluate stage: - Frontends may want to evaluate a sequence of statements at once, or one at a time. - A typical requirement of a frontend is for evaluation to be guaranteed to return to the point of code it was called from. - Both of this is available using R_tryEval(). Prin...
2009 Feb 24
2
Quickbooks internal web browser
...2/30/2000 fixme:shdocvw:ViewObject_SetAdvise (0x3e4e860)->(1 00000000 0x502321c) fixme:msxml:bsc_QueryInterface interface {6d5140c1-7436-11ce-8034-00aa006009fa} not implemented fixme:msxml:bsc_QueryInterface interface {79eac9e4-baf9-11ce-8c82-00aa004ba90b} not implemented fixme:msxml:domdoc_get_parseError (0x3e4f0c0)->(0x32ea68): creating a dummy parseError err:ole:create_server class {62dbad3a-70f9-467c-b217-830e115b89a0} not registered err:ole:CoGetClassObject no class object {62dbad3a-70f9-467c-b217-830e115b89a0} could be created for context 0x4 fixme:shdocvw:ViewObject_Draw (0x3e4e860)->(1...
2009 Jul 11
2
[LLVMdev] review request for patch
On Fri, Jul 10, 2009 at 8:35 PM, Dan Gohman<gohman at apple.com> wrote: > > > On Jul 10, 2009, at 2:03 PM, Ryan Flynn <parseerror at gmail.com> wrote: > >> I've addressed a "TODO" in ConstantRange and several in its unit test >> by implementing a stricter "multiply" method (it had been returning a >> "full" set for anything that wasn't "empty", which broa...
2013 Apr 28
3
Dovecot Solr Panic
.../john smith at indiefield.co.uk, 7/70af772eafc17c51fb350000812a8a77/john smith at indiefield.co.uk, 8/70af772eafc17c51fb350000812a8a77/john smith at indiefie ld.co.uk, ... (8 added)]} 0 19141 28-Apr-2013 17:13:33 org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: ParseError at [row,col]:[1188418,131] Message: Premature end of file. at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:72) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54) at org.apache.solr.handler.RequestHandlerBase.handl...
2009 Jul 11
0
[LLVMdev] review request for patch
On Jul 10, 2009, at 2:03 PM, Ryan Flynn <parseerror at gmail.com> wrote: > I've addressed a "TODO" in ConstantRange and several in its unit test > by implementing a stricter "multiply" method (it had been returning a > "full" set for anything that wasn't "empty", which broader than > ne...
2010 Aug 20
1
Messages causing an error from Solr.
Hi, I am trying to use the fts_solr plugin, and having some success. Unfortunately some spam messages I had lying around generate an error from Solr, e.g.: HTTP/1.1 400 ParseError at [row,col]:[5,29] Message: An invalid XML character (Unicode: 0xd84e) was found in the element content of the document. While I assume that these messages do indeed contain bad unicode, my searches seem to hang when they get an error back from Solr, causing other problems, so it would be nice if...
2008 Mar 25
4
SAXXMLReader
...AX2.h was first included from saxreader.c:41 make[2]: [Makefile] Error 1 (ignored) ../../tools/makedep -C. -S../.. -T../.. -I/usr/include/libxml2 -I/usr/include/libxml2 attribute.c cdata.c comment.c docfrag.c domdoc.c domimpl.c element.c entityref.c factory.c main.c node.c nodelist.c nodemap.c parseerror.c pi.c queryresult.c regsvr.c saxreader.c schema.c text.c uuid.c xmldoc.c xmlelem.c version.rc libxml/SAX2.h: No such file or directory libxml/SAX2.h was first included from saxreader.c:41 make[2]: *** [depend] Error 1 make[2]: Leaving directory `/home/bill/wine-git/dlls/msxml3' make[1]: *...
2008 Sep 21
1
Error message has be baffled.
...(nil),1,3,(nil),0,(nil)) - stub! fixme:msxml:bsc_QueryInterface interface {6d5140c1-7436-11ce-8034-00aa006009fa} not implemented fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE fixme:msxml:bsc_QueryInterface interface {79eac9e4-baf9-11ce-8c82-00aa004ba90b} not implemented fixme:msxml:domdoc_get_parseError (0x135408)->(0x32a5c8): creating a dummy parseError fixme:msxml:parseError_get_line fixme:msxml:parseError_get_linepos fixme:msxml:bsc_QueryInterface interface {6d5140c1-7436-11ce-8034-00aa006009fa} not implemented fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE fixme:msxml:bsc_QueryInterf...
2009 Jul 10
2
[LLVMdev] review request for patch
I've addressed a "TODO" in ConstantRange and several in its unit test by implementing a stricter "multiply" method (it had been returning a "full" set for anything that wasn't "empty", which broader than necessary) and updated the unit test to match, but I'm not completely confident that I understand ConstantRange and APInt and was hoping someone
2013 Dec 12
2
Stdlib and Defined Types
All, Does anyone know of a way to add a file-centric backtrace to the validate functions in the Stdlib? If you use a validator in a defined type, you end up not having any idea what actually threw the error. Though much has moved to parameterized classes, there are still times when defines are useful and it would be nice to know what calling class/define/stack was blowing up. Thanks, Trevor
2009 Jul 11
0
[LLVMdev] review request for patch
...uppers then add one on when you're done otherwise you end up with [5, 11) * [1, 3) = [5, 33) when it should equal [5, 21). Nick Ryan Flynn wrote: > On Fri, Jul 10, 2009 at 8:35 PM, Dan Gohman<gohman at apple.com> wrote: >> >> On Jul 10, 2009, at 2:03 PM, Ryan Flynn <parseerror at gmail.com> wrote: >> >>> I've addressed a "TODO" in ConstantRange and several in its unit test >>> by implementing a stricter "multiply" method (it had been returning a >>> "full" set for anything that wasn't "empty&q...
2009 Nov 25
1
Puppet custom functions and user permissions
...trib/ossec-batch-manager.pl -a -n #{fqdn} - ip #{ip}` end # Now extract the key for the fqdn from ossec agent_id = `cat /var/ossec/etc/client.keys | egrep #{fqdn} | awk ''{print $1}''` key = `/var/ossec/contrib/ossec-batch-manager.pl -e #{agent_id}` if($? != 0) raise Puppet::ParseError, "Could not retrieve key for:" + fqdn end return key end end Output in ossec_client_key.log: Shell commands run as: uid=1004(puppet) gid=1002(puppet) groups=0 (root) Ruby effective uid: 1004 false When I run the same command directly via ruby using: sudo -u puppet ruby ... I g...
2011 May 19
2
custom function from .24.6 not working in 2.6 (from squeeze)
...t;puppet:///appconf/", "/etc/cdir/config/") # Now do the same for internal server files file = file.gsub("puppet:///files/", "/etc/puppet/files/") unless file =~ /^#{File::SEPARATOR}/ raise Puppet::ParseError, "Files must be fully qualified" end if File.exists?(file) ret = true break end end ret end """ The function is used as a conditional: given a list of files puppet may be managing, if any of them exist on the s...
2009 Jul 13
2
Quicken 2009 (german) and wine 1.1.25
...tion: blackbeauty:/media/Quicken 2009 # wine LxSetup.exe ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm_dsnoop.c:593:(snd_pcm_dsnoop_open) unable to open slave fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer fixme:msxml:domdoc_get_parseError (0x1403e8)->(0x32f7e0): creating a dummy parseError fixme:msxml:parseError_get_srcText fixme:msxml:parseError_QueryInterface interface {df0b3d60-548f-101b-8e65-08002b2bd119} not implemented wine: Unhandled exception 0x40000015 at address 0x4834d3 (thread 0009), starting debugger... blackbeauty:/...
2009 May 28
0
Re: ActiveResource as API test rig? Two jsons?
...t; > self.format = :json > end > > c = Channel.find(:all , :params => {:owner => "iamwill"}) > > Result is: > /var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/json/decoding.rb:14:in > `decode'': Invalid JSON string (ActiveSupport::JSON::ParseError) > from > /var/lib/gems/1.8/gems/activeresource-2.3.2/lib/active_resource/formats/json_format.rb:19:in > `decode'' > from > /var/lib/gems/1.8/gems/activeresource-2.3.2/lib/active_resource/connection.rb:116:in > `get'' > from > /var/lib/gems/1.8/ge...
2013 Nov 25
2
Last http://hg.mindrot.org/openssh commit is from 2013-06-11
Hello, well it''s | Rev: || 11096:745a39c852ab tip 11094:e34042dabbd8 | Auth: dtucker | Date: Tue, 11 Jun 2013 02:10:02 +0000 - (dtucker) [myproposal.h] Make the conditional algorithm support consistent and add some comments so it''s clear what goes where. Note it was still advertised in the 6.3 release notes. Has it been replaced by a git(1) repository? :-))
2020 Jul 22
1
Migrate GPO policies does not work properly.
...netcmd/gpo.py", line 1362, in restore_from_backup_to_local_dir ??? parser.load_xml(ET.fromstring(dtd_header + data)) ? File "/usr/lib64/python3.6/xml/etree/ElementTree.py", line 1314, in XML ??? parser.feed(text) ? File "<string>", line None xml.etree.ElementTree.ParseError: undefined entity: line 16, column 21 WARNING: Error during parsing for /var/tmp/samba_gpo_backup/policy/msgReceiverDefault_Policy/Machine/Microsoft/Windows NT/SecEdit/GptTmpl.inf.xml WARNING: Falling back to simple copy-restore. But most of them, are successfully imported. How can I add gplink...