Displaying 18 results from an estimated 18 matches similar to: "rcopy.pl an Perl script for rsync (with XML config)"
2002 Sep 08
2
Rsync fail repeatedly on the same files.
Hello,
I?m trying to rsync Windows 2000 to Linux. It fail on the same file every
in every try.
If I delete from the source the problematic file, then it fail again after
a while on other file. The file size vary etc.
I install rsync on other Linux for test, and there was no problem to rsync
the entire directory
to this new destination.
The error message on the client site is some
2023 Feb 15
0
Question about italics in legendg() - plotrix
Hi Nicole,
plotrix is intended to be modular, that is, it builds plots step by step.
This makes it easier to understand code that you haven't written or haven't
seen for a while. Here is an example showing how to change the font using
par():
library(plotrix)
plot(0,type="n",xlim=c(0,1),ylim=c(-1,0))
par(font=3)
legendg(0.115,-0.055,legend=c("Pan
2010 Jun 29
16
problem finding find current page
I have this bit of code in my email.controller
user = @current_user
story = @current_story
recipient = story.user
It doesn''t work because @current_story isn''t defined. How can I find the
current page to make this work?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2010 Aug 06
4
Object/Record foreign key IDs set to zero
Hello,
Hope no one minds me just jumping in here with a question.
I''m completely new to Ruby on Rails. I''ve been reading "Simply Rails
2", and following their examples. I reached a point where the unit
tests were unexpectedly failing. Upon investigation, I discovered that
when Rails loads the fixtures, the foreign keys aren''t being populated
with the foreign
2011 Jan 15
3
respond_with javascript
My ajax stopped working when I switched to using respond_with. For my
Votes, I have the create action and the corresponding create.js.erb,
and respond_to :html, :js, :xml in the controller. Heres the log when
I try and create a vote:
Started POST "/stories/3-asdfasdf1111/votes" for 127.0.0.1 at Fri Jan
14 20:46:36 -0800 2011
Processing by VotesController#create as */*
Parameters:
2005 Sep 06
6
strange behavior of acts_as_taggable
I was testing my models with this new library and I got:
>> s.tag "warp"
ActiveRecord::StatementInvalid: ERROR: inserción o actualización en la tabla
«tags_stories» viola la llave foránea «tags_stories_story_id_fkey»
DETAIL: La llave (story_id)=(8) no está presente en la tabla «stories».
: INSERT INTO tags_stories ("tag_id", "story_id") VALUES
2008 Jan 23
11
Rails 2.0.2 + RJS
Hi
I had ajax commenting on my app, which worked perfectly on Rails
v1.2.6, but does not work the same in Rails 2.02. Basically the
comment gets added, but the visual effects do not work (ie lines 2 + 3
of create.rjs)
create.js
page.insert_html :bottom, ''comments'', :partial => ''comment''
page.visual_effect :appear, "comment_#{@comment.id}"
2006 Feb 10
2
Sudden Strange Webrick Error: Errno::ECONNABORTED
Hello,
I''ve been developing an application (on Windows), and everything was
going pretty well, but I suddenly began getting this weird error back
from Webrick after submitting something through ajax, and only through
ajax. I''m submitting a form through ajax, and it is being process
properly - with all the interaction with the database happening
without problem. The response
2002 Jul 17
2
image function
Hi!
I'm working with the function image to represent datasets. I don't know how
to create a legend for the plot, to see which color correspond to which
value. I hope someone can help me...
Regards,
Mathilde Pascal
_________________________________________________________________
Rejoignez MSN Hotmail, le plus important service de messagerie
2007 Apr 13
0
mixin behavior
Hi, all,
I need to DRY up some code in a few models. My first inclination,
having come from the Java world, was to go with an abstract class.
After a bit of reading, I then decided to follow the mixin route
instead. Now I''m running into trouble, most likely from a few basic
misunderstandings.
There are three models I will be using to average and count rating
data by executing a
2002 Sep 30
0
End Chinese Censorship at Yahoo!
Dear Friends,
I read in a September 2002 edition of the Economist
Magazine that Yahoo! (www.yahoo.com) has signed an
agreement with the Chinese government to censor
searches on their web site for consumers in China. I
am very disappointed in Yahoo! and hope you are too.
To let my distaste be known, I am writing Yahoo! and
closing my email accounts and un-subscribing from
Yahoo!-based mailing
2008 Oct 22
2
Another node is heartbeating in our slot! errors with LUN removal/addition
Greetings,
Last night I manually unpresented and deleted a LUN (a SAN snapshot)
that was presented to one node in a four node RAC environment running
OCFS2 v1.4.1-1. The system then rebooted with the following error:
Oct 21 16:45:34 ausracdb03 kernel: (27,1):o2hb_write_timeout:166 ERROR:
Heartbeat write timeout to device dm-24 after 120000 milliseconds
Oct 21 16:45:34 ausracdb03 kernel:
2010 Jul 27
7
trouble with remote_form_for & html_update
I have a form that accepts comments and adds them to a list without
refreshing the page.
This is the html:
<div id=''aremark''>
<%= render :partial => ''comment'' %>
</div>
<% remote_form_for :comment, :url=>story_comments_path(@story), :html
=> { :id => ''comment'' } do |form| %>
<h5><label
2013 Oct 21
4
Strange behaviour with ActiveRecord has_many collections, Rails 4 compared to Rails 3
Hi All,
I have been told to post discussion based topic on here instead of the
GitHub Issues.
I thought this ''could'' be a bug, but just need some clarification really.
The issue I posted is here <https://github.com/rails/rails/issues/12597>,
does anyone have any thoughts?
Again: https://github.com/rails/rails/issues/12597
Thanks a lot.
--
You received this message
2006 Jun 12
8
Input/output error on linux
Hi,
I''m trying to use mongrel 0.3.13 with Rail 1.0
Believe it or not, on OS/X it works well for weeks at a time. On
linux I''m getting Input/output errors after anything from a few hours
to days, never more than a week. Once they start they don''t stop.
The only pattern I''ve seen is that it always (seems) to happen while
rendering an rhtml file.
2010 Jan 13
1
how-to use dsync to do a 2 ways replication ?
Hi,
I want to set-up two dovecot imap servers, with active-active replicated
maildirs. The goal is to have a hosted public server on Internet, and a
private server on my LAN to speed-up local connections.
So I compiled dovecot 2.0 beta 1 in order to use dsync utility...
Actually my config is pretty simple as I just want to setup a proof of
concept before going ahead in this way :
(Both servers
2011 Aug 26
17
strings issue
Hi everybody,
I ve got a problem with strings and the class File in rails
Indeed, when i try to do this:
File.new("archives/sequences/archives-2011.xml")
it works perfectly, however when i do
string = "archives/sequences/" + @filename => filename being
"archives-2011.xml"
File.new(string)
it doesn''t work!
ruby tells me it cannot find the file
does
2005 May 24
1
scp remote-to-remote implementation
(Please when replying include my email since i'm not subscribe to this list)
Hello all,
I always wanted to be able to copy from one remote location to another
from a master server/workstation using something like:
scp [-r] server1:/path/to/dir server2:/path/to/dir2
And have scp "know" that i mean to copy from server1 to localhost and
from localhost to server2 or something of that