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

Y25-006 - [BUG] Exception JSON::GeneratorError occurred in qc_files#create #2141

Open
3 tasks
harrietc52 opened this issue Jan 7, 2025 · 0 comments
Open
3 tasks
Labels
Bug Bug in code

Comments

@harrietc52
Copy link
Contributor

harrietc52 commented Jan 7, 2025

Describe the bug
There is a repeated exception for Limber (prod):

[Psd-exceptions] [Limber PRODUCTION] qc_files#create (JSON::GeneratorError) "source sequence is illegal/malformed utf-8"

A JSON::GeneratorError occurred in qc_files#create:

  source sequence is illegal/malformed utf-8
  app/sequencescape/sequencescape/api/v2/qc_file.rb:13:in `create_for_labware!'

Acceptance Criteria

  • Identify the root cause
  • Finding and applying a solution
  • Document progress + summary in the issue comments

Additional context

  • URL : https://limber.psd.sanger.ac.uk/limber_plates/d4861f2e-b2f4-11ef-8fbd-0242e38ee9b0/qc_files
  • HTTP Method: POST
  • IP address : 172.30.0.198
  • Parameters : {"authenticity_token"=>"[FILTERED]", "qc_file"=>#<ActionDispatch::Http::UploadedFile:0x00007f8075be1728 @tempfile=#Tempfile:/tmp/RackMultipart20241212-3092218-ybjkti.csv, @content_type="text/csv", @original_filename="HiC_Batch 103_PCR XP_Norm_12_12_24.csv", @headers="Content-Disposition: form-data; name="qc_file"; filename="HiC_Batch 103_PCR XP_Norm_12_12_24.csv"\r\nContent-Type: text/csv\r\n">, "controller"=>"qc_files", "action"=>"create", "limber_plate_id"=>"d4861f2e-b2f4-11ef-8fbd-0242e38ee9b0"}
  • Timestamp : 2024-12-12 13:34:30 +0000
  • Server : limb-prod-jammy
    • Rails root : /var/www/limber/releases/20241212130543
  • Process: 3092218
@harrietc52 harrietc52 added the Bug Bug in code label Jan 7, 2025
@psd-issuer psd-issuer bot changed the title [BUG] Exception JSON::GeneratorError occurred in qc_files#create Y25-006 - [BUG] Exception JSON::GeneratorError occurred in qc_files#create Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug in code
Projects
None yet
Development

No branches or pull requests

1 participant