René's URL Explorer Experiment


Title: Error when accessing schema that already has ~log table but you don't have access to · Issue #379 · datajoint/datajoint-python · GitHub

Open Graph Title: Error when accessing schema that already has ~log table but you don't have access to · Issue #379 · datajoint/datajoint-python

X Title: Error when accessing schema that already has ~log table but you don't have access to · Issue #379 · datajoint/datajoint-python

Description: natexp = dj.create_virtual_module('scadena_natimexperiment', 'scadena_natimexperiment') --------------------------------------------------------------------------- OperationalError Traceback (most recent call last) /usr/local/lib/python3...

Open Graph Description: natexp = dj.create_virtual_module('scadena_natimexperiment', 'scadena_natimexperiment') --------------------------------------------------------------------------- OperationalError Traceback (most ...

X Description: natexp = dj.create_virtual_module('scadena_natimexperiment', 'scadena_natimexperiment') --------------------------------------------------------------------------- OperationalError ...

Opengraph URL: https://github.com/datajoint/datajoint-python/issues/379

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when accessing schema that already has ~log table but you don't have access to","articleBody":"```python\r\nnatexp = dj.create_virtual_module('scadena_natimexperiment', 'scadena_natimexperiment')\r\n```\r\n\r\n\r\n    ---------------------------------------------------------------------------\r\n\r\n    OperationalError                          Traceback (most recent call last)\r\n\r\n    /usr/local/lib/python3.5/dist-packages/datajoint/base_relation.py in insert(self, rows, replace, ignore_errors, skip_duplicates, ignore_extra_fields)\r\n        262                         placeholders=','.join('(' + ','.join(row['placeholders']) + ')' for row in rows)),\r\n    --\u003e 263                     args=list(itertools.chain.from_iterable((v for v in r['values'] if v is not None) for r in rows)))\r\n        264             except pymysql.err.OperationalError as err:\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/datajoint/connection.py in query(self, query, args, as_dict)\r\n        124                 warnings.simplefilter(\"ignore\")\r\n    --\u003e 125                 cur.execute(query, args)\r\n        126         except err.OperationalError as e:\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/pymysql/cursors.py in execute(self, query, args)\r\n        165 \r\n    --\u003e 166         result = self._query(query)\r\n        167         self._executed = query\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/pymysql/cursors.py in _query(self, q)\r\n        321         self._last_executed = q\r\n    --\u003e 322         conn.query(q)\r\n        323         self._do_get_result()\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/pymysql/connections.py in query(self, sql, unbuffered)\r\n        855         self._execute_command(COMMAND.COM_QUERY, sql)\r\n    --\u003e 856         self._affected_rows = self._read_query_result(unbuffered=unbuffered)\r\n        857         return self._affected_rows\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/pymysql/connections.py in _read_query_result(self, unbuffered)\r\n       1056             result = MySQLResult(self)\r\n    -\u003e 1057             result.read()\r\n       1058         self._result = result\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/pymysql/connections.py in read(self)\r\n       1339         try:\r\n    -\u003e 1340             first_packet = self.connection._read_packet()\r\n       1341 \r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/pymysql/connections.py in _read_packet(self, packet_type)\r\n       1013         packet = packet_type(buff, self.encoding)\r\n    -\u003e 1014         packet.check_error()\r\n       1015         return packet\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/pymysql/connections.py in check_error(self)\r\n        392             if DEBUG: print(\"errno =\", errno)\r\n    --\u003e 393             err.raise_mysql_exception(self._data)\r\n        394 \r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/pymysql/err.py in raise_mysql_exception(data)\r\n        106     errorclass = error_map.get(errno, InternalError)\r\n    --\u003e 107     raise errorclass(errno, errval)\r\n    \r\n\r\n    OperationalError: (1142, \"INSERT command denied to user 'ewang'@'10.21.17.251' for table '~log'\")\r\n\r\n    \r\n    During handling of the above exception, another exception occurred:\r\n\r\n\r\n    DataJointError                            Traceback (most recent call last)\r\n\r\n    \u003cipython-input-3-ad23ec27eb78\u003e in \u003cmodule\u003e()\r\n          4 detect = dj.create_virtual_module('detect', 'detect')\r\n          5 sort = dj.create_virtual_module('sort', 'sort')\r\n    ----\u003e 6 natexp = dj.create_virtual_module('scadena_natimexperiment', 'scadena_natimexperiment')\r\n          7 natimg = dj.create_virtual_module('scadena_synth_naturalimages', 'scadena_synth_naturalimages')\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/datajoint/__init__.py in create_virtual_module(modulename, dbname)\r\n         84     \"\"\"\r\n         85     mod = ModuleType(modulename)\r\n    ---\u003e 86     s = schema(dbname, mod.__dict__)\r\n         87     s.spawn_missing_classes()\r\n         88     mod.__dict__['schema'] = s\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/datajoint/schema.py in __init__(self, database, context, connection, create_tables)\r\n         71                 else:\r\n         72                     self.log('created')\r\n    ---\u003e 73         self.log('connect')\r\n         74         connection.register(self)\r\n         75 \r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/datajoint/base_relation.py in __call__(self, event)\r\n        581                 version=version + 'py',\r\n        582                 host=platform.uname().node,\r\n    --\u003e 583                 event=event), ignore_errors=True, ignore_extra_fields=True)\r\n        584         except pymysql.err.OperationalError:\r\n        585             logger.info('could not log event in table ~log')\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/datajoint/base_relation.py in insert1(self, row, **kwargs)\r\n        123         For kwargs, see insert()\r\n        124         \"\"\"\r\n    --\u003e 125         self.insert((row,), **kwargs)\r\n        126 \r\n        127     def insert(self, rows, replace=False, ignore_errors=False, skip_duplicates=False, ignore_extra_fields=False):\r\n\r\n\r\n    /usr/local/lib/python3.5/dist-packages/datajoint/base_relation.py in insert(self, rows, replace, ignore_errors, skip_duplicates, ignore_extra_fields)\r\n        264             except pymysql.err.OperationalError as err:\r\n        265                 if err.args[0] == server_error_codes['command denied']:\r\n    --\u003e 266                     raise DataJointError('Command denied:  %s' % err.args[1])\r\n        267                 else:\r\n        268                     raise\r\n\r\n\r\n    DataJointError: Command denied:  INSERT command denied to user 'ewang'@'10.21.17.251' for table '~log'\r\n\r\n","author":{"url":"https://github.com/mudphudwang","@type":"Person","name":"mudphudwang"},"datePublished":"2017-10-21T22:00:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/379/datajoint-python/issues/379"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:36885cad-83b5-6f6f-6427-c526ddc64527
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC822:AC7DC:1FF955:2EC3D9:6A4DFF78
html-safe-noncede5025b1b0712a59c2713aa1082a563e0dc5127758f8edf778d1dbf7b3499b37
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODIyOkFDN0RDOjFGRjk1NToyRUMzRDk6NkE0REZGNzgiLCJ2aXNpdG9yX2lkIjoiMjgxNTQyODQ5ODI3Njg3NjE1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac38f125f2e77fc81a00fcb99c48374a2e005cea7348d3a8e5e9ae7a6799320674
hovercard-subject-tagissue:267417493
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/datajoint/datajoint-python/379/issue_layout
twitter:imagehttps://opengraph.githubassets.com/25b5e3a99c42501f55d82ba373c3b953ac7aa9a506802511b8fe699711e18435/datajoint/datajoint-python/issues/379
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/25b5e3a99c42501f55d82ba373c3b953ac7aa9a506802511b8fe699711e18435/datajoint/datajoint-python/issues/379
og:image:altnatexp = dj.create_virtual_module('scadena_natimexperiment', 'scadena_natimexperiment') --------------------------------------------------------------------------- OperationalError Traceback (most ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemudphudwang
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-preview
go-importgithub.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git
octolytics-dimension-user_id2375501
octolytics-dimension-user_logindatajoint
octolytics-dimension-repository_id5866704
octolytics-dimension-repository_nwodatajoint/datajoint-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id5866704
octolytics-dimension-repository_network_root_nwodatajoint/datajoint-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
release52bde38e24398476f8eb1e0760c81346c6a00812
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/datajoint/datajoint-python/issues/379#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatajoint%2Fdatajoint-python%2Fissues%2F379
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatajoint%2Fdatajoint-python%2Fissues%2F379
Sign up https://github.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=datajoint%2Fdatajoint-python
Reloadhttps://github.com/datajoint/datajoint-python/issues/379
Reloadhttps://github.com/datajoint/datajoint-python/issues/379
Reloadhttps://github.com/datajoint/datajoint-python/issues/379
Please reload this pagehttps://github.com/datajoint/datajoint-python/issues/379
datajoint https://github.com/datajoint
datajoint-pythonhttps://github.com/datajoint/datajoint-python
Notifications https://github.com/login?return_to=%2Fdatajoint%2Fdatajoint-python
Fork 96 https://github.com/login?return_to=%2Fdatajoint%2Fdatajoint-python
Star 194 https://github.com/login?return_to=%2Fdatajoint%2Fdatajoint-python
Code https://github.com/datajoint/datajoint-python
Issues 7 https://github.com/datajoint/datajoint-python/issues
Pull requests 4 https://github.com/datajoint/datajoint-python/pulls
Discussions https://github.com/datajoint/datajoint-python/discussions
Actions https://github.com/datajoint/datajoint-python/actions
Security and quality 0 https://github.com/datajoint/datajoint-python/security
Insights https://github.com/datajoint/datajoint-python/pulse
Code https://github.com/datajoint/datajoint-python
Issues https://github.com/datajoint/datajoint-python/issues
Pull requests https://github.com/datajoint/datajoint-python/pulls
Discussions https://github.com/datajoint/datajoint-python/discussions
Actions https://github.com/datajoint/datajoint-python/actions
Security and quality https://github.com/datajoint/datajoint-python/security
Insights https://github.com/datajoint/datajoint-python/pulse
#417https://github.com/datajoint/datajoint-python/pull/417
Error when accessing schema that already has ~log table but you don't have access tohttps://github.com/datajoint/datajoint-python/issues/379#top
#417https://github.com/datajoint/datajoint-python/pull/417
https://github.com/eywalker
bugIndicates an unexpected problem or unintended behaviorhttps://github.com/datajoint/datajoint-python/issues?q=state%3Aopen%20label%3A%22bug%22
Release 0.10https://github.com/datajoint/datajoint-python/milestone/3
https://github.com/mudphudwang
mudphudwanghttps://github.com/mudphudwang
on Oct 21, 2017https://github.com/datajoint/datajoint-python/issues/379#issue-267417493
eywalkerhttps://github.com/eywalker
bugIndicates an unexpected problem or unintended behaviorhttps://github.com/datajoint/datajoint-python/issues?q=state%3Aopen%20label%3A%22bug%22
Release 0.10https://github.com/datajoint/datajoint-python/milestone/3
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.