Displaying 20 results from an estimated 2000 matches similar to: "Error: undefined method ''calc_min'' for #<Wx::IdleEvent>"
2008 Oct 20
1
LC_VIRTUAL with Wx::ListCtrl
Wx::ListCtrl#set_item_count appears to be broken. If I pass it
anything but a Fixnum (is_a Integer), it crashes and says it needs a
"long" (which Fixnum should appease), but if I pass it a Fixnum it
crashes with "cannot convert nil into String."
Latest WxRuby. Windows Vista.
This makes using LC_VIRTUAL impossible.
-- Eric Will // xmpp:rakaur@malkier.net
2008 Jul 09
2
DOS box popping up under rubyscript2exe
Hello
My email has been broken for a week and some of it seems to have gone
astray - so if there are other unanswered wxruby queries kicking about,
please repost or forward me them.
I have encountered this problem with a DOS box popping up under rubyw /
rubyscript2exe; I don''t think it''s related to wxruby. I found them
popping up when shelling out with backticks - I believe
2007 Oct 16
5
Question about GUI processing order
I am developing a GUI with WxRuby (wxruby-1.9.1-i386-mswin32, ruby-1.8.6).
In one of my button event handlers I do the following in this order:
set the value of a TextCtrl,
show a button (which was hidden),
hide the button that was caused this event
play some sounds (using Sound.play)
What I observe is that all these things happen, but not in the order I
specified. Hiding the button occurs
2009 Jan 13
5
set the background to a bitmap
Hi,
any ideas whether you can set the background of a dialog to use an
image?
--
Posted via http://www.ruby-forum.com/.
2007 Nov 28
6
Problems installing/running svn-code
Hi,
The last couple of days I''ve been trying to get back on the wxRuby-horse
however I''ve ran into some problems while compiling/testing the
subversion sources. Mind, the 1.9.2 official release works fine.
Absolutely no problems whatsoever.
The first hurdle was that the rake install target doesn''t work. It fails
on rakewx.rb:145. Looking into it I found that
2007 Nov 27
2
Expectations on Class Methods
Sorry about the non-specific subject. Here''s what I''m trying to do. I
have a method:
DataMapper::Database.setup
That I want to create an expectation on. I wrote:
DataMapper::Database.should_receive(:setup).once.and_return
(connection_hash)
The call to setup is invoked in the "Object" namespace. I.e., it is
setup code, and not in any method or class.
I can see
2006 Sep 29
7
new crasher on bigdemo
Hi
Seems that the last round of commits makes bigdemo crash fairly quickly.
Guessing it''s something to do with either the Window or fixmodule change.
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00034fbc in rb_obj_is_kind_of (obj=3825080, c=1839676) at object.c:523
523 object.c: No such file or directory.
Any hints?
alex
2011 Mar 18
7
Controller Spec & DataMapper Chaining
Hi there,
I''m fairly new to RSpec, and DataMapper and I''m trying to write a controller
spec for an index action that will include DM query chaining.
Here is a very simplified version of the Controller#index I''m working on
def index
@widgets = Widget.all(:order => [ :name.asc ])
if params[:alpha]
@widgets = @widgets.by_alpha(params[:alpha])
elsif
2008 Feb 07
2
Catching non-Merb::ControllerExceptions Exceptions
Is there an agreed upon method for handling exceptions thrown by
something outside of Merb? For example, DataMapper now throws a
DataMapper::ObjectNotFoundError when a record isn''t found in the db.
I''d like to catch these exceptions and raise a C:E:NotFound exception
instead, but without having to wrap a lot of code in begin/rescue/end
blocks.
Thanks,
Mike Irwin
2007 Dec 12
3
merbful_authentication
Since there are so many efforts at the moment to port restful_authentication
I figured I''d put a repo up so that it can be a collaborative effort.
You can pick up a copy of the repo at
git clone http://snatcht.com/git/merbful_authentication.git
at the moment the app is in a branch. Not in the master.
get the branch by
git checkout -b remote/initial origin/inital_repo
At the moment
2007 Oct 23
6
wxRuby 1.9.2
I''m happy to announce that wxRuby 1.9.2 is now available from Rubyforge.
As usual we''ve got source and binary gems for Win32, OS X and Linux:
http://rubyforge.org/frs/?group_id=35
or
gem install wxruby
== WHAT''S NEW ==
This release has a mix of new syntax features, new classes, and lots of
minor fixes and additions
* New shorter syntax for event handlers
* New
2008 Sep 23
4
need migration/upgrade help
Hello All,
I am trying to migrate samba from a box with Mandrake 10.1 with Samba
3.0.10 to a new box running CentOS 5.2 with Samba 3.0.28. The two
versions of samba are too differnet to simply copy the config and tdb
files over to the new box and the Mandrake box won't upgrade past
3.0.10. I could really use some suggestions. Thanks
The problem when I do that is the Centos box with Samba
2008 Jul 28
12
Segfault with GridCellChoiceEditor
I have a problem.
In my application I have a few Grid objects in a Notebook. The Grid objects
are populated via GridTableBase. Certain Grid cells need to have a choice
interface (I''m artificially enforcing foreign key constraints). All this
works to the point where you try to edit the value for that cell. The
choice box renders (i.e. the drop down arrow appears) then the application
2008 Feb 04
3
Making Samba change the Unix Password (/etc/shadow)
Hello all,
I am trying to change the linux login password through the smbpasswd
command by placing following parameters in smb.conf file:
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = "*enter old password*" %o\\n "*Enter NEW password*"
%n\\n "*reenter New passwd*" %n\\n "*password changed*"
But its not changing the unix
2007 Oct 15
18
Merbivore.com - Mockups
There''s been some discussion on the IRC channel about getting a site
for Merb going. Since the culture around the project is pretty
casual, I figured I''d just throw a few ideas together, see what you
guys think.
So, firstly here are three example pages, just to show off the
general look and feel.
http://mr-eel.com/tmp/merb/01_frontpage.gif
2007 Jun 13
3
COMPUTERNAME/Guest in login
Dear all,
I have recently configured a samba server that I have a strange problem
with, but it is not really consistent. I would be grateful for any help
I can receive.
This is what happens:
When I browse the microsoft windows network and find my workgroup my
samba server shows up. But when I double click on it I can't fill in my
username. Instead it shows my computer name (client) followed
2008 Aug 01
1
Question about Window#raise
I want to force my Frame to be visible under certain conditions, even if
it''s currently behind other windows. I am running under Windows XP. I am
calling raise to do this, but the Frame doesn''t come to the front, though
the icon does alert. Isn''t this what Window#raise is supposed to do? Is
this a Windows issue?
Eric Rubin
2008 Oct 03
2
Writing to shares directly
Within a Samba configuration, is it not advisable to create files on the
directory on the local machines themselves? Out setup is like so:
Server 1 (where the files reside):
/data/shares/app01
Server 2 (mounts the above drive):
/data/mounts/app01
If, on Server 1, I create a file:
# echo test > /data/shares/app01/test
The file is created, but on Server 2, I cannot seem to edit the file as
2008 Sep 09
3
drag_accept_files undefined in 1.9.8 (mingw32)
Hi,
I got "undefined method ''drag_accept_files'' for Wx::Frame"
The doc
(http://wxruby.rubyforge.org/doc/window.html#Window_dragacceptfiles)
indicates it''s available on Windows.
Thanks,
Zhimin
--
Posted via http://www.ruby-forum.com/.
2007 Nov 30
3
Vista over VPN loses connection with workgroup
I've a server running CentOS 5, Samba 3.0.23c and OpenVPN-2.1beta4
A laptop running Vista connects to the server over VPN. The CentOS
server is local, domain and preferred master, and also WINS server.
It looks like every once in a while the Vista laptop drops the VPN
connection, which gets re-established soon after that. But the problem
is, it appears that after the dropout the Vista