Upload problems

Jul 31, 2012 at 23:19

Now I have a more serious issue. I'm getting errors while importing valid (coforming to v. 2.1 of the schema) XML descriptions. Why is it so? Shouldn't it be appropriately constrained in the schema?

Moreover, some of the messages are not really understandable. What is 'The corresponding value for "und"', why "Some fields did not validate" and what is "Model Size with pk 807"?

-----

The following files could not be imported:205.xml: (u"Could not import <audioFormatInfoType>! ('mimeType': This field cannot be blank.)",)306.xml: (u'Could not import <organizationInfoType>! (\'organizationName\': The corresponding value for "und" must be at most 100 characters long (was 136).)',)307.xml: (u'Could not import <organizationInfoType>! (\'organizationName\': The corresponding value for "und" must be at most 100 characters long (was 136).)',)308.xml: (u'Could not import <organizationInfoType>! (\'organizationName\': The corresponding value for "und" must be at most 100 characters long (was 136).)',)309.xml: (u'Could not import <organizationInfoType>! (\'organizationName\': The corresponding value for "und" must be at most 100 characters long (was 136).)',)311.xml: (u'Could not import <organizationInfoType>! (\'organizationName\': The corresponding value for "und" must be at most 100 characters long (was 136).)',)312.xml: (u'Could not import <organizationInfoType>! (\'organizationName\': The corresponding value for "und" must be at most 100 characters long (was 136).)',)416.xml: (u"Could not import <communicationInfoType>! ('email': This field cannot be blank.)",)417.xml: (u"Could not import <communicationInfoType>! ('email': This field cannot be blank.)",)423.xml: (u"Could not import <languageDescriptionEncodingInfoType>! ('theoreticModel': Some fields did not validate.)",)425.xml: (u"Could not import <personInfoType>! ('position': Ensure this value has at most 100 characters (it has 102).)",)507.xml: (u"Could not import <creationInfoType>! ('creationModeDetails': Ensure this value has at most 200 characters (it has 340).)",)509.xml: (u"Could not import <validationInfoType>! ('sizePerValidation': Model Size with pk 807 does not exist.)",)-----

BTW, it also seems that e-mail notification when someone replies did not work in my previous case. But I will be getting back here.

Tags:

Discussion 3 answers

  • avatar
    Answer by dmavroeidis on Aug 01, 2012 at 08:28

    Can you provide us with the XML files that cause this behaviour so that we can reproduce the errors?

    What version of META-SHARE are you running?

  • avatar
    Answer by Maciej Ogrodniczuk on Aug 01, 2012 at 08:40

    I already sent the 3 files causing most problems to helpdesk-technical@meta-share.eu. Do you have them?

  • avatar
    Answer by cspurk on Aug 20, 2012 at 08:24

    The problem could be solved on the mailing list. Here are some general explanations for future reference:

    > I'm getting errors while importing valid (conforming to v. 2.1 of the> schema) XML descriptions to META-SHARE 2.1.2. Why is it so? Shouldn't it be> appropriately constrained in the schema?Yes, you are right. This has now been fixed in the development version of META-SHARE. The XML Schema has been changed accordingly.The fix will be contained in the next major META-SHARE release v3.0 which will be published around mid-September. In a few days we plan to publish a beta version (v2.9-beta) for this major release. If you like, you can then help us to make sure that everything is working as expected for your resources.> Moreover, some of the messages are not really understandable. What is 'The> corresponding value for "und"',I agree, this is not very user-friendly. It just says that some string value for a field carrying the language code “und” is too long. For example, “organizationName” can occur multiple times for different languages. You have specified it at least once – for the language code “und” – and that value is too long.> why "Some fields did not validate"As above, I agree, this is not user-friendly. In this case the problem is a length-restriction, too.> and what> is "Model Size with pk 807"?This was a bug which has been fixed in the META-SHARE development version. The error should not occur again.

  • This question is closed and can't have new answers