Displaying 20 results from an estimated 300 matches similar to: "syntax error, unexpected tRPAREN raised in server log"
2006 Jan 11
3
SPSS and R ? do they like each other?
... and is there also such a nice tool (like spss.get) for exporting
data frames to SPSS? write.table does not keep the data frame labels -
neither did the other exporting tools that I found.
Thanks!
Michael
[[alternative HTML version deleted]]
2007 May 19
2
Crash in blur.c (SIGSEGV)
Hello.
System info:
OS: FC6 x86_64
video: Nvidia GF 7900 GT, driver version 97.55
compiz version: git
config backend used: ccp
I can reproduce this crash every time on my system. When blur plugin is active and I try to access any right-click menu, regular application menu or drop-down list, compiz crashes. Backtrace produced by crashhandler plugin shows crash in blur.c in function
2010 Jul 16
0
No more filter chain halted messages?
I''ve been trying to debug test failures when converting my project to
rails 3, and I noticed that controllers are redirecting inside of
before filters. It''s very difficult to figure out which of my 8
before_filters caused the unexpected redirect, however, since the
"filter chain halted as XXX rendered or redirected" message is MIA. I
read through the new
2007 Apr 11
2
Patch for ini plugin
Hi,
recently I took a look at ini to find a bug which made it crash at
startup. While fixing the bug I realized I could do some improvements
to the option reading code (espacally the action part).
So I went on and here we are.
This patch should make ini more robust, clean it up and fix also some
more crashes I had here.
Additionaly, I have a attached a second patch from Maniac which should
fix
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
I am using CSV in 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)
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,
2007 Jul 12
1
WWW::Mechanize::Link.inspect needs some TLC
The problem: users trying to debug Mechanize apps with Komodo
are finding the debugger times out once it''s loaded a web
page. They don''t run into this in the ruby-debug debugger,
or running in normal mode.
The reason: Komodo''s debugger is graphical, which means that
whenever it hits a breakpoint it automatically shows the
contents of each local variable. It has a
2007 Apr 19
2
invalid geometry string in change_geometry
I get the following error at the browser:
ArgumentError in ImagesController#upload
invalid geometry string `110×''
... for the call to change_geometry with an explicit size (''110x'') as
the geometry string:
def make_thumb (the_img)
require ''RMagick''
size = "110x"
debugger if ENV[''RAILS_ENV''] ==
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
2010 Aug 19
7
External CA: Could not run: Could not retrieve certificate for puppetsrv and not running on a valid certificate authority
Hi Experts,
I''m trying to generate my own certificates (all of them, including certs for
CA, server and client) for puppet to use.
and I''m getting "Could not run: Could not retrieve certificate for puppetsrv
and not running on a valid certificate authority"
Just wondering what the problem could be?
What I did is:
1. generate a self signed CA cert, and save the
1998 Feb 26
2
R-beta: question on dyn.loaded code
Hi,
when designing libraries for R, is it possible to call C/Fortran
subroutines from other dynamically loaded code?
The following example crashes R:
********* fn1.c *****************
void twice(int *i)
{
*i = 2 * *i;
}
*********************************
********* fn2.c *****************
extern int twice(int *i);
void negtwice(int *i)
{
*i = -1 * twice(i);
}
1998 Feb 26
2
R-beta: question on dyn.loaded code
Hi,
when designing libraries for R, is it possible to call C/Fortran
subroutines from other dynamically loaded code?
The following example crashes R:
********* fn1.c *****************
void twice(int *i)
{
*i = 2 * *i;
}
*********************************
********* fn2.c *****************
extern int twice(int *i);
void negtwice(int *i)
{
*i = -1 * twice(i);
}
2009 Jul 05
2
JSON data not decoded in Rails
Hello all,
I''m trying to send some json data from the browser to the server using
prototype without success. On the server side ActiveSupport::JSON.decode
isn''t decoding the data.
Here is the code:
Javacript:
<a href="#" onclick=''send();return false;''>click</a>
<script>
function send() {
var send_data_url =
2006 Apr 26
5
accessing created_on causes type error
I assume that this is some newbie stupidity, but I haven''t found my
way around this problem. I have an ActiveRecord object fetched
from the database, and I need to evaluate the contents of the
updated_on field. However, *any* attempt to access that data in the
program results in a TypeError with the message ''no implicit conversion
from nil to integer''.
cust =
2013 Jun 08
1
Multicast panic caused by elasticsearch
Hi,
I was experimenting with Logstash + elasticsearch on FreeBSD 9 - initially I downloaded it by hand (I forgot to check for a port) and it worked fine.
I then tried the port and this forced me to use a different java version (was jdk-16.0.3p4_25 now openjdk6-b27) and it seems that the new one causes a panic.
Unfortunately crashdumps aren't working properly, however I did get the panic
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
2010 Jan 22
11
Finding out where a variable is defined
I''m looking at code in a project. I have no clue what is being passed
into the resource parameter:
def read_authorized?(resource)
if resource.respond_to? :user_read_authorized?
resource.user_read_authorized? current_user
else
true
end
end
Is there any kind of debugging feature I can run to see what gets passed
into resource in this specific
2010 Jun 21
1
Problem with package installation
Dear ComRades,
I am having the "wrong MD5 checksums" error with every package I try to install.
It happened with R 2.11.0, then I updated to R 2.11.1, same thing.
sessionInfo()
R version 2.11.1 (2010-05-31)
i386-pc-mingw32
locale:
[1] LC_COLLATE=Spanish_Spain.1252 LC_CTYPE=Spanish_Spain.1252 LC_MONETARY=Spanish_Spain.1252
[4] LC_NUMERIC=C
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
I happened to mix ryan bates'' authentication scaffold with
rspec_scaffold on a demo project.
and ran into the problem of mixing mock frameworks...ryan uses mocha.
So, as a learning experience, I choose to redo ryan''s tests without
mocha but ran into a strange problem with tests of the User model.
With debugging you can see....
If you run just the user_spec.rb file, everything