Displaying 20 results from an estimated 200 matches similar to: "gWidgets / RGtk2 - how to change a handler from a toolbar?"
2009 Dec 27
2
RGtk2 / gWidgets - addHandlerClicked Problem
In The following code, the table handler is executed twice when the
button is pressed (from the 2nd pressing on).
I want it to be executed only once. Does someone know, why this
happens and how I can change it?
library(gWidgets)
w <- gwindow()
b <- gbutton("press", cont=w)
tbl <- gtable(1:10, cont=w)
addhandlerclicked(b, handler=function(h, ...){
2019 Aug 10
2
samba-tool ou create "OU=del-ou, dc=atest, dc=com" fails with /var/lib/samba/private/sam.ldb: No such file or directory
Hello,
I am trying to use samba-tool to create OU on active directory.
1. Joined to domain.
# net ads join -U <>
2. Listed GPO's on domain to check samba-tool script can pull the GPOs.
# samba-tool gpo listall
GPO : <>
display name : test-Computers-GPO-1
path : \\atest.com\SysVol\atest.com\Policies\<>
dn :
2024 Jun 09
2
Format
HI all,
My
I am trying to convert character date (mm/dd/yy) to YYYY-mm-dd date
format in one of the columns of my data file.
The first few lines of the data file looks like as follow
head(Atest,10);dim(Atest)
ddate
1 19/08/21
2 30/04/18
3 28/08/21
4 11/10/21
5 07/09/21
6 15/08/21
7 03/09/21
8 23/07/18
9 17/08/20
10 23/09/20
[1] 1270076 1
I am using the following
2006 Aug 23
2
Rename folder bug dovecot-1.0RC6 ?
Dear All
can someone confirm this bug please ?
I am using Thunderbird 1.07, TB 1.5.0.4, Horde/IMP webmail as test clients,
all running on FC4.
Server is 1.0RC6 on CentOS 4 with maildir-sep set to ';'
To reproduce:
In your favourite mail client:
1. Create a top-level mail folder "atest"
2. Rename "atest" to "atest-extra" (basically
2007 Mar 24
2
Two Problems while trying to aggregate a dataframe
Hello!
Given is an Excel-Sheet with actually 11,000 rows and 9 columns. I want
to work with the data in R. The contents are similar to my following
example.
I have a list with ID-number, personal name and two kinds of
loan-values. I want to aggregate the list, that for each person only one
row remains and where the loan-values are added.
First I tried some commands with tapply but had no
2006 Mar 26
5
[ win32utils-Bugs-3924 ] Segmentation fault under Windows
Bugs item #3924, was opened at 26/03/2006 22:12
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=3924&group_id=85
Category: win32-taskscheduler
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: David FAROI (dfaroi)
Assigned to: Nobody (None)
Summary: Segmentation fault under Windows
Initial Comment:
I''m trying to make
2024 Jun 09
1
Format
On 2024-06-09 4:39 p.m., Val wrote:
> HI all,
>
> My
> I am trying to convert character date (mm/dd/yy) to YYYY-mm-dd date
> format in one of the columns of my data file.
>
> The first few lines of the data file looks like as follow
>
> head(Atest,10);dim(Atest)
> ddate
> 1 19/08/21
> 2 30/04/18
Those aren't legal months in the first entry.
2012 Sep 18
2
problem with vignettes when S4 classes in packages overlap
( A similar problem is also reported by Sebastian P. Luque with
library(maptools)
library(trip)
in the vignette as below ).
I am writing a vignette which loads RMySQL and RPostgreSQL. This
produces the warning:
Loading required package: DBI
Warning in .simpleDuplicateClass(def, prev) :
A specification for class ?dbObjectId? in package ?RPostgreSQL? seems
equivalent to one from package
2013 Nov 08
1
Different output from lm() and lmPerm lmp() if categorical variables are included in the analysis
I've found a problem when using
categorical variables in lmp() from package lmPerm
According to help(lmp): "This function will behave identically to lm()
if the following parameters are set: perm="", seq=TRUE,
center=FALSE.")
But not in the case of including categorical variables:
require(lmPerm)
set.seed(42)
testx1 <- rnorm(100,10,5)
testx2 <-
2006 Apr 13
3
Salted Hash Login Generator problem
Im trying to install salted and get errors when running the rake test...
/usr/bin/ruby1.8 -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader .rb"
"test/unit/localization_test.rb" "test/unit/user_test.rb"
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader
Started
........F....E
Finished in 0.108794 seconds.
1)
2006 Jul 12
3
Problem using 2.0.23 client in a domain with a Samba 2.0.20c PDC.
I have a samba PDC running 2.0.20c
I installed Samba 2.0.23 on a client joined to the domain.
With this combination, when I attempt to connect to a share on this client
from any host even the localhost results in the following:
$ smbclient //localhost/atest -U auser
Password:
Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.23-SerNet-RedHat]
tree connect failed: NT_STATUS_ACCESS_DENIED
Windows
2005 Dec 14
1
Problems with testing - error posting to other controller
Hi,
I''m trying to test my ad_controller. In order to create an ad, the user
has to be logged in, so I have written a login() that logs in a valid
user and generates a session[:user_id], like:
def login (login="bob", password="atest")
post "user/login", :user => { :login => login, :password => password
}
assert_response 302 # redirect
2006 Nov 07
7
should_redirect_to in advance - feels unnatural
I can understand that it''s easier for rspec to set up a mock in advance
of the controller call. But it makes it difficult to do something like:
context "The HarkController, given Louie the logged-in user" do
setup do
post :login, :username => ''louie'', :password => ''atest''
end
specify "should redirect Louie to the home
2001 Oct 11
1
File time with SAMBA file server for MS-clients
Hello everybody, I have a big problem with my SAMBA 2.2 Server.
I have Win NT/95/98 clients working with my SAMBA file server. The
problem is, that
the time of my files at the server is different, depending on the
Windows version
of the client.
Example:
On Win95 I create the file test.bin at a server drive at 07:43 (this is
the local time and the time shown in the Win-Status bar). At the same
2014 May 21
1
LMTP hostname ignoring ENV variables
I am having an issue with LMTP appending the local hostname to received mail from Postfix. I either want to append localhost, a custom string, or nothing at all. Looking through the source code, I believe I should be able to set "export DOVECOT_HOSTNAME" and "export DOVECOT_HOSTDOMAIN" in my initscript to override the hostname set in lmtp/commands.c, client_get_added_headers()
2005 Oct 27
2
Fixtures are not loading into instance variables. Why not?
Hi,
I have a fixture in a unit test and I see that the
fixture is loaded correctly into the database table,
but no instance variables are created.
So now I''m stuck.
More background: this is my first RoR project and I
have just installed the SaltedLoginGenerator and
generated its output.
Running the unit tests gives an error, so I cut it
down to just 1 test:
2007 Mar 30
7
problem with using any_instance
Hey all,
I have a question with using mocha in my tests.
In the same test file, I have two tests,
<code>
def test_a
klass.any_instance.stubs(:method_name).returns("something")
klass.new.method_name
...
end
def test_b
...
klass.new.method_name
...
end
</code>
where klass is some class
when the tests run, test _a passes, but test_b had an error like this:
2004 Dec 07
1
SIP URLs
I have set up an asterisk server and can successfully call between
extensions using SIP.
i wish to be able to call other sip users using URLs such as
sip:user@sipdomain.com and have no idea how this works... every time i
try it (using X-Lite soft phone), i just get a 404: not found error.
Any clues?
Cheers
Dan
--
Dan Goscomb <dang@cashcade.co.uk>
2009 Dec 22
1
RGtk2 - retrieve ggraphics mouse coordinates during drag-and-drop event
Hi all,
I have a gtable and a ggraphic widget.
I want to drag an element from the table onto the graphic.
When the drag object is released over the ggraphic widget, I want the
mouse coordinates inside the ggraphic to be returned.
Right now I do not know how to get the mouse ccordinates of the
ggraphic widget at any given time.
How can I access the ggraphics mouse coordinates?
Below you find
2019 Aug 10
0
samba-tool ou create "OU=del-ou, dc=atest, dc=com" fails with /var/lib/samba/private/sam.ldb: No such file or directory
On 10/08/2019 13:14, amitkuma--- via samba wrote:
> Hello,
>
> I am trying to use samba-tool to create OU on active directory.
>
> 1. Joined to domain.
> # net ads join -U <>
>
> 2. Listed GPO's on domain to check samba-tool script can pull the GPOs.
> # samba-tool gpo listall
> GPO : <>
> display name : test-Computers-GPO-1
> path