René's URL Explorer Experiment


Title: The casjobs query results involving bigint column produce errors. · Issue #10 · sciserver/SciScript-Python · GitHub

Open Graph Title: The casjobs query results involving bigint column produce errors. · Issue #10 · sciserver/SciScript-Python

X Title: The casjobs query results involving bigint column produce errors. · Issue #10 · sciserver/SciScript-Python

Description: Hi, When trying to query the skyserver/casjobs I can do it without issues if I don't ask for the specobjid column in a query , but if I add it, I'm getting a bunch of errors. The simple code (based on the example) is given below import S...

Open Graph Description: Hi, When trying to query the skyserver/casjobs I can do it without issues if I don't ask for the specobjid column in a query , but if I add it, I'm getting a bunch of errors. The simple code (based...

X Description: Hi, When trying to query the skyserver/casjobs I can do it without issues if I don't ask for the specobjid column in a query , but if I add it, I'm getting a bunch of errors. The simple cod...

Opengraph URL: https://github.com/sciserver/SciScript-Python/issues/10

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The casjobs query results involving bigint column produce errors. ","articleBody":"Hi,\r\n\r\nWhen trying to query the skyserver/casjobs I can do it without issues if I don't ask for the specobjid column in a query , but if I add it, I'm getting a bunch of errors. \r\n\r\nThe simple  code  (based on the example) is given below\r\n```python\r\nimport SciServer\r\nfrom SciServer import Authentication, LoginPortal, Config, CasJobs, SkyQuery, SciDrive, SkyServer, Files, Jobs\r\nimport os\r\nimport pandas\r\nimport sys\r\nimport json\r\nfrom io import StringIO\r\nfrom io import BytesIO\r\n#from PIL import Image                                                                                                                                                   \r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n\r\nAuthentication_loginName = '**'  #CHANGE ME \r\nAuthentication_loginPassword = '**'\r\n\r\ntoken1 = LoginPortal.login(Authentication_loginName,\r\n                           Authentication_loginPassword)\r\n\r\ncasJobsId = CasJobs.getSchemaName()\r\nprint(casJobsId)\r\nQuery = ' select top 10 ra,dec from specphotoall'  # this works                                                                                                          \r\nQuery = ' select top 10 ra,dec,plate from specphotoall'  # this works                                                                                                    \r\nQuery = ' select top 10 ra,dec,specobjid from specphotoall'  #this doesn't                                                                                               \r\ndf = CasJobs.executeQuery(sql=Query, context='DR16', format=\"fits\")\r\n\r\nfd = open('xx.fits', 'wb')\r\nfd.write(df.read())\r\nfd.close()\r\n```\r\n\r\nThe error is\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/urllib3/response.py\", line 685, in _update_chunk_length\r\n    self.chunk_left = int(line, 16)\r\nValueError: invalid literal for int() with base 16: b''\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/urllib3/response.py\", line 425, in _error_catcher\r\n    yield\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/urllib3/response.py\", line 752, in read_chunked\r\n    self._update_chunk_length()\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/urllib3/response.py\", line 689, in _update_chunk_length\r\n    raise httplib.IncompleteRead(line)\r\nhttp.client.IncompleteRead: IncompleteRead(0 bytes read)\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/requests/models.py\", line 751, in generate\r\n    for chunk in self.raw.stream(chunk_size, decode_content=True):\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/urllib3/response.py\", line 560, in stream\r\n    for line in self.read_chunked(amt, decode_content=decode_content):\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/urllib3/response.py\", line 781, in read_chunked\r\n    self._original_response.close()\r\n  File \"/home/koposov/python36/lib/python3.6/contextlib.py\", line 99, in __exit__\r\n    self.gen.throw(type, value, traceback)\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/urllib3/response.py\", line 443, in _error_catcher\r\n    raise ProtocolError(\"Connection broken: %r\" % e, e)\r\nurllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"doit.py\", line 23, in \u003cmodule\u003e\r\n    df = CasJobs.executeQuery(sql=Query, context='DR16', format=\"fits\")\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/SciServer-2.0.13-py3.6.egg/SciServer/CasJobs.py\", line 171, in executeQuery\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/requests/models.py\", line 829, in content\r\n    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''\r\n  File \"/home/koposov/pyenv36/lib/python3.6/site-packages/requests/models.py\", line 754, in generate\r\n    raise ChunkedEncodingError(e)\r\nrequests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))\r\n```\r\nBackground info. I'm using sciserver-2.0.13 and python 3.6.10 on linux. \r\n\r\nThanks \r\n      Sergey","author":{"url":"https://github.com/segasai","@type":"Person","name":"segasai"},"datePublished":"2020-03-25T18:12:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10/SciScript-Python/issues/10"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b15032b8-5365-53bb-d61a-85d795b850f3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE5C6:2AE970:2543B24:31CBCC8:696F0098
html-safe-noncedc22f8b7c3a688c9a3ab0ac3d13ddf2c9413d1e5e116d53120b0980cd46ef0ea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUM2OjJBRTk3MDoyNTQzQjI0OjMxQ0JDQzg6Njk2RjAwOTgiLCJ2aXNpdG9yX2lkIjoiMzQ5ODc1Mzg0MzY4NTk0OTU5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5a6b35bb7842c060a74de9079220e423cf56eb55b83d2f8a52b8c3ae540d245a
hovercard-subject-tagissue:587892357
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sciserver/SciScript-Python/10/issue_layout
twitter:imagehttps://opengraph.githubassets.com/527312ad91cbca2fef64059f9c34753719f121db94f14090b0664e3d6fbd9fea/sciserver/SciScript-Python/issues/10
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/527312ad91cbca2fef64059f9c34753719f121db94f14090b0664e3d6fbd9fea/sciserver/SciScript-Python/issues/10
og:image:altHi, When trying to query the skyserver/casjobs I can do it without issues if I don't ask for the specobjid column in a query , but if I add it, I'm getting a bunch of errors. The simple code (based...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesegasai
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-preview
go-importgithub.com/sciserver/SciScript-Python git https://github.com/sciserver/SciScript-Python.git
octolytics-dimension-user_id15526376
octolytics-dimension-user_loginsciserver
octolytics-dimension-repository_id50931595
octolytics-dimension-repository_nwosciserver/SciScript-Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id50931595
octolytics-dimension-repository_network_root_nwosciserver/SciScript-Python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/sciserver/SciScript-Python/issues/10#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsciserver%2FSciScript-Python%2Fissues%2F10
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsciserver%2FSciScript-Python%2Fissues%2F10
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=sciserver%2FSciScript-Python
Reloadhttps://patch-diff.githubusercontent.com/sciserver/SciScript-Python/issues/10
Reloadhttps://patch-diff.githubusercontent.com/sciserver/SciScript-Python/issues/10
Reloadhttps://patch-diff.githubusercontent.com/sciserver/SciScript-Python/issues/10
sciserver https://patch-diff.githubusercontent.com/sciserver
SciScript-Pythonhttps://patch-diff.githubusercontent.com/sciserver/SciScript-Python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fsciserver%2FSciScript-Python
Fork 21 https://patch-diff.githubusercontent.com/login?return_to=%2Fsciserver%2FSciScript-Python
Star 40 https://patch-diff.githubusercontent.com/login?return_to=%2Fsciserver%2FSciScript-Python
Code https://patch-diff.githubusercontent.com/sciserver/SciScript-Python
Issues 7 https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/issues
Pull requests 3 https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/pulls
Actions https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/actions
Projects 0 https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/projects
Wiki https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/security
Please reload this pagehttps://patch-diff.githubusercontent.com/sciserver/SciScript-Python/issues/10
Insights https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/pulse
Code https://patch-diff.githubusercontent.com/sciserver/SciScript-Python
Issues https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/issues
Pull requests https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/pulls
Actions https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/actions
Projects https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/projects
Wiki https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/wiki
Security https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/security
Insights https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/sciserver/SciScript-Python/issues/10
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/sciserver/SciScript-Python/issues/10
The casjobs query results involving bigint column produce errors. https://patch-diff.githubusercontent.com/sciserver/SciScript-Python/issues/10#top
https://github.com/segasai
https://github.com/segasai
segasaihttps://github.com/segasai
on Mar 25, 2020https://github.com/sciserver/SciScript-Python/issues/10#issue-587892357
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.