Displaying 20 results from an estimated 7000 matches similar to: "Re: File Attachment"
2008 Apr 14
2
interesting find: multiple file uploads stopped on Linux
Hi,
I came across something very interesting. I use attachment_fu for file
uploads and mongrel_cluster for scalability. Together they should
allow me to perform multiple (concurrent) file uploads. This does work
with uploads started on Windows, but on Linux something strange
happens: the upload started on Linux hangs.
So, if you start an upload from a Linux machine, and then start an
upload from
2006 Jun 19
0
FileUtils/ActiveRecord help please?
Does anybody know how to make FileUtils and ActiveRecord coexist? Every
attempt I have made results in errors like those quoted below.
[belladonna-grr] ~ <0> irb
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''fileutils''
=> true
irb(main):003:0> include FileUtils
=> Object
irb(main):004:0> require_gem
2007 Oct 01
2
[ win32utils-Bugs-14360 ] Bad interaction between win32-file-stat and FileUtils
Bugs item #14360, was opened at 2007-10-01 15:00
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=14360&group_id=85
Category: win32-file-stat
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: Bad interaction between win32-file-stat and FileUtils
Initial Comment:
Ruby
2009 Sep 15
1
Strange error no idea -fileutils.rbThumbs.db (Errno::EACCES)
I can not find a single post on this but trying to start mongrel_rails
after closing it down I get the strangest error I have ever seen.
Nothing on Google anywhere at all - please can somebody give some
expertise?
D:\2_Rails_WWW\rails_apps\footballstars>mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
2007 Apr 09
2
Errno::EACCES in Controller / Permission denied
Hello,
I did a seemingly smooth install of ferret, but when I try to add it to
my model, I get an error.
My info:
My rails site: shelikes (a restaurant review site)
My controller: Display
My model: Review
My only line of code added for ferret is:
class Review < ActiveRecord::Base
acts_as_ferret
...( more stuff not related )...
end
Below is the error information. Any thoughts on how
2007 Mar 28
1
attachment_fu & update_attributes... bug?
It seems that attachment_fu is a pretty popular plugin (it''s great), but
I''ve been having a terrible time trying to figure out an issue when
using "update_attributes". I''m storing files on the file system rather
than in a database.
It seems that when "update_attributes" is called with a new file,
upload_data= tries to copy a file that
2006 Sep 06
2
how to loop through 2 lists with different indexes
Dear all,
I am a newbie in R and need some help please. (I do apologise if my
email is not as informative as it should be, I've tried to include
the relevant details without overcrowding it with the rest of the code)
I would like to sample (without replacement) Y objects based on the
number of objects in X in 5 different bins. I'm having trouble
because the list object in which
2006 Dec 03
1
File Upload Unix Only?
I tried the upload feature in merb 0.0.7 using http://localhost:4000/files
I get the following:
Permission denied - D:/Temp/Merb.5172.0 or
E:/Dev/Ruby/merb-0.0.7/examples/sample_app/dist/public/files/foobar.jpg
- (Errno::EACCES) C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `rename''
C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `mv''
C:/Ruby/lib/ruby/1.8/fileutils.rb:1379:in
2011 Jul 11
0
stuck with permissions in using FileUtils
Even if I am using PaperClip & Delayed_job, I guess the issue maybe
solved by FileUtisl gurus ...
here is the case :
I am testing a delayed video format transcoding , transcoding works
perfectly but I get an issue -trying to write back the transcoded
video from a tmp directory into the PaperClip path
the original uploaded video file is stored into the :url => "/system/
2007 Jun 18
2
"No such file or directory - script" Error on Model.rebuild
Hi,
Having recently converted to using ferret_server on my staging site my
deployment is now failing due to the following error when attempting to
rebuild the indexes on my models:
from (irb):1>> Post.rebuild_index
Errno::ENOENT: No such file or directory - script
from (druby://127.2.0.1:9100)
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir''
from (druby://127.2.0.1:9100)
2006 Jun 05
1
file_column permissions
this is getting frustrating...
i installed file_column without a hitch for the first time to just play
around with. using the exact same steps as before, i try to use it with
one of my actual applications, and i get "permission denied" errors. i
figure there might be some conflict with my application so just for
kicks i do the exact same thing i did the first time to test
2011 Jan 13
1
10.04 Ubuntu
Hi, Chauk-Mean and all -
I have just ported everything to 10.04 ubuntu, and I am pleased to note that
I was able to use prepackaged stuff almost everywhere.
Yes, it was painful before I figured it out. :)
I used apt-get to install ruby-1.8.7, all the wx libraries (including the
dev header packages)
I uninstalled the debian rubygems package completely and installed
rubygems-1.4.1 from the
2009 Nov 02
0
testing Rake tasks with FakeFS
Jake Benilov wrote:
> Hello Ben,
>
Hi Jake,
I hope you don''t mind but I am copying this response to the rspec-users
list in case any one else is able to shed more light on it.
> I have a bit of a newbie question regarding fakefs; I want to test Rake
> tasks using fakefs and rspec:
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> require
2017 Jul 07
0
Community Meeting 2017-07-05 Minutes
Hi all,
The meeting minutes and logs for the community meeting held on
Wednesday are available at the links below. [1][2][3][4]
We had a good showing this meeting. Thank you everyone who attended
this meeting.
Our next meeting will be on 19th July. Everyone is welcome to attend.
The meeting note pad is available at [5] to add your topics for
discussion.
Thanks,
Kaushal
[1]: Minutes:
2008 Jan 30
3
Not all mongrel starting (Errno:EEXIST)
I''m playing with the mongrel clustering, and am having a problem getting 2
mongrels to start up reliably.
This should be a pretty simple cluster, with just 2 instances running. My
mongrel config (mongrel_cluster.yml) looks like:
cwd: /deployment/installed/myapp/current
log_file: log/mongrel.log
port: "8000"
environment: production
address: 127.0.0.1
pid_file:
2006 May 25
0
[ win32utils-Feature Requests-2811 ] Add UNC support to file / dir
Feature Requests item #2811, was opened at 2005-11-10 08:17
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=2811&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: graham foster (fosterg2)
Assigned to: Nobody (None)
Summary: Add UNC support to file / dir
Initial Comment:
I''d like to see win32
2006 Jan 14
0
File_column fails with uppercase extentions
I think this might be a Mac OS X only bug. Mac OS X stores filenames
case sensitively but compares filenames without case sensitivity.
same file:
script/../config/../public/document/thumbnail/tmp/1137259310.479525.806/barcelona.JPG
and
script/../config/../public/document/thumbnail/tmp/1137259310.479525.806/barcelona.jpg
/usr/lib/ruby/1.8/fileutils.rb:846:in `fu_each_src_dest''
2005 Nov 10
3
[ win32utils-Feature Requests-2811 ] Add UNC support to file / dir
Feature Requests item #2811, was opened at 2005-11-10 15:17
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=2811&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: graham foster (fosterg2)
Assigned to: Nobody (None)
Summary: Add UNC support to file / dir
Initial Comment:
I''d like to see win32
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the
instructions from hivelogic. I think I''ve found a bug with
EdgeRails, but I''m not sure how to submit it (and maybe I''m doing
something wrong and someone can just point me in the right
direction). Anyway I thought I''d report it just in case it is a bug.
I''ve downloaded
2005 Jul 19
0
CentOS-announce Digest, Vol 5, Issue 7
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When