Displaying 16 results from an estimated 16 matches for "temp_paths".
Did you mean:
temp_path
2009 Feb 17
1
cloning an already uploaded image using attachment_fu
Hi,
I have an Image model that is attached to a item. The image was uploaded
through attachment_fu. Now, I want to reuse the same image for a new
item. I tried several tips found online. For example in
http://danieloshea.com/articles/254-cloning-images
# Create a clone of an image and it''s thumbnails.
def create_clone
c = self.clone
self.thumbnails.each do
2007 Jun 29
1
attachment_fu validation error
...lename'' for
#<Logo:0x3561ed8>
from ./script/../config/../config/../vendor/rails/
activerecord/lib/active_record/base.rb:1860:in `method_missing''
from ./script/../config/../config/../vendor/plugins/
attachment_fu/lib/technoweenie/attachment_fu.rb:276:in `temp_paths''
from ./script/../config/../config/../vendor/plugins/
attachment_fu/lib/technoweenie/attachment_fu.rb:270:in `temp_path''
from ./script/../config/../config/../vendor/plugins/
attachment_fu/lib/technoweenie/attachment_fu.rb:236:in
`save_attachment?''...
2006 Jul 21
1
setting image resolution with Rmagick
Hi
Has anyone had success with setting image resolution with Rmagick.
I am resizing an uploaded image with Rmagick, problem is it keeps the
original images resolution and I want to change it to 72dpi.
<<<<<< code example >>>>>>>>>>
# these are the various techniques I have tried when and after reading
the file, trying any or all of them does
2009 Jul 24
1
Attachment_fu - watermark tmp file before saved to S3
Hi there,
I''d like to use RMagick to watermark an image in the tmp directory
before Attachment_fu saves it to Amazon S3.
I took a look at the callbacks available in attachment_fu. There''s an
''after_attachment_saved'' method but this would be too late, and a
''before_thumbnail_saved'' but this is no good because it''s for
thumbnails.
I
2007 Dec 13
4
Attachment_fu problems on updates
...lugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb:21:in
`join''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb:21:in
`full_filename''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:281:in
`temp_paths''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:275:in
`temp_path''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:241:in
`save_attachment?''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:344:in
`set_size_from_temp_path'&...
2007 Mar 28
1
attachment_fu & update_attributes... bug?
....rb:23:in
`returning''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:152:in
`copy_to_temp_file''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:288:in
`copy_to_temp_file''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:265:in
`temp_paths''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:272:in
`temp_path=''
vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:250:in
`uploaded_data=''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1672:in
`attributes='...
2007 Aug 22
8
How to spec an attachment_fu model
First off, I''m not trying to spec attachment_fu, I know it''s been tested.
But, I added some code to that model that I do need to test. Basically,
I need to somehow fulfill the "uploaded_data" property so I can actually
run my tests(otherwise they fail because of validations). The
"uploaded_data" field is what would grab the multipart data from form.
Here
2010 Oct 05
2
Feature request for maildir style boxes
greetings,
i'd like to ask for a certain feature request.
dovecot:maildir_uidlist_recreate() to set the gid of new files based on
the parent directory group ownership and normally that's desired, an
appropriate security method. on our server, we use directory
permissions to more stringently isolate access between users and
services. we have three group ids used for this, and i'll
2008 Sep 15
1
[attachment_fu] Allways triggering after_attachment_saved callback
Hi,
I use attachment_fu in one of my apps and recently I''ve realized that
udpates are taking too much time. After some debugging I''ve found that
attachment_fu is calling after_attachment_saved callback no mather if
attachemnt has changed or not.
For example this code:
after_attachment_saved do |photo|
logger.info "after_attachment_saved"
end
# in console - always
2010 Jul 11
0
Attachement_fu error when updating existing photos
...gins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb:23:in
`join''
/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb:23:in
`full_filename''
/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:369:in
`temp_paths''
/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:354:in
`uploaded_data=''
My ruby code:
<% form_for(@photo) do |f| %>
<%= f.error_messages %>
<%= image_tag(@photo.public_filename, :BORDER=>0) %>
<p>
<label for="upload&...
2009 Dec 14
2
4 crashes, dovecot 1.2.8, with backtrace
Program terminated with signal 6
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was
2009 Oct 15
2
FS Quota broken for delivering BIG message
Hi everybody.
I have Linux file system quota for users and enabled "fs quota" and quota
plugin for LDA. My test user is already deep over quoted:
---
Filesystem blocks quota limit
nfse:/export 23768* 10240 10240
---
1. If I tries to deliver _short_ message to user mbox - quota works:
$ echo "123123123123" | /usr/local/libexec/dovecot/deliver -d koc
---
Quota
2007 Mar 11
4
Faking it... import local files into attachment_fu
Hello,
I''m working on an import utility that will match the functionality of
uploading an object of a model that uses attachment_fu for
thumbnailing, etc.
Rather than uploading the file via a form, I want to populate the
params[:image][:uploaded_data] with data from a file already on the
server''s file system.
So far, I''ve been able to copy to an instance of Tempfile
2018 Feb 23
2
Assertion during dsync receive
Hi,
I'm getting an assertion failed on the receiving side, causing syncs to fail for one user. The servers are setup so that
only one is receiving any traffic other than replication at any time. The one that's only receiving replications is the
one that's failing.
I've tried deleting the user's home on the receiving server, but it still crashes during the sync. Oddly, the
2017 Aug 16
1
dotlock causing crashes
OS: CentOS 7 x86_64
Dovecot version: 2.2.31 (65cde28) (GhettoForge RPM)
Filesystem: GlusterFS, but working on changing that. Only one server is receiving activity.
Was getting messages about corrupt dovecot.map.index files. Changed to dotlock from fcntl to try to fix that.
Reading symbols from /usr/libexec/dovecot/imap...(no debugging symbols found)...done.
[New LWP 74012]
Core was generated by
2017 Jan 24
1
Quota count does not work with lock_method=dotlock
On 24.01.2017 11:31, Tom Sommer wrote:
> On 2017-01-24 10:25, Aki Tuomi wrote:
>> On 24.01.2017 11:13, Tom Sommer wrote:
>>> On 2017-01-18 15:27, mkliewe at gmx.de wrote:
>>>
>>>> dovecot crashes when I switch the quota tracking from dict to count.
>>>
>>> I have the same problem, but I use 'dict:file' as quota backend -
>>>