494 questions
Score of 0
0 answers
46 views
Migratiom from paperclip to carrierwave - uploading attachment to amazon S3
my rails application attachments were on paperclip after migration to carrierwave i want to keep old attachments uploaded to amazon S3 so i tried attachments urls be in this format:
"https://...
Score of 1
1 answer
109 views
How to authorize access to images uploaded to S3 by users?
Imagine the app with the ability to upload files by users. Only the author (the person who uploaded this file) and the author's friends should be able to see this uploaded file.
I am using "...
Score of 1
1 answer
100 views
How do I dynamically choose fog provider when interacting with the storage?
I have a simple rails model which contains an image. The images are currently stored at AWS S3, but I need to move them to to Backblaze. I have an uploader class which looks like this too:
class ...
Score of 0
1 answer
546 views
Unity 2021.3.20 Built-in ShaderGraph 12.1.10 Fog Density inverted in linear fog and showing wrong fog colors on far objects
Unity Shader Graph Fog node shows density inverted when using Linear Fog. Also not properly showing the color of the fog on far objects.
Score of -1
1 answer
403 views
Carrierwave cache_stored_file! does not fetch the file in the cache
I am migrating from Carrierwave 1.3.X to 2.2.X and I am running into trouble here and there. One of the snippets that fail for me is this:
def files
signable_template.signable_documents.map do |sd|
...
Score of 1
0 answers
268 views
Unity URP fog works on scene objects but not loaded assetbundles - why?
I'm using Unity 2021.3.15 LTS with URP, and I'm having trouble with fog. When I create an object in my scene and turn fog on using the Environment tab of the Lighting window, the fog effect works fine....
Score of 1
1 answer
1619 views
Terrain long distance object draw blue tint / fog Unity
I have a basic 1000x1000 Terrain inside a very basic scene (almost empty) but the rendering for long distance is providing like a blue tint or like some fog :
The Terrain settings :
I tried increase ...
Score of 1
1 answer
960 views
CarrierWave: Cannot insert legacy ACL for an object when uniform bucket-level access is enabled
Uploading file to google cloud bucket was working fine when we had "Fine-grained" access. Later it is changed to "uniform bucket-level access". Now upload operations are failing ...
Score of 0
1 answer
665 views
how to test carrierwave fog google in rspec with setting up the configuration
I have below configuration and I wanted to write TC for it in ruby. I am new to ruby and wanted to understand how we can set the configuration of Fog to point to mock and use it in test-case.
class ...
Score of 0
1 answer
244 views
uploading large file on google cloud bucket failing
I am uploading a large file from my local system or an remote_url to google bucket. However everytime I am getting the below error.
/usr/local/lib/ruby/3.0.0/openssl/buffering.rb:345:in `syswrite': ...
Score of 0
1 answer
556 views
Monterey OSX. `const_defined?': uninitialized constant Fog::Rackspace::CDN (NameError)
I have recently upgraded my OS. from Big sur to Montery.
When I was running my ruby application I am getting an error with careerwave
.rvm/gems/ruby-2.3.1/gems/fog-core-2.3.0/lib/fog/core/provider.rb:...
Score of 0
0 answers
938 views
Net::SFTP::StatusException (5, "bad message") While Sending Chunks Of A Large File:
Short Version:
Sending files from S3 in more than one chunk to SFTP server fails with a Net::SFTP::StatusException (5, "bad message") error.
Long Version:
I'm trying to send a large file ...
Score of 2
0 answers
440 views
Carrierwave uploading file using fog to google cloud storage without making bucket public and control access fine-grained in rails
Is there a way i can upload files while keeping bucket private and access control uniform?
as i am trying to use carrierwave with fog for this purpose and followed carrierwave gem instructions but i ...
Score of 1
2 answers
505 views
I need to define 3 kinds of messages in omnet
I want to define 3 kinds of messages in omnet
I know I have to use messagekind but I couldnt
please help me
I want help message, control message and jobs, which jobs should be processed
thank you so ...
Score of 1
0 answers
151 views
Using an existing image on s3 with Carrierwave?
I'm trying to use existing images on my s3 and relate them to a carrierwave object. These images are stored in a different location from the store_dir of my uploader.
I currently have my migration ...