search for: str

Displaying 20 results from an estimated 9944 matches for "str".

2019 Apr 23
2
SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
Hello, it seems an mismatch of schema file provided by dovecot-2.3.5.2 [root at mail conf]# pwd /var/solr/data/dovecot/conf # Below solrconfig.xml is from Solr-8.0.0. [root at mail conf]# grep text_general solrconfig.xml <str name="queryAnalyzerFieldType">text_general</str> field types. Text content will be indexed as "text_general" as <str name="fieldType">text_general</str> # schema is from /usr/share/doc/dovecot/solr-schema.xml dovecot-2.3.5.2 and the...
2019 Apr 23
3
SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
...s="solr.SchemaCodecFactory"/> > <indexConfig> > <lockType>${solr.lock.type:native}</lockType> > </indexConfig> > <jmx/> > <updateHandler class="solr.DirectUpdateHandler2"> > <updateLog> > <str name="dir">${solr.ulog.dir:}</str> > <int > name="numVersionBuckets">${solr.ulog.numVersionBuckets:65536}</int> > </updateLog> > <autoCommit> > <maxTime>${solr.autoCommit.maxTime:15000}</maxTime> &gt...
2019 Apr 23
0
SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
..."/> <codecFactory class="solr.SchemaCodecFactory"/> <indexConfig> <lockType>${solr.lock.type:native}</lockType> </indexConfig> <jmx/> <updateHandler class="solr.DirectUpdateHandler2"> <updateLog> <str name="dir">${solr.ulog.dir:}</str> <int name="numVersionBuckets">${solr.ulog.numVersionBuckets:65536}</int> </updateLog> <autoCommit> <maxTime>${solr.autoCommit.maxTime:15000}</maxTime> <openSearcher>fa...
2018 Oct 04
0
[PATCH v2 3/4] inspector: Use libxml writer macros.
...ngle_element ("name", "%s", text); + * + * which produces C<<< <name>text</name> >>> + */ +#define single_element(element,fs,...) \ + do { \ + start_element ((element)) { \ + string ((fs), ##__VA_ARGS__); \ + } end_element (); \ + } while (0) + /** * To define an XML element with attributes, use: * @@ -128,6 +142,18 @@ } \ } while (0) +/** + * To write...
2008 Jan 16
3
is there something like addslashes and stripslashes in prototype
if i would save the content of a textarea into mysql i eventually have to mask things like ,"/\ and so on. in php there are the add- and stripslashes functions you could use. is there somthing compareable like this in the string object of prototype? if not, it would very nice to have, i think. function addslashes(str) { str=str.replace(/\''/g,''\\\''''); str=str.replace(/\"/g,''\\"...
2018 Nov 02
7
[PATCH v3 0/4] common/utils: Move libxml2 writer macros to a common header file.
v1 was here: https://www.redhat.com/archives/libguestfs/2018-October/msg00047.html v2 was here: https://www.redhat.com/archives/libguestfs/2018-October/msg00051.html v3: - Back to using string/string_format and attribute/attribute_format. - Add both single_element and single_element_format. - Rebased and retested. Rich.
2006 Jan 20
7
Wine and Kaleidagraph
...use kaleidagraph in my work,I've seen that this program is available in the Programs database, so I've installed and upgraded my Wine. After that I have launched (with wine) the Kaleidagraph installation program without any problems. But when I try to run Kaleidagraph It happens something strange: The main windows start perfectly but it disappears suddenly. The console shows the following text: Legazpi:/home/bbus# wine /usr/kaleido/KGraph.exe Invoking /usr/lib/wine/wine.bin /usr/kaleido/KGraph.exe ... fixme:win:WINNLSEnableIME hUnknown1 0x10024 bUnknown2 1: stub! fixme:ole:CoRegisterM...
2018 Oct 04
2
[PATCH 0/2] Use common macros to help with libxml2 writer.
Consolidate and extend the use of funky start_element() etc macros. Rich.
2020 Jul 07
1
Re: [PATCH] python: Add type hints
Notice that I have added the closing bracket and return type hint into the indentation function as a hack to line wrap correctly when the return type hint is causing > 79 chars per line: So that instead of: def btrfs_subvolume_create(self, dest: str, qgroupid: Optional[str] = None) -> None: We correctly get: def btrfs_subvolume_create(self, dest: str, qgroupid: Optional[str] = None) -> None: Since the indent function looks for a comma to wrap - this works nicely. However there is this one case where...
2016 Dec 06
2
2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
...at first 100 and they are below. I will mail you the binary and core in seperate mail. (gdb) f 14 #14 0x08058219 in cmd_search (cmd=0x85e1800) at cmd-search.c:42 42 ret = imap_search_args_build(cmd, args, charset, &sargs); (gdb) p args[0] $1 = {type = IMAP_ARG_ATOM, parent = 0x0, str_len = 3, _data = {str = 0x85e40f8 "ALL", literal_size = 140394744, list = {arr = {buffer = 0x85e40f8, element_size = 0}, v = 0x85e40f8, v_modifiable = 0x85e40f8}}, literal8 = 0} (gdb) p args[1] $2 = {type = IMAP_ARG_ATOM, parent = 0x0, str_len = 3, _data = {str = 0x85e4100 "NOT...
2008 Aug 11
1
Unexpected parameter problem using rsaga.geoprocessor() {RSAGA}
...on the usage of and arguments required by the SAGA command line "Import Binary Raw Data" module, I used: > rsaga.get.usage("io_grid", 4) SAGA CMD 2.0.3 library path: C:/Progra~1/saga_vc/modules library name: io_grid module name : Import Binary Raw Data Usage: 4 [-GRID <str>] [-FILE_DATA <str>] [-NX <num>] [-NY <num>] [-DXY <str>] [-XMIN <str>] [-YMIN <str>] [-UNIT <str>] [-ZFACTOR <str>] [-NODATA <str>] [-DATA_OFFSET <num>] [-LINE_OFFSET <num>] [-LINE_ENDSET <num>] [-DATA_TYPE <num>]...
2011 Jul 09
3
Using str() in a function.
Using str() in a function. I am in the early phase of learning R, and I find I spend a lot of time trying to figure out what is actually in objects I have created or read in from a file. I'm trying to make a simple little function to display a couple of things about a object, let's say the summary(...
2020 Apr 26
5
[PATCH v3] python: Fix UnicodeError in inspect_list_applications2() (RHBZ#1684004)
The python3 bindings create PyUnicode objects from application strings on the guest (i.e. installed rpm, deb packages). It is documented that rpm package fields such as description should be utf8 encoded - however in some cases they are not a valid unicode string, on SLES11 SP4 the encoding of the description of the following packages is latin1 and they fail to be...
2011 Apr 16
2
Chinese character is not shown properly for some programs
...3. Edit ~/.wine/system.reg: a. Change the value of all the items under [Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes] to "WenQuanYi Micro Hei" b. Include following items under [Software\\Microsoft\\Windows NT\\CurrentVersion\\FontLink\\SystemLink]: "Batang"=str(7):"wqy-microhei.ttc,WenQuanYi Micro Hei\0" "BatangChe"=str(7):"wqy-microhei.ttc,WenQuanYi Micro Hei\0" "Dotum"=str(7):"wqy-microhei.ttc,WenQuanYi Micro Hei\0" "DotumChe"=str(7):"wqy-microhei.ttc,WenQuanYi Micro Hei\0" "Guli...
2018 Oct 04
6
[PATCH v2 0/4] common/utils: Move libxml2 writer macros to a common header file.
v1 was here: https://www.redhat.com/archives/libguestfs/2018-October/msg00047.html However it was broken in a few ways. First of all the documentation was broken because "/**" enhanced comments were not permitted on macros. This is fixed in the new 1/4 patch. Secondly we didn't use single_element() everywhere possible, which is fixed in the new 4/4 patch. Lastly I've
2020 Jul 06
2
[PATCH] python: Add type hints
...l +++ b/generator/python.ml @@ -685,6 +685,7 @@ logvols = g.lvs() import os import sys import libguestfsmod +from typing import Union, List, Tuple, Optional "; @@ -802,14 +803,44 @@ class GuestFS(object): fun f -> let ret, args, optargs = f.style in let len_name = String.length f.name in + let ret_type_hint = + match ret with + | RErr -> "None" + | RInt _ | RInt64 _ -> "int" + | RBool _ -> "bool" + | RConstOptString _ -> "Optional[str]" + | RConstString _ | RString...
2005 Dec 20
4
help with sapply, plot, lines
Hi, I am trying to plot multiple lines on a graph. The function is particularly simple: sigma<-function(lambda) atm-2*rr*(lambda-0.5)+16*str*(lambda-0.5)^2 which uses the variables atm, rr and str... I define these as such: atm<-0.4 rr<-0.2 str<-0.1 and this plots fine: plot(seq(0.01,0.99,0.01),sigma(seq(0.01,0.99,0.01)),ylim=c(0,1)) Now, I want to plot the same function for different values of str, as follows: sapply(s...
2018 Dec 08
2
Solr
...yes fts_decoder = decode2text fts_solr = url=http://(SOLR SERVER):8983/solr/dovecot/ --- schema.xml <?xml version="1.0" encoding="UTF-8"?> <schema name="dovecot" version="2.0"> <uniqueKey>id</uniqueKey> <FIELDTYPE NAME="STRING" CLASS="SOLR.STRFIELD" /> <FIELDTYPE NAME="LONG" CLASS="SOLR.TRIELONGFIELD" /> <FIELDTYPE NAME="BOOLEAN" CLASS="SOLR.BOOLFIELD" /> <fieldType name="text" class="solr.TextField" autoGeneratePhraseQueries=...
2016 Dec 06
2
2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
On 06.12.2016 09:32, Toni Mattila wrote: > Hi, > > On 05-Dec-16 20:28, Toni Mattila wrote: >> Panicing stopped when all index files where deleted. > > It happens again in same user account, so rebuilding indexes didn't > fix it. > > Here's bt full instead of just bt: > #0 0x001d4402 in __kernel_vsyscall () > No symbol table info available. > #1
2014 Dec 17
3
[PATCH 0/3] Allow environment variables to have boolean values.
https://bugzilla.redhat.com/show_bug.cgi?id=1175196 Currently if you write something like LIBGUESTFS_DEBUG=0 or LIBGUESTFS_DEBUG=true then it doesn't do what you probably expect. This patch series fixes that. Rich.