Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import failed: Error: failed to find work ID 1042481 #42

Closed
dvirtz opened this issue Jan 1, 2025 · 1 comment · Fixed by #44
Closed

Import failed: Error: failed to find work ID 1042481 #42

dvirtz opened this issue Jan 1, 2025 · 1 comment · Fixed by #44
Assignees
Labels

Comments

@dvirtz
Copy link
Owner

dvirtz commented Jan 1, 2025

There is a valid response

{
  "errorCode": 0,
  "errorDescription": "לא נמצאו שגיאות שירות רץ בהצלחה",
  "data": {
    "type": "org.acum.site.searchdb.dto.response.GetWorkInfoResponse",
    "work": {
      "type": "org.acum.site.searchdb.dto.bean.WorkBean",
      "fullWorkId": "1042481",
      "work_id": "042481",
      "workNumber": "042481",
      "workLanguage": "1",
      "versionNumber": "",
      "searchTitleIsForeign": false,
      "workHebName": "התמהוני",
      "workEngName": "התמהוני",
      "workIsForeign": false,
      "workNameIsForeign": false,
      "pool": "1",
      "registration_date": "",
      "publication_date": "",
      "workAlbums": {
        "type": "org.acum.site.searchdb.dto.bean.SubSummaryBean",
        "total": "2"
      },
      "performer": {
        "type": "org.acum.site.searchdb.dto.bean.PerformerBean",
        "number": "1106",
        "performerHebName": "זילבר אריאל",
        "performerEngName": "SILBER ARIEL",
        "searchTitleIsForeign": false,
        "performerNameIsForeign": false,
        "performerNameIsHebrew": false
      },
      "composersAndAuthors": [
        {
          "type": "org.acum.site.searchdb.dto.bean.CreatorBean",
          "creatorHebName": "KLAUS HEUSER (BRD 1)",
          "creatorEngName": "KLAUS HEUSER (BRD 1)",
          "creatorIpBaseNumber": "I-001376874-4",
          "creatorIsZky": false,
          "creatorNameIsForeign": true,
          "creatorNameIsHebrew": false
        },
        {
          "type": "org.acum.site.searchdb.dto.bean.CreatorBean",
          "creatorHebName": "WOLFGANG NIEDECKEN",
          "creatorEngName": "WOLFGANG NIEDECKEN",
          "creatorIpBaseNumber": "I-001407454-3",
          "creatorIsZky": false,
          "creatorNameIsForeign": true,
          "creatorNameIsHebrew": false
        }
      ],
      "translators": [
        {
          "type": "org.acum.site.searchdb.dto.bean.CreatorBean",
          "creatorHebName": "אבי לוינשטיין",
          "creatorEngName": "AVI LOWENSTEIN",
          "creatorIpBaseNumber": "A-000911523-0",
          "creatorIsZky": false,
          "creatorNameIsForeign": false,
          "creatorNameIsHebrew": false
        }
      ],
      "creators": [
        {
          "type": "org.acum.site.searchdb.dto.bean.CreatorFullBean",
          "number": "00084723266",
          "creatorHebName": "KLAUS HEUSER (BRD 1)",
          "creatorEngName": "KLAUS HEUSER (BRD 1)",
          "creatorIpBaseNumber": "I-001376874-4",
          "creatorIsZky": false,
          "creatorNameIsForeign": true,
          "creatorNameIsHebrew": false,
          "roleCode": "CA",
          "protectionStatus": "1",
          "declareDate": 0
        },
        {
          "type": "org.acum.site.searchdb.dto.bean.CreatorFullBean",
          "number": "00079170654",
          "creatorHebName": "WOLFGANG NIEDECKEN",
          "creatorEngName": "WOLFGANG NIEDECKEN",
          "creatorIpBaseNumber": "I-001407454-3",
          "creatorIsZky": false,
          "creatorNameIsForeign": true,
          "creatorNameIsHebrew": false,
          "roleCode": "CA",
          "protectionStatus": "1",
          "declareDate": 0
        },
        {
          "type": "org.acum.site.searchdb.dto.bean.CreatorFullBean",
          "number": "PI091152300",
          "creatorHebName": "אבי לוינשטיין",
          "creatorEngName": "AVI LOWENSTEIN",
          "creatorIpBaseNumber": "A-000911523-0",
          "creatorIsZky": false,
          "creatorNameIsForeign": false,
          "creatorNameIsHebrew": false,
          "roleCode": "AT",
          "protectionStatus": "2",
          "declareDate": 0
        }
      ],
      "time": "00:00",
      "original": {
        "type": "org.acum.site.searchdb.dto.bean.TranslatedOriginalVersionBean",
        "id": "2035275001",
        "workHebName": "",
        "workEngName": "",
        "workIsForeign": true,
        "workNameIsForeign": true,
        "workId": "2035275",
        "versionId": "2035275001",
        "pool": "2",
        "workType": "0",
        "translatedPool": "1",
        "translatedWork_Id": "042481",
        "translatedVersion_Id": "035275001"
      },
      "isWork": "0",
      "isVersion": "1",
      "isMedley": "0",
      "isTranslated": "1",
      "translatedVersionIsForeign": true,
      "youtubeId": "",
      "rightsPercent": "100",
      "workId": "1042481",
      "versionId": "2035275001",
      "versionEssenceType": "30",
      "versionIswcNumber": "",
      "versionIsrcNumber": "",
      "workType": "T",
      "userOwnWork": false,
      "notDPCreatorCount": "3",
      "creatorCount": "3",
      "versionIsExcludeed": "0",
      "workTranslatedId": "1042481",
      "workTranslatedHebName": "התמהוני",
      "workTranslatedEngName": "התמהוני",
      "dpCreatorCount": "0",
      "notAcumRepesentedCreatorCount": "1",
      "acumRepesentedCreatorCount": "2"
    },
    "workAlbumsCount": 2,
    "workAlbums": [
      {
        "type": "org.acum.site.searchdb.dto.bean.AlbumBean",
        "number": "001573",
        "title": "החברה להגנת הטבע",
        "tracks_count": "6",
        "time": "22:47",
        "medias": "4",
        "performer": {
          "type": "org.acum.site.searchdb.dto.bean.PerformerBean",
          "number": "1106",
          "performerHebName": "זילבר אריאל",
          "performerEngName": "SILBER ARIEL",
          "searchTitleIsForeign": false,
          "performerNameIsForeign": false,
          "performerNameIsHebrew": false
        },
        "userOwnAlbum": false
      },
      {
        "type": "org.acum.site.searchdb.dto.bean.AlbumBean",
        "number": "001583",
        "title": "הלהיטים הגדולים של אריאל זילבר",
        "tracks_count": "11",
        "time": "48:05",
        "medias": "5",
        "performer": {
          "type": "org.acum.site.searchdb.dto.bean.PerformerBean",
          "number": "1106",
          "performerHebName": "זילבר אריאל",
          "performerEngName": "SILBER ARIEL",
          "searchTitleIsForeign": false,
          "performerNameIsForeign": false,
          "performerNameIsHebrew": false
        },
        "userOwnAlbum": false
      }
    ]
  }
}
@dvirtz dvirtz self-assigned this Jan 2, 2025
dvirtz added a commit that referenced this issue Jan 2, 2025
dvirtz added a commit that referenced this issue Jan 2, 2025
@dvirtz dvirtz closed this as completed in #44 Jan 6, 2025
@dvirtz dvirtz closed this as completed in 08ec232 Jan 6, 2025
dvirtz-semantic-release bot pushed a commit that referenced this issue Jan 6, 2025
## [@dvirtz/acum-work-import-v1.6.2](https://github.com/dvirtz/musicbrainz-scripts/compare/@dvirtz/acum-work-import-v1.6.1...@dvirtz/acum-work-import-v1.6.2) (2025-01-06)

### Bug Fixes

* use work when there's no versions ([08ec232](08ec232)), closes [#42](#42)
Copy link

github-actions bot commented Jan 6, 2025

🎉 This issue has been resolved in version 1.6.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant