Displaying 20 results from an estimated 10000 matches similar to: "Improve error message for bad NAMESPACE file?"
2006 Jan 20
1
R CMD check, NAMESPACE, import: bad error?
I'm seeing errors with R CMD check that I don't understand when
checking a package that uses a NAMESPACE file with an import
directive. The imported package is listed in the DESCRIPTION file in
the Imports field.
DESCRIPTION contains:
Imports: arules
NAMESPACE contains:
import(arules)
The package builds without warnings and installs and loads just fine.
But check has this to
2006 Jun 18
2
Installation on Mac Problem
I''m not exactly sure what the root of this problem is. I followed the
following tutuorial on installing Ruby on Rails on Mac OS X:
http://www.hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
Everything is working fine but when I navigate to :
http://localhost:3000/ or go to any other pages that I''m attempting to
serve with RoR I get the following errors in
2007 Apr 17
3
Is this a bug?
I have found a strange "ifelse" behaviour (I think)
This works:
> ifelse(T,1+1,1+2)
[1] 2
> ifelse(F,1+1,1+2)
[1] 3
Maybe I missed something about R internals, but why
> ifelse(T,print("hello"),print("goodbye"))
[1] "hello"
[1] "hello"
> ifelse(F,print("hello"),print("goodbye"))
[1] "goodbye"
[1]
2008 Oct 01
2
Bug or feature with finding a list element?
This seems odd. When I try to look up a list element which has a space in
the name using just the first word (i.e. no spaces), it will sometimes
return the element with a space in the name and sometimes it will return
NULL.
Try this:
alist <- list( 'hello'=10, bye=20, 'hello world'=30, 'goodbye world'=40, 'hi
world'=50, 'goodbye foo'=60, 'goodbye
2005 Aug 19
2
FXO not picking up; baffled
I'm a newbie to Asterisk, but I'm moderately knowledgeable about phone
systems. Right now, I'm most certainly confused.
I have a TDM-04B (four FXO) and four analog FXO lines running into it
from an AdTran 616. I have Asterisk working internally, although I could
use some help getting incoming calls to answer properly and configuring
my outbound dialplan.
Here's where I'm
2006 Sep 06
3
DRb error when using rails_spec on OS X
Hi, all-
I started playing with RSpec in a new Rails app. I''ve installed the
plugin and bootstrapped it, and run ''script/rails_spec_runner'' (not
rails_spec_server as the website currently reads, btw) in a separate
shell, then in another shell I run ''script/rails_spec'' and get the
following:
/usr/local/lib/ruby/1.8/drb/drb.rb:837:in
2006 Jun 07
2
Qick Q: Expression in this Controller
I tried putting this inside my controller:
def goodbye
@link = Link_to "goodbye!", :action =>"goodbye"
end
and display it in my views calling the @link variable.
Of course it doesn''t work.
Why?
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Feb 20
3
Caching of classes non working or Howto?
Hello!
I m new to rails. I m playing around with it on a SuSE 10.0 box with
ruby 1.8.2 and gems and rails and postgres. rails xyz creates a nice
rails application, with its directory and ruby script/server runs
webrick nicely and lets me see the page on localhost:3000.
I went with some tutorial to create a Hello page showing the time and a
Bye-Link to link to an Bye page.
cat
2006 Apr 04
2
How to apply class from Stylesheet to "link_to" element???
Hi,
This is the "img" class for anchor element inside my stylesheet.
=====================
A.img:link {
color: #ffffff;
text-decoration: none;
}
A.img:visited {
color: #ffffff;
text-decoration: none;
}
======================
I can easily apply this tag inside my html document as follows:-
=======
< a href="goodbye.html" class="img">
=======
Now I want to
2003 Jul 24
2
Voicemail() problems - Long pause after incoming message recording ended.
I'm having the following problem:
I call into my Asterisk box (RedHat Linux 9.0, 1 Digium X100P card)
to access voicemail. After dialing the appropriate extension I get
voicemail, am presented with the user's unavailable message, and can
leave a message normally.
The problem comes when I press "#" to end the recording, at which
point I am told "Your message has been
2007 Jul 17
1
No sound from Festival, but *something* is happening
Hey folks,
So I'm trying to get Festival() working on 1.2.17. I'm trying to use
app_festival:
Here's the show dialplan output from that extension:
'3378' => 1. Answer()
[pbx_config]
2. Festival(Hello Asterisk caller. How is your day?)
[pbx_config]
3. Playback(vm-goodbye)
[pbx_config]
4. Hangup()
2006 Apr 18
1
NoMemoryError
I am using the Openbase adapter and have had a similar glitch here
and there, but after I go into production I consistently get an error
on one page.
ActionView::TemplateError (NoMemoryError: failed to allocate memory:
SELECT * FROM ...
I cannot track down the exact location of the error, but the
production log says it was around:
2006 Jan 07
10
RMagick bus error on OS X in console mode
This is a strange bug that I''ve never seen before. It only shows up
when I run the app through the console (the app is Family Connection,
and it works fine when run as a web app):
22$ ruby script/console
Loading development environment.
>> User
/opt/local/lib/ruby/vendor_ruby/1.8/powerpc-darwin8.3.0/
RMagick.bundle: [BUG] Bus Error
ruby 1.8.2 (2004-12-25)
2005 Mar 21
2
Ext matching problems
Hello everyone...
I'm trying to get up a testing pbx installation. Following instructions
of what've read from the handbook and from asterisk's wiki, I wrote the
dial plan as follows:
[general]
;
;
static = yes
;[globals]
;
[default]
;
exten => 0,1,Answer()
exten => 0,2,Playback(fcopba1)
exten => 0,3,Hangup()
exten => *0,1,Answer()
exten => *0,2,Record(fcopba1:gsm)
2007 Feb 08
2
Asterisk outbound calling does not wait for answer before playback
Hello Asteriskers, :-)
We're trying to set up an outbound notification calling for system
alerts with Asterisk 1.4.0. We generate a call file in
/var/spool/asterisk/outgoing and the outbound call is originated through
Zap/1 (Sangoma A200D to a Canadian POTS line). The problem is that
Asterisk does not wait for the other side to answer before it starts
playing the message. So the
2005 Sep 14
1
TE110P - Asterisk@Home Install Problems
I am having problems sending and receiving calls over the T1. They never seem to connect - outbound keeps ringing, inbound gets busy. The T1 looks ok - no errors on the line. Any ideas on what is wrong? I have tried a variety of fxsks and fxoks configurations without avail. This is a single asterisk@home system with a single T1 card. Robbed Bit T1 ami, d4.
------------------inbound call
2010 Apr 27
2
Resolving functions using R's namespace mechanism can double runtime
It appears that the runtime for an R script can more than double if a few
references to a function foo() are replaced by more explict references
of the form pkgname::foo().
The more explicit references are of course required when two
loaded packages define the same function.
I can understand why use of this mechanism is not free in an
interpreted environment like R, but the cost seems rather
2005 May 28
1
3 goes and your out
Is it possible to give a caller three goes at an extension number then
hangup?
exten => s,1,Zapateller(answer|nocallerid)
exten => s,2,PrivacyManager
exten => s,3,Ringing(1)
exten => s,4,NoOp(${CALLERID})
exten => s,5,SetMusicOnHold(random)
exten => s,6,Background(silence/1)
exten => s,7,Background(thank-you-for-calling)
exten => s,8,Background(silence/1)
exten =>
2007 Apr 17
1
No Incoming Ring Tone (Even with "r" option)
Hello,
I am using an incoming iax provider to bring calls to my server. When
an incoming call comes in, the calling party does not hear a ring
tone. I figured that this was no big deal, and that I just needed to
enable the "r" flag to dial. This has not fixed the situation though.
Just to try to make sure the line was being picked up properly, I
tried the following:
[inbound]
exten
2005 Sep 30
2
SIP make outside call
Hi,
I am can make local extension to and from SIP X-Lite
softphone, but I can't dial out using X-Lite but local
analog works just fine. Here are my conf files any
idea?
Thanks,
David
my sip.conf
[general]
bindport=5060 ; UDP Port to bind to
(SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind
to (0.0.0.0 binds to all)
allow=all
[3000]