Displaying 20 results from an estimated 100000 matches similar to: "script/console Stack Trace"
2007 Mar 15
1
Getting the stack trace
Hi all,
I am using the following code to print the exception, but is there a
way to get the stack trace of the complete error like
Exception: No option with text of Contract form in this select element
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3656:in
`select_item_in_select_list''
2008 Oct 25
2
Script/Server working but Script/Console not working
Hi all,
I have been having a very weird problem for a few weeks. I am able to
start up the server using "script/server" for my application and run
it successfully but "script/console" is not working. I have been
managing without it but somethings not right and i need to fix it.
This is the error that it throws and the trace.
Loading development environment (Rails 2.1.0)
2008 Feb 23
2
[LLVMdev] Printing a stack trace?
I'd like to be able to catch an exception and print a stack trace,
showing the call stack with source file and line number (using
embedded debugging information I would guess.) Obviously, I want the
call stack to be evaluated as lazily as possible - the actual throwing
of the exception should do as little up-front work as possible, with
the bulk of the work only being done if the the exception
2009 Jan 11
1
FAILSAFE preventing errors from displaying?
Used to, when I had an error in development mode, I saw a pretty stack
trace in the browser and didn''t have to go the server console, and in
production mode I would see the pretty 500.html error page be
displayed. Since I''ve started using Rails 2.2, I no longer get either
of these. I get the ugly black and white "500 Internal Server Error"
message. The happens the
2007 May 10
1
errors using ruby script/console
HI all, when i try to use the rails console with this command, ruby
script/console, i got the following errors:
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such
file to load -- readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `require''
from
2009 Mar 19
3
is there a way to run a obj.each loop in the script/console?
is there a way to run a obj.each loop in the script/console?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group,
2009 Mar 27
3
ANNOUNCE: Hirb - A gem enhancing your script/console
Hi,
I''m announcing Hirb, a mini view framework which enables script/
console to provide custom views.
Out of the box your activerecord objects come back as ascii tables.
You can also configure your tree-based models to return as ascii
trees:
Numeric
|-- Float
|-- Integer
| |-- Bignum
| `-- Fixnum
|-- Date::Infinity
`-- Rational
I''ve written two tutorials on
2007 Mar 09
3
Password protecting access to script/console ?
Sorry if this is asked and answered before, is there away to password
protected access to script/console ?
I''ve seen a few posts on how to protect/encrypt the db passwords in
database.yml, but that still leaves unprotected access to pretty much
the same data via the console.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received
2008 Jun 30
3
script/console sqlite3
I hope this is in the right place, if not just point me to the right
place, please.
I''m running through this tutorial:
http://developer.apple.com/tools/developonrailsleopard.html
and everything went swimmingly until I got to the point where I had to
do some db stuff in script/console. I enter what the tutorial tells me
to
vendor1 = Vendor.create(:name => ''Parties R
2007 Jun 09
1
Rake test tasks only work with --trace
So this has left me completely confused. I''m trying to get the test
suite going on an existing app, but things going a little crazy.
In the application directory if I do ''rake'' or ''rake test'' I get:
rake aborted!
Lost connection to MySQL server during query
However if I do ''rake test:units'' or ''rake
2011 Jun 24
0
[LLVMdev] Missing symbols in pass stack trace
On Jun 24, 2011, at 12:36 PM, Carlo Alberto Ferraris wrote:
>
>> That's a weird one. Does addr2line work?
>> $ addr2line -e CGF.so <address>
> cafxx at ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ objdump -t ../lib/CGF.so | grep flatten
> 0000000000005622 l F .text 0000000000000aa6 _ZN12_GLOBAL__N_111CGFFunction7flattenEv
> 00000000000041d6 l
2011 Jun 24
0
[LLVMdev] Missing symbols in pass stack trace
On Jun 24, 2011, at 1:12 PM, Carlo Alberto Ferraris wrote:
>
>> I meant on the stack trace, for your initial trace:
>>
>> $ addr2line -e CGF.so 0x00007f640b6a24fd
> It doesn't work (it prints ??:0) I guess because it's PIC code (in the address above the blue part changes at each invocation of opt)
Seems to be some issue with gdb not being able to read all of the
2008 Jun 16
0
java stack trace using DTrace
Hi all
i want to view the stack trace of the real time java application using DTrace probes.
i am using jrts provider for finding the information of real time threads.
In this i have used the ustack(), jstack() and this gives the following type of information
libjvm.so`__1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_+0x5e
2018 Jan 03
0
JIT stack trace
I am trying to get stack trace when JIT program gets core dumped.i am using
clang with llvm - basically the stack trace should show me JIT program
functions and file names, which i don't seem to get by just using
PrintStackTraceOnError. is there some support inherently in llvm 3.8.1 - or
later versions (how stable they are)..
>
-------------- next part --------------
An HTML attachment
2014 Oct 01
0
Useful tip: Run guestfsd under gdb and print stack trace on exit
Useful for tracking down segfaults in the daemon. This is not
upstreamable right now.
Example usage:
$ ./run guestfish -v -x -a /dev/null run : debug segv ""
[...]
libguestfs: trace: launch = 0
libguestfs: trace: debug "segv" ""
guestfsd: main_loop: new request, len 0x34
Program received signal SIGSEGV, Segmentation fault.
debug_segv (subcmd=0x4687050
2010 Aug 18
2
Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] Stack trace
Just surfing Net for 2-3 hr concerning "dracut" on Fedora 13.
Several "warnings" at the end of dmesg log. Seems like reaction
on some system events scheduled to run on regular basis, but not
user''s activity.
Boris.
--- On Tue, 8/17/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote:
From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: [Xen-devel]
2020 Mar 27
0
Possibility of Less Verbose Stack Trace
Good day,
Is there a setting the user can change to make R CMD check stack traces output less and make it easier to spot the line of code that's the problem? I use R Under development. Part of the trace I see looks like:
--- R stacktrace ---
where 1: .local(model, test, ...)
where 2: (new("nonstandardGenericFunction", .Data = function (model, test,
...)
{
2010 Aug 09
1
[LLVMdev] Stack trace - clang
Hi,
I am new to LLVM and am trying to modify clang for some work. I tried to
insert an instruction: prefetchnta $100 at the beginning of a function.
I encountered a problem when I tried to debug it with gdb. There was an
assertion failure and printed some information without stack trace. The
process has been finished when it printed the information. I tried to
set a breakpoint at the
2008 Mar 13
3
Refreshing a page gives a "stack level too deep" error.
I''m converting our app into restful rails. A couple of my classes
(Resource and Asset) have a has_many relationship with each other -
here''s the routes:
map.resources :assets, :has_many=>[:resources]
map.resources :resources, :has_many=>[:assets]
I''m getting something weird in my view pages. When i go to
/resources/4/assets
it works. I go to the page
2011 Nov 09
1
Stack trace?
Currently I have a for loop executing functions and at the end I get a
message like:
There were 50 or more warnings (use warnings() to see the first 50)
If I do what it says and type warnings(), I get 50 messages like:
2: In !is.na(x) & !is.na(rowSums(xreg)) :
longer object length is not a multiple of shorter object length
I am not sure what function these errors are originating from.