Displaying 20 results from an estimated 1000 matches similar to: "error_messages_for trouble"
2010 Jan 24
1
auto reading in multiple txt files with filename as 1st column "ID"
Hi,
I have many .txt files which look like this:
2009/02/07 12:30:10.0 ? ? ?5.0161 ? ? ?13.208
2009/02/07 12:45:10.0 ? ? ?5.0102 ? ? ?13.350
2009/02/07 13:00:10.0 ? ? ?5.0044 ? ? ?13.473
....
....
....
2009/02/07 16:30:10.0 ? ? ?4.9366 ? ? ?13.788
2009/02/07 16:45:10.0 ? ? ?4.9397 ? ? ?13.798
end data.
###I can read in all files from "my_folder" using the following code:
2005 Dec 02
4
ftp:// error
Hello,
from a server where neither a rsync daemon nor ssh is running I'm trying
to backup the whole data with ftp. So my idea was to call rsync like this:
rsync -v -a 'ftp://1.2.3.4/' my_folder
But this gives me:
ftp: unknown host
ftp: unknown host
ftp: Unknown host
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code
2004 Sep 13
1
Offline Files won't sync after Samba upgrade
Dear Samba users,
Having scanned this list archive, this problem has been raised several
times over the past 12 months on this list, but mostly without any
response. Now it's happened to us too, and I raise it again in case
anybody has figured it out in the meantime.
All our employees are provided with laptops, and spend a lot of time
working offline. We make extensive use of the Offline
2005 Mar 04
17
active record logs format
Hi,
I think this has already been asked on the list, but I can''t seem to
be able to find it again:
currently, active record does some weird thing with its sql logs i.e.:
[4;33mSQL (0.000000) [1;37mPRAGMA table_info(map_locations)
how do I remove the "[4;35m"
thx
Jean
2006 May 09
11
model filter?
Hi All,
Is there a way to filter / modify the output of a model class before
it''s returned to controller/view that''s calling it?
Example: I have a field phone_number which I always want to preformat
using the number_to_phone() helper....
Any help is appriciated.
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Aug 14
2
ActionPack: number_to_phone error
Question about the number_to_phone function as provided by rails in actionpack:
http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html
If I do this in my controller:
num = number_to_phone(params[:phone_number])
I get this error:
undefined method `number_to_phone'' for #<TicketsController:0xb7a2bfcc>
Whereas if I do this in my view:
<%
2007 Nov 29
3
Stylistic preferences
What are people''s opinions on which of these two styles is better to
use?
1) before
---------------------------
module UserSpecHelper
include GenericSpecHelper
def valid_sms_attributes(phone_number="12345")
{ :phone_number => phone_number }
end
end
describe User, "with phone number" do
include UserSpecHelper
before(:each) do
@user =
2007 Feb 23
2
how to remove spaces from phone number
Hi,
I need to allow login based on the phone number. During the signup they
can give the number in any format with spaces, slash or (). But for
storing in database and then during login to compare I just want the 10
digit number. How can I remove the special char from phone number before
storing to db ?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2005 Nov 16
1
update R packages in local repos
I try to update R packages via my local repository.
I put all R packages in g:/myFolder/myRepository, I do like
> library(tools)
> write_PACKAGES("g:/myFolder/myRepository")
> options(repos=c(LocalR="file://g:/myFolder/myRepository"))
> getOption("repos")
LocalR
"file://g:/myFolder/myRepository"
>
2006 Jul 31
3
getting the last four digits of a string or number
I want to trim down a phone number to the last four digits before saving
it to the db. How would I do this? For example, 800-555-1212 which
could also be 8005551212, i want to save just 1212 (last four digits)
only.
--
Posted via http://www.ruby-forum.com/.
2005 Aug 28
2
Feature Request - wild idea - folders for executing programs
Timo,
I have a wild idea for a feature that is somewhat unusual, would be very
powerful, and easy to implement. What I want is ...
Special folders that when someone drags a message into them - it pipes
the message into a program.
The reason I want this is - for example - reporting of spam. Suppose you
want everyone to have a spam-missed folder so that if a spam gets
through then the user
2009 Jan 31
2
Strange behaviour with rsync and mounted truecrypt volume
Hello,
when i mount a truecrpyt volume with truecrypt 5.1a and
synchronize data locally with rsync (version 2.6.9 protocol version 29) like this way:
$ truecrypt myvolume.tc
$ rsync -av /home/oliver/myfolder /media/truecrypt
The myfolder is copied to /media/truecrypt like it should.
But when i dismount the truecrypt volume
and mount it again:
$ truecrypt -d /media/truecrypt
$ truecrypt
2012 Sep 05
2
samba4 installation Error and mount: unknown filesystem type 'smbfs'
Hi, all:
Two questions.
Environment: Ubuntu 12.04
1) mount: unknown filesystem type 'smbfs'
With default Samba 2:3.6.3-2ubuntu2.3 installed, all the following 3
commands failed:
a)
$ sudo mount -t *smbfs* -o username=MYNAME,password=MYPWD
//mybooklive/myfolder /media/smb/
mount: unknown filesystem type 'smbfs'
b)
/media$ sudo mount -t *cifs* -o
username=MYNAME,password=MYPWD
2017 Mar 07
2
moh reload not reloading/reading new musiconhold files
Hello
I did not mention it but of course the MOH directory is listed in
/etc/asterisk/musiconhold.conf :
[default]
mode=files
directory=/var/lib/asterisk/moh
[myfolder_1]
mode=files
directory=/var/lib/asterisk/moh/myfolder/1
sort=alpha
[myfolder_2]
mode=files
directory=/var/lib/asterisk/moh/myfolder/2
sort=alpha
[myfolder_3]
mode=files
directory=/var/lib/asterisk/moh/myfolder/3
sort=alpha
2013 Oct 02
1
Dovecot namespace solved while writing; preparing to refilter
Hi!
My plea to readers:
===================
Pls., people who only want strictly technical issues to read, and frown
at any
broader context regardless how intrinsically related, but not strictly
technically related, it might be, skip all the way, all the way to,
search for
exact words: "strictly technical" or visually, find two lines of sole
"==="
characters. Thank you!
2008 Nov 04
3
Nester Resources, Routes and Class Inheritance
Ok here''s a quicky... but a goody :)
We have models Company, Reference and Applicant... and References and
Applicants just inherit from Company, and are basically companies with
the type field set to reference...
All companies can have a phone number associated with them, and phone
number is a different model...
I''m having trouble using the form_for method with a company that
2005 Mar 10
1
Asterisk@Home, AMP, and Broadvoice
Egad, not again with Broadvoice! Anyhow, I recently installed AAH and
configured my TDM11B and got that and some SIP phones working. I still
have some issues to work out, etc, but my current problem is Broadvoice.
I have checked out all of the online resources, including the recent
list exchange about the recent changes made by Broadvoice. However, the
one thing I have found to be consitent in
2008 May 30
3
regarding vorbis tool
hi,
i am trying to load vorbis tool on to my arm board EDB9302 , till now
i have cross compiled libao, libogg, libvorbis, flac, speex and vorbis tool.
when i run the command line arm-linux-ogg123 with some sample ogg format
file on my arm board it gave *"Could not load default driver and no driver
specified in config file : Exiting"* , please help me to over come this
error.
2017 Mar 03
2
moh reload not reloading/reading new musiconhold files
Hello
using Asterisk 1.8.32.3
Current music on hold :
myserver*CLI> moh show files
Class: default
File: /var/lib/asterisk/moh/macroform-robot_dity
File: /var/lib/asterisk/moh/macroform-cold_day
File: /var/lib/asterisk/moh/reno_project-system
File: /var/lib/asterisk/moh/manolo_camp-morning_coffee
File: /var/lib/asterisk/moh/macroform-the_simplicity
New musiconhold
2009 Nov 11
3
how to use # in a rd doc in url address
I am writing a rd doc, and need to use "#" in a url adress. This would make:
\url{http://www.xxxx.org/myfolder/#myanchor}
Of course, I suppose this will not work because # is a special character
starting a comment line in the rd dialect. I did not found a similar
example in "Writing R exentions". I am not sure bout using \dQuote{a
quotation}), and use \sQuote and \dQuote