search for: get_values

Displaying 20 results from an estimated 116 matches for "get_values".

2014 Aug 08
2
[PATCH 1/2] Add type checking, support integers as value
...bytes); - ret->len = PyBytes_GET_SIZE (bytes); -#endif return 0; } @@ -2883,6 +2928,7 @@ get_value (PyObject *v, hive_set_value *ret) typedef struct py_set_values { size_t nr_values; hive_set_value *values; + uint64_t *words; } py_set_values; static int @@ -2905,13 +2951,21 @@ get_values (PyObject *v, py_set_values *ret) ret->nr_values = len; ret->values = malloc (len * sizeof (hive_set_value)); if (!ret->values) { - PyErr_SetString (PyExc_RuntimeError, strerror (errno)); + PyErr_NoMemory (); + return -1; + } + /* if the value is a dword/qword, it will...
2006 Mar 19
3
How can I access an attribute via a symbol?
In my model I''d like to write a method that accesses the attributes by name. A very simple implementation would be class MyModel < ActiveRecord::Base def get_value(attribute) return value_of_attribute end end Then I can call it with m.get_value(:name) to get the value of the name column in the db. I''m not sure what to put in for
2005 Aug 19
9
Patch for listbook.rb
Attached is a patch file for listbook.rb 1) Message box scrolls properly now 2) Blank lines are skipped when adding pizzas and ice cream _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2010 Jul 12
1
smbldap-groupmod problem
Hi, i'm having a problem with the smbldap-groupmod. I tried to change the users of some groups, i get an error message. The action indeed execute, as the users was removed or added from the group, but an error is throwed in the output: server:~# smbldap-groupmod -x user1 -m user2 testgroup Can't call method "get_value" on an undefined value at
2004 May 22
10
Tabbing between Notebook pages
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: wxTony.rbw Type: application/octet-stream Size: 10436 bytes Desc: not available Url : http://rubyforge.org/pipermail/wxruby-users/attachments/20040522/9c1889d0/wxTony.obj
2004 May 05
0
migration problem at vampire step
We have run into the following problem when trying to run vampire against our PDC. I am not sure how to interprete the error messages here. Why are there 2 line numbers given? I have run into other problems with smbldap-tools and am not sure how to interprete those errors either. # # Since I initially wrote this : I have done some work on it and found that it has something to do with the
2007 May 14
3
[Bug 567] ulogd writes invalid len field in per-packet headers
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=567 ------- Additional Comments From kaber@trash.net 2007-05-14 14:28 MET ------- There are two len fields, caplen and len. Which one is wrong? -- Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the
2008 May 03
2
sqlite3, inserting values in database
hi, i have a small form of textfields and i need to add these informations to a table in sqlite3 database. but i dont know how to do it. i mean that its small address book program. and ''id'' from ''clients'' table has to increments. i open database with : db = Database.open("data.db"), but then i dont know what to do... anyone can help? -- Posted via
2004 Jul 22
1
vampire failed for undefiled value sambaSID
Greetings! Vampaire process is running, but it failed create accounts for everyone. The error message is "Can't call method "get_value" on an undefined value at /var/lib/samba/sbin/smbldap-useradd.pl line 152." And I looked at the mentioned file and the line is $userGroupSID = $group_entry->get_value('sambaSID'); I am
2008 Jun 13
7
Rubyscript2exe undefined ''run'' method
After I ran my program through Rubyscript2exe, the Random.exe file that it created is causing the following error: D:\Ruby projects>random.exe C:\DOCUME~1\JEDELS~1\eee\eee.Random.exe.2\app\Random.rb:59: undefined method ''ru n'' for Wxruby2::App (NoMethodError) from C:\DOCUME~1\JEDELS~1\eee\eee.Random.exe.2\bootstrap.rb:77:in `load'' from
2007 May 25
0
[new script] smbldap-userlist
Hi, for those who are using ldap for managing Samba, here's a quick script I wrote to make it simple to list users or machines on the commandline. I use it to delete old machine entries that are not in use anymore. For usage, read the perldoc in the script. Place the script in the same directory as you have your other smbldap-tools scripts. The script is based on smbldap-usershow. Kind
2007 Jun 18
1
Question about lmer
Hello, We have a problem with function lmer. This is our code: Get_values<-function(ff_count, fixed_factors, rf_count, random_factors, y_values) { SA<-matrix(as.array(c(fixed_factors, random_factors)), ncol=3) data<-as.data.frame(SA) y<-as.array(y_values) dd<-data.frame(SA) for(i in 1:(ff_count+rf_count)){ dd[,i]<-as.factor(data[,i...
2009 Jun 26
2
smblap-useradd problem
Hi Samba People ! I'm experiencing some issues with the smbldap-tools suite and post it here in hope someone could give me some help. I want first to thank you if you take teh time to read my message til the end, as it's a little bit long ;) We do have a Debian Box on our LAN we use primarily as a File Server. This server has initially been setup with Etch (4.0, net-install). I've
2015 Jan 20
2
Question on "single writer, multiple reader"
On Sun, Jan 18, 2015 at 04:25:29PM +0000, James Aylett wrote: > That?s exactly how it?s supposed to work. ?Eventually? (once the > writer gets sufficiently far ahead of the reader), the reader will get > a DatabaseModifiedError and will have to re-open the database, but > until then it?s up to it when it does so. You may wish to do it every > N requests, or every K seconds, or only
2009 Jul 29
1
Batch computer account creation
I'm looking for a way to batch create a list of computers accounts in Active directroy running on Windows 2000 PDC. I tried to use perl ldap to create those objects but I didn't manage to set the sAMAccountType to "805306369" ( apparently this is a read only auto generated value) Is there any way to do that under Linux ? Thanks, Thomas #! /usr/bin/perl use strict; use
2006 Dec 01
1
Adding users with usrmgr/smbldap-useradd
Samba 3.0.23d, on Debian Sarge - using the samba.org packages smbldap-tools 0.9.2 Greetings all, I am trying to set up a new PDC using LDAP, etc. Adding/deleting/modifying users in LDAP works fine using phpldapadmin. These users also work just fine logging in/out. I am trying to get the usrmgr tool to also work, so im working on the scripts on the server. I am getting this error however when
2014 Aug 04
6
[hivex] Segfault for an integer value to node_set_value
Hi, When an integer argument is passed as value, node_set_value segfaults. Reproducer is at the end of this message The backtrace points at hivex-py.c, function get_value. While obj is non-NULL, `bytes = PyUnicode_AsUTF8String (obj);` returns NULL. Kind regards, Peter https://lekensteyn.nl #!/usr/bin/env python3 import hivex, sys h = hivex.Hivex(sys.argv[1]) print(h) val = {
2004 Apr 05
2
smbldap_tools
Hi all, I am having a problem getting samba ldap tools to work. I am running Mandrake 10.0 community and have installed ldap and samba to use to work in conjuction as a samba domain server. It has automatically install the smbldap tools for user and group creation and modifications. The error's that I am getting however are something like this: failed to perform search; invalid DN at
2013 Oct 14
0
[LLVMdev] Runtime Array-Length
The toy language I've been playing around with represents all strings as a struct in llvm; struct string{ char *ptr; int str_len; int buffer_len; } And my AST has an interface like; String_AST{ int measure(); void copy(char *dest); struct string get_value(); } A constant string can be measured at compile time, for a string variable measure() just extracts str_len. Strings
2005 Aug 25
2
listbook.rb patch
Hopefully a good listbook.rb patch _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users