Displaying 20 results from an estimated 4000 matches similar to: "Some updates and questions on Takaaki''s problems"
2004 Jul 31
3
Bug in new_work_item
Hi all,
Windows 2000
Ruby 1.8.2 R7
VC++ 6.0
I noticed that if I try to call new_work_item and give
the task a name that already exists, I get a segfault:
C:\eclipse\workspace\win32-taskscheduler>ruby test.rb
"0.1.0"
test.rb:22:in `new_work_item'': NewWorkItem() function
failed (Win32::TaskSchedul
erError)
from test.rb:22
test.rb:22: [BUG] Segmentation fault
ruby
2008 May 11
3
converting a RSTRING to an OLESTR
Hi,
I was going to modify the TaskScheduler#save method to take an optional
file name. But, I need to convert a Ruby string to an OLE string. I
thought I could use this:
http://msdn.microsoft.com/en-us/library/ms692615(VS.85).aspx
But, it only appears to accept literal string constants.
Any other suggestions?
Thanks,
Dan
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
2008 Jan 13
1
Pointer bug in win32-taskscheduler?
Hi all,
I thought this was strange:
ts = TaskScheduler.new
ts.new_work_item(''foo'', trigger)
p ts.status
ts.save
p ts.status # null pointer (ts_get_status)
I noticed that in the ts_save function in taskscheduler.c we''re doing
this at line 278:
ptr->pITask->Release();
ptr->pITask = NULL;
At first I thought this was a mistake but it looks like it''s
2008 Jan 12
2
win32-taskscheduler and TaskScheduler#account_information
Hi,
This library has needed some work for a while, so I''m finally getting
around to it. I''ve made some changes and updates in CVS, so grab the
latest source to test the issue below.
The first issue I''d like to tackle is why the
TaskScheduler#account_information (GetAccountInformation) method fails
if there''s no user associated with a given task.
The docs
2005 Feb 03
0
Fix for win32-shortcut
Hi all,
I''ve narrowed down one more problem for cygwin/mingw. For
win32-shortcut, it appears that you need to add "-luuid" to $LIBS. Once
Takaaki tried that, it worked.
How does this look for the extconf.rb for win32-shortcut?
# extconf.rb
require "mkmf"
require "ftools"
if RUBY_PLATFORM =~ /cygwin|mingw/i
CONFIG["CC"] = "g++"
2008 Jan 13
0
TaskScheduler#active? and TaskScheduler#exists?
Hi all,
I think I would like to add the TaskScheduler#active? and
TaskScheduler#exists? methods. I''m not sure how they should be
implemented however.
For TaskScheduler#exists? I suppose I could use the IEnumWorkItems and
iterated over the list. Is there a better way?
The TaskScheduler#active? would just tell me if a given task has been
activated or not, but I''m not sure
2004 Feb 21
1
win32-taskscheduler thoughts
I''ve updated taskscheduler.c and taskscheduler.h. The method names are now
more Ruby-like (though I have to change a couple yet), and I''ve shortened
the constant names, as well as moved the constants over to the .h file.
I was thinking we should merge a few of these methods. I think
"set_target_computer" and "new_work_item" could both be rolled into the
2005 Sep 04
1
Fwd: Win32 Utils TaskScheduler
Note: forwarded message attached.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An embedded message was scrubbed...
From: Scott Harper <sharperct@gmail.com>
Subject: Win32 Utils TaskScheduler
Date: Sun, 4 Sep 2005 17:04:24 -0400
Size: 4971
Url:
2004 Apr 24
5
win32-taskscheduler alpha
Well, I''m going to release the first version of win32-taskscheduler today.
For now, I''ve kept the API about the same as it originally was because I was
spending way too much time futzing around and I wanted to get something out
the door.
For now, I''m calling this a BETA release, with the API subject to change.
See the ''Future Plans'' section of
2010 Jan 23
10
Trouble creating mingw binary
Hi,
I''m trying to build a binary for win32-open with a mingw install but
I''m having trouble. I''ve installed MinGW 5.1.6 and I''ve got gcc, etc.
But, when I run "ruby extconf.rb; make" I get the following error:
C:\Documents and Settings\djberge\Repositories\win32-open3\ext>ruby extconf.rb
checking for ruby/io.h... no
checking for rb_pid_t in
2005 Jun 04
0
Gem problem
Hi all,
I''m trying to build some gems for the Win32Utils packages, but I''m
having a problem. Below is the gemspec. Specifically, the issue seems
to be the require_path. If I set it to "lib", it sets the path
properly, but installs the .so file in the wrong place - it puts it
under lib, instead of lib/win32. However, if I specify ''lib/win32'' it
2006 Aug 08
2
win32 eventlog dup
That''s weird. Line 296 is just a call to FormatMessage().
Folks on the mailing list - could this be a wide character issue? Buffer
too small maybe?
Regards,
Dan
Pe?a wrote:
> forgot:
>
> it segfaults on the win2k3 server (domain controller).
>
> it has _not_ segfault on my winxp pro though.
>
>
>
> # -----Original Message-----
> # From: Pe?a, Botp
2009 Mar 06
3
Gem update problem
Hi, firs at all sorry if my english is not the best.
I''m working with OSX and i have a problem trying to launc localhost.
In mongrel.log i can see this message:
Agent Log is found in /Users/jose/rankia/log/newrelic_agent.3000.log
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'': no such file to load -- action_mailer/ar_mailer
(MissingSourceFile)
2006 Apr 26
3
[ win32utils-Support Requests-4264 ] win32 process
Support Requests item #4264, was opened at 2006-04-26 15:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=412&aid=4264&group_id=85
Category: Install Problem (example)
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32 process
Initial Comment:
I try to use the fork example, but I
2013 Jan 02
1
[PATCH] ruby: add -DGUESTFS_PRIVATE_FUNCTIONS=1 to CFLAGS
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
This, and the CFLAGS change it depends on should be backported to 1.20.x
ruby/ext/guestfs/extconf.rb.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ruby/ext/guestfs/extconf.rb.in b/ruby/ext/guestfs/extconf.rb.in
index 15259ea..808ff9e 100644
--- a/ruby/ext/guestfs/extconf.rb.in
+++ b/ruby/ext/guestfs/extconf.rb.in
2009 Feb 24
1
building asterisk-1.6.0.6 failed!
Hi!
I have problems building asterisk 1.6.0.6.
./configure --prefix=/usr
make
gets me:
enerating embedded module rules ...
[CC] extconf.c -> extconf.o
In file included from /usr/local/include/datatypes.h:50,
from /usr/local/include/err.h:49,
from extconf.c:45:
/usr/local/include/integers.h:50:67: error: srtp_config.h: No such file
or directory
In file
2017 Aug 10
3
[PATCH] ruby: fix order of CFLAGS
Shuffle the order of the various CFLAGS used when building the Ruby
extension: first the flags from manywarnings (gnulib), then libguestfs
own CFLAGS, and then -DGUESTFS_PRIVATE=1 (so it is not overridden).
This matches also what happens in automake parts, and makes it possible
to override any flags from manywarnings also in the Ruby extension.
---
ruby/ext/guestfs/extconf.rb.in | 5 +++--
1
2011 Aug 26
1
gem installation issues
hi all,
This may seem trivial and stupid to the experts , but i have been at it
for over 2 weeks and all answers got from forums did not help with
resolving the issue. Even using cygwin didn''t help , i get the same
errors.
I''m working on a windows- rails combination and am trying trying to
setup an existing application which uses a plethora of gems. I''m done
with about
2006 Mar 17
2
Installing MySql using Ruby Gems
I''m using Kubuntu Breezy and I''m trying to install MySql using Ruby I''m
using ruby 1.8.3 and gem 0.8.11
#####
jimmyb@scooter:~$ sudo gem install mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
Updating Gem source index for: http://gems.rubyforge.org