Title: org.lmdbjava.LmdbNativeException$ConstantDerviedException: Platform constant error code: ENOENT (2) · Issue #62 · lmdbjava/lmdbjava · GitHub
Open Graph Title: org.lmdbjava.LmdbNativeException$ConstantDerviedException: Platform constant error code: ENOENT (2) · Issue #62 · lmdbjava/lmdbjava
X Title: org.lmdbjava.LmdbNativeException$ConstantDerviedException: Platform constant error code: ENOENT (2) · Issue #62 · lmdbjava/lmdbjava
Description: I have the following code: public boolean init(Properties prop) { boolean fail = false; String csEnvironmentStr = prop.getProperty("csEnvironment"); env = create() // LMDB also needs to know how large our DB might be. Over-estimating is ...
Open Graph Description: I have the following code: public boolean init(Properties prop) { boolean fail = false; String csEnvironmentStr = prop.getProperty("csEnvironment"); env = create() // LMDB also needs to know how la...
X Description: I have the following code: public boolean init(Properties prop) { boolean fail = false; String csEnvironmentStr = prop.getProperty("csEnvironment"); env = create() // LMDB also needs to k...
Opengraph URL: https://github.com/lmdbjava/lmdbjava/issues/62
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"org.lmdbjava.LmdbNativeException$ConstantDerviedException: Platform constant error code: ENOENT (2)","articleBody":"I have the following code:\r\n\r\n \tpublic boolean init(Properties prop) {\r\n\t\tboolean fail = false;\r\n\t\tString csEnvironmentStr = prop.getProperty(\"csEnvironment\");\r\n\t\tenv = create()\r\n\t // LMDB also needs to know how large our DB might be. Over-estimating is OK.\r\n\t .setMapSize(53687091200l)\r\n\t // LMDB also needs to know how many DBs (Dbi) we want to store in this Env.\r\n\t .setMaxDbs(4)\r\n\t // Now let's open the Env. The same path can be concurrently opened and\r\n\t // used in different processes, but do not open the same path twice in\r\n\t // the same process at the same time.\r\n\t .open(new File(csEnvironmentStr+\"/csdb\"));\r\n ...\r\n\r\nI get this exception, the last line above is line 91 indicated below:\r\n\r\n org.lmdbjava.LmdbNativeException$ConstantDerviedException: Platform constant error code: ENOENT (2)\r\n\tat org.lmdbjava.ResultCodeMapper.checkRc(ResultCodeMapper.java:113)\r\n\tat org.lmdbjava.Env$Builder.open(Env.java:458)\r\n\tat org.lmdbjava.Env$Builder.open(Env.java:474)\r\n\tat uk.co.example.LmDbStore.init(LmDbStore.java:91)\r\n\r\nAs you can see this code is lifted from the Tutorial example. The path specified does exist. Ideas?","author":{"url":"https://github.com/davidwynter","@type":"Person","name":"davidwynter"},"datePublished":"2017-08-14T10:19:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/62/lmdbjava/issues/62"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8db2acec-a548-7f49-1e9b-6fc8d24229a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E26:1B1EBD:26A106F:33AD8BE:69706AA7 |
| html-safe-nonce | 29be4912d6b4685a5640e2524bfca252a0164e83cba041c15973979213974b6e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTI2OjFCMUVCRDoyNkExMDZGOjMzQUQ4QkU6Njk3MDZBQTciLCJ2aXNpdG9yX2lkIjoiMjkwODk1ODMzNDYyMDAzNTc1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5d02826a1a413726dc97da80c14af58bcbeecb815d05270b4d7f41f4ed2394d1 |
| hovercard-subject-tag | issue:249989846 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lmdbjava/lmdbjava/62/issue_layout |
| twitter:image | https://opengraph.githubassets.com/62fb940eea76219ccbb1212c3bd8e3aa4874ddf689705fd9947272a79fd427cc/lmdbjava/lmdbjava/issues/62 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62fb940eea76219ccbb1212c3bd8e3aa4874ddf689705fd9947272a79fd427cc/lmdbjava/lmdbjava/issues/62 |
| og:image:alt | I have the following code: public boolean init(Properties prop) { boolean fail = false; String csEnvironmentStr = prop.getProperty("csEnvironment"); env = create() // LMDB also needs to know how la... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidwynter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/lmdbjava/lmdbjava git https://github.com/lmdbjava/lmdbjava.git |
| octolytics-dimension-user_id | 19765602 |
| octolytics-dimension-user_login | lmdbjava |
| octolytics-dimension-repository_id | 60480511 |
| octolytics-dimension-repository_nwo | lmdbjava/lmdbjava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 60480511 |
| octolytics-dimension-repository_network_root_nwo | lmdbjava/lmdbjava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width