I understand the work around, but has this error in Aches v3 been fixed by 
anyone on the forum? It would be helpful to have it working properly.

On Thursday, January 28, 2016 at 3:24:12 AM UTC+2, Joel Aldor wrote:
>
> I was able to replicate this error as well. But I have also found another 
> reason for this one.
>
> You can successfully save an information resource by FIRST uploading a 
> file on the "File Upload" tab. Once saved, you can successfully save the 
> rest of the information entered on the other tabs, starting with "Resource 
> Summary". However if you filled out the "Resource Summary" first (or any 
> other tab, for that matter), before uploading a file or entering the 
> description, you then get that TypeError.
>
> It seems that the creation of a record for INFORMATION_RESOURCE.E73 
> follows the creation used for "Images and Files" on a historic resource, 
> where every file upload there is already saved as an information resource. 
> I would usually fill out the rest of the information for all the file 
> uploads later on the Information Resource forms.
>
>
> On Wednesday, October 28, 2015 at 12:44:35 AM UTC+8, Adam Cox wrote:
>>
>> Michael, glad you were able to do some sleuthing to figure this out.  I 
>> remember now that we have this as an issue on BitBucket, 
>> https://bitbucket.org/arches/arches3/issues/282/entering-format-type-on-information,
>>  
>> so at least it is documented for now.  Feel free to make a BitBucket 
>> account and begin to log any other bugs like this that you come across.
>>
>> If I recall correctly, things are fine if you indicate a format type 
>> after you have uploaded the file.  There's just some function that runs on 
>> the upload file page that doesn't like having a format type present. 
>>
>> Adam
>>
>> On Tue, Oct 27, 2015 at 11:37 AM, Michael Miller <201mi...@gmail.com> 
>> wrote:
>>
>>> I have since found that I get this error when I indicate a FORMAT TYPE.  
>>> If there is nothing indicated, all works as expected.
>>>
>>>
>>> On Tuesday, October 27, 2015 at 10:01:34 AM UTC-5, Michael Miller wrote:
>>>>
>>>> I have successfully added an information resource from the Resource 
>>>> Manager but when I go to upload a file, I immediately get this error:
>>>>
>>>>
>>>>
>>>>
>>>> Request Method:     GET
>>>> Request URL:     
>>>> http://###.###/resources/INFORMATION_RESOURCE.E73/file-upload/2ecd304d-e30d-45f3-a87e-7e35a940899c
>>>> Django Version:     1.6.2
>>>> Exception Type:     TypeError
>>>> Exception Value:     
>>>>
>>>> 'Entity' object has no attribute '__getitem__'
>>>>
>>>> Exception Location:     
>>>> /local/Projects/ENV/lib/python2.7/site-packages/arches_hip/models/forms.py 
>>>> in is_image, line 859
>>>>
>>>> Any thoughts?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
>>> send email to archesprojec...@googlegroups.com. For more information, 
>>> visit https://groups.google.com/d/forum/archesproject?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Arches Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to archesprojec...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to