Displaying 20 results from an estimated 152 matches for "rdb".
Did you mean:
db
2012 May 18
7
Dir.create_junction with FFI
Hi,
Try as I might, I just cannot get Dir.create_junction to work with FFI
in the ffi branch of the win32-dir project. The problem is the
REPARSE_JDATA_BUFFER struct. I''m just not sure how to set those
members, specifically, the PathBuffer member. The target looks good,
it''s UTF-16LE encoded, but I can''t make it work, despite trying
several ways of defining the struct,
2010 Dec 05
3
Strange problem with CSV and funny chars
...a rake task (db:seed) on Rails 3.0.3, Ruby 1.9.2 to
read a file with some funny chars in it. Upon breaking in at a point
where the row read using CSV is in variable row, with the string with
the char in row[''price''] I get the following strange results which I
cannot understand.
(rdb:1) row[''price'']
"\xA32.00"
(rdb:1) row[''price''][0]
"\xA3"
(rdb:1) row[''price''][0] == "\xA3"
false
(rdb:1) row[''price''][0].each_byte{|c| print c, '' ''}
163 "\xA3"
(rdb:1)...
2007 Jul 12
1
WWW::Mechanize::Link.inspect needs some TLC
...forms.name("f").first
search_form.fields.name("q").value = "bratislava tournament"
search_results = agent.submit(search_form)
puts search_results.body
Given this ruby-debug session:
bugs $ rdebug mechanize01.rb
./mechanize01.rb:1 require ''rubygems''
(rdb:1) b 11
Set breakpoint 1 at mechanize01.rb:11
(rdb:1) c
Breakpoint 1 at mechanize01.rb:11
./mechanize01.rb:11 puts search_results.body
(rdb:1) p page.links[0].inspect.size
1521039
# That''s way too big, since the page is a simple google results page:
(rdb:1) p page.body.size
3441
Using mec...
2011 Apr 27
2
Can not create model instance via params on specific model but can on others....
Anyone have an idea on this? Got a weird situation where on a specific model
I can not create an instance using params, yet it works fine on other
models. The model which does not work is a stock model, there is no logic in
it. Ruby 1.8.7/Rails 3.0.5.
Does not work:
(rdb:1) PaymentTransaction.create(:purchase_id => 3)
#<PaymentTransaction id: 2, purchase_id: nil, action: nil, amount: nil,
success: nil, authorization: nil, message: nil, params: nil, created_at:
"2011-04-27 18:18:59", updated_at: "2011-04-27 18:18:59">
But this works (bu...
2007 Apr 19
2
invalid geometry string in change_geometry
...eometry("110×") {|cols, rows, i| i.resize!
(cols,rows) }
# img.change_geometry("#{size}") {|cols, rows, i| i.resize!
(cols,rows) }
end
... but it all works OK when the size is buried within "#{size}".
The debugger doesn''t seem to see any difference:
(rdb:1) l
[112, 121] in ./script/../config/../app/controllers/
images_controller.rb
112 def make_thumb (the_img)
113 require ''RMagick''
114 size = "110x"
115 debugger if ENV[''RAILS_ENV''] == ''development''
=> 1...
2017 Apr 02
0
rdb and rds files include abolute file paths / help understanding how lazy-load dbs are created
Hi,
I'm trying to understand why/how absolute file paths are stored in .rdb[1] and
.rds[2] files during package installation. As a consequence building the same r
package in different directories does not produce identical .rdb and .rds files.
The background is that I work on reproducible builds[3] of R packages. I think
this is important from an engineering point of vie...
2012 Aug 02
3
INDEX rdb and rdx files
Greetings,
My computer has these
OS: 64-bit blfs linux R2.15.1
If one has downloaded a tarball for example MASS.tar.ga and unzip it
Are there R commands to generate the following?:-
a) the INDEX file
b) 'R' files such as MASS.rdb and MASS.rdx
advice would be appreciated
sincerely
luxInteg
2011 Sep 13
2
Convert "RDX" and "RDB" to ASCII format?
Dear R users and experts,
I need to modify an exisiting R function from a package. The function/
variable is inside a namespace and I have problems accessing it.
I only need to get access to to corresponding sourcecode. I localised
the "RDX" and "RDB" files. But it seems to be a binary format.
How can I convert it to an ASCII format to open and extract the code
from a text editio?
Thanks
Henri
2005 Jul 21
2
opening RDB files
Hi all,
I've recently upgraded to R version 2.1.1 and when trying to inspect the
contents of many packages in the library (for instance library\MASS\R) I've
realized wordpad, or the notepad, won't open them since they have *.RDB and
*.RDX extensions which these editors cannot recognize.
However, libraries in previous versions of R did not have these extensions
and I could inspect the contents of each package without any trouble.
I've been searching for this thread but did not find it.
Thank you!
Emili
2013 Aug 21
3
syntax error, unexpected tRPAREN raised in server log
In my server log, I am seeing this error message that is raised in
activesupport.
2013-08-12T23:06:08.932580+00:00 app[web.2]: SyntaxError
(/app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:374:
syntax error, unexpected tRPAREN
2013-08-12T23:06:08.932580+00:00 app[web.2]:
2013-08-12T23:06:08.932580+00:00 app[web.2]: def () value = nil
2010 Jun 21
1
Problem with package installation
...datasets methods base
loaded via a namespace (and not attached):
[1] tools_2.11.1
I triend changing the mirror, to no avail. Then I tried downloading zip files and installing from local zips but again I got the "wrong MD5 checksums" error
utils:::menuInstallLocal()
files R/MASS.rdb, data/Rdata.rdb, help/MASS.rdb have the wrong MD5 checksums
In some cases, another error message pointed to a namespace problem, for example:
library(Formula)
Error in get(Info[i, 1], envir = env) :
internal error -3 in R_decompress1
Error: package/namespace load failed for 'Formula'...
2006 Jul 05
2
Rails debugging - a (slightly) better approach?
...Emacs support available.
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
C:/work/ruby/workspace/workharder/script/../config/../app/controllers/ta
sk_controller.rb:8: u = User.find(session[:user].id)
(rdb:3) list
[3, 12] in
C:/work/ruby/workspace/workharder/script/../config/../app/controllers/ta
sk_controller.rb
3 class TaskController < UserController
4 scaffold :task
5
6 def my_tasks
7 start_debug
=> 8 u = User.find(session[:user].id)
9
10 @tas...
2007 Nov 01
3
autotest debugger?
Hi,
I keep facing problems with autotest, and I don''t know what''s happening
in the background, is there anyway to know what''s happening while
testing?
Example:
@user = User.new
@user.email = "testcom"
@user.errors.on(:email).should_not be_empty
...throws error failure
- You have a nil object when you didn''t expect it!
- You might have expected an
2017 Aug 23
1
No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
...----Original Message-----
From: Tom Callaway [mailto:tcallawa at redhat.com]
Sent: mi?rcoles, 23 de agosto de 2017 21:48
To: Jaime Alvarez Benayas <jalvarezbenayas1 at sheffield.ac.uk>; r-sig-fedora at r-project.org
Subject: Re: [R-sig-Fedora] No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
On 08/23/2017 03:58 PM, Jaime Alvarez Benayas wrote:
> ../../lib/libR.so: undefined reference to `pcre_assign_jit_stack'
> ../../lib/libR.so: undefined reference to `pcre_jit_stack_alloc'
> ../../lib/libR.so: un...
2006 Mar 16
1
Problem compiling R-Patched
...Leaving directory `/home/src/R-patched/src/library/tools/src'
make[4]: Leaving directory `/home/src/R-patched/src/library/tools/src'
Error in file(datafile, "wb") : unable to open connection
In addition: Warning message:
cannot open file '/usr/local/lib/R/library/tools/R/tools.rdb', reason
'Permission denied'
Execution halted
make[3]: *** [all] Error 1
make[3]: Leaving directory `/home/src/R-patched/src/library/tools'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/home/src/R-patched/src/library'
make[1]: *** [R] Error 1
make[1]: Leaving directory...
2010 Aug 19
7
External CA: Could not run: Could not retrieve certificate for puppetsrv and not running on a valid certificate authority
...39;'
/usr/lib/ruby/1.8/puppet/application.rb:217:in `run''
/usr/lib/ruby/1.8/puppet/application.rb:306:in `exit_on_fail''
/usr/lib/ruby/1.8/puppet/application.rb:217:in `run''
/usr/sbin/puppetmasterd:66
Puppet::SSL::Certificate
/usr/lib/ruby/1.8/puppet/ssl/host.rb:173
)
(rdb:1) p Certificate.find("puppetsrv")
#<Puppet::SSL::Certificate:0x7f6930ce7d18 @name="puppetsrv",
@content=#<OpenSSL::X509::Certificate
subject=/C=US/ST=CA/L=Berkeley/O=Lawrence Berkeley National
Laboratory/CN=puppetsrv, issuer=/C=US/ST=CA/L=Berkeley/O=Lawrence Berkeley
Nati...
2017 Aug 23
2
No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
...----Original Message-----
From: Tom Callaway [mailto:tcallawa at redhat.com]
Sent: mi?rcoles, 23 de agosto de 2017 20:01
To: Jaime Alvarez Benayas <jalvarezbenayas1 at sheffield.ac.uk>; r-sig-fedora at r-project.org
Subject: Re: [R-sig-Fedora] No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
On 08/18/2017 01:12 PM, Jaime Alvarez Benayas wrote:
> Hello,
>
> I am trying to build R from source on Scientific Linux release 6.9
> (Carbon), Linux version 2.6.32-696.3.2.el6.x86_64 (Red Hat 4.4.7-18).
Okay, so...
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
...-----------------------------------------------------------------
11:41 /c/work/quizmaker_demo (questions)$ spec spec
...................................c:/work/quizmaker_demo/spec/models/
user_spec.rb:86
User.authenticate(''nonexisting'', ''secret'').should be_nil
(rdb:1) s
c:/tools/ruby/ruby186/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/
class_method.rb:40
stubbee.__metaclass__.class_eval("def #{method}(*args, &block);
mocha.method_missing(:#{method}, *a
(rdb:1) c
2017 Aug 18
4
No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
...fi*
*make[4]: Leaving directory
`/data/mbp15ja/R-3.4.1/R-3.4.1/src/library/compiler'*
*make mklazycomp*
*make[4]: Entering directory
`/data/mbp15ja/R-3.4.1/R-3.4.1/src/library/compiler'*
*make[4]: *** No rule to make target `all.R', needed by
`../../../library/compiler/R/compiler.rdb'. Stop.*
*make[4]: Leaving directory
`/data/mbp15ja/R-3.4.1/R-3.4.1/src/library/compiler'*
*make[3]: *** [all] Error 2*
*make[3]: Leaving directory
`/data/mbp15ja/R-3.4.1/R-3.4.1/src/library/compiler'*
*make[2]: *** [R] Error 1*
*make[2]: Leaving directory `/data/mbp15ja/R-3.4.1/R-3.4....
2005 Oct 30
1
attaching the debugger to functional test.
...st/functional oracle$
zmac11:/cd/railsdemos/rtest/test/functional oracle$
zmac11:/cd/railsdemos/rtest/test/functional oracle$
zmac11:/cd/railsdemos/rtest/test/functional oracle$
zmac11:/cd/railsdemos/rtest/test/functional oracle$ ruby -r debug b*
Debug.rb
Emacs support available.
bikle_test.rb:1:
(rdb:1) l
[-4, 5] in bikle_test.rb
=> 1 require File.dirname(__FILE__) + ''/../test_helper''
2
3 class BikleTest < Test::Unit::TestCase
4 def setup
5 @string10 = "hello"
6 end
7 def test10
8 assert_equal @string10, "hello&quo...