Hi Steven, glad to hear that the fix worked. Yes, you will have to modify
the code inside of the virtual environment. From the path you posted, it
looks like you cloned the repository and then made a modification in there,
but that doesn't actually have anything to do with your app--the only thin
Hello Adam, thanks for posting your reply. On the second go around the
original code block you suggested was successfully able to delete media.
Was the difference that I modified the arches3/arches/app/models/models.py
file directly instead of the virtual environment version? I know the
develop
Hi Stephan, I'm glad to hear you were able to find a workaround. However,
it's very similar to the solution I posted above, so I'm curious to hear if
you had tried that but were still finding trouble. Where I used instance.
val.storage, instance.val.name (as per the recommendation of the
stack
Here is an update on a work around that we have found to work for this
problem but has not proven to be a long term solution.
We have traced the error to the auto_delete_file_on_delete function within
the arches models.py file. There are two event listeners that are called by
django when a medi
Hi Andy, I'm not sure what's going on, because the behavior definitely
should have changed if you modified that models.py file. Maybe it would be
worth throwing a print statement in that function and then running the
development server just to make sure that the correct functions are being
called?
Still no luck. I made the changes reinstalled and restarted apache and end
up with the exact same error message.
On Wednesday, November 4, 2015 at 11:39:32 AM UTC-8, Andy Graham wrote:
>
> Currently still using the Django development server and we work through
> some issues, but will try it out
Currently still using the Django development server and we work through
some issues, but will try it out on apache soon and let you know. Thanks.
On Wednesday, November 4, 2015 at 6:24:12 AM UTC-8, Adam Cox wrote:
>
> Did you restart apache?
>
> On Tuesday, November 3, 2015 at 10:29:29 AM UTC-6,
Did you restart apache?
On Tuesday, November 3, 2015 at 10:29:29 AM UTC-6, Andy Graham wrote:
>
> Posted a response earlier but it appears to have been deleted, not sure
> why.
>
> Thanks much for the suggestion Adam, however, I am still having the same
> issue. I have made the changes below bu
Posted a response earlier but it appears to have been deleted, not sure why.
Thanks much for the suggestion Adam, however, I am still having the same
issue. I have made the changes below but when I try and delete the media
nothing happens. The error I am getting via the developer tools is belo
Hi Adam,
Thanks for taking the time to work through this. I have made the changes
you suggested but am still getting the same error. I wonder if something
is failing before it even gets to this point? The error I am getting is
below:
k.cors.a.crossdomain.s...@jquery.js:8623n.extend.a...@jque
Thanks for posting on the forum about this... I added the S3 bucket info to
the documentation, but didn't think to test deleting files from it. After
trying it out a little bit ago, I got the same result as you did. What is
happening is that the db resource is deleted, but Django hits an error
*Hi Andy, somehow my earlier post got deleted--must have hit the wrong
button or something. So I'm reposting it below...*
Thanks for posting on the forum about this... I added the S3 bucket info to
the documentation, but didn't think to test deleting files from it. After
trying it out a littl
Hi Andy, thanks for posting on the forum about this... I added the S3
bucket info to the documentation, but didn't think to test deleting files
from it. After trying it out a little bit ago, I got the same result as
you did. What is happening is that the db resource is deleted, but Django
hit
13 matches
Mail list logo