Git Product home page Git Product logo

dsadmin's People

Contributors

kadoshita avatar remko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dsadmin's Issues

Error: unsupported value "entityValue"

I get an error when trying to view an entity from properties.js in the function valueToEditValue, as there is no handling for values of type "entityValue".

Changing sort with a namespace selected looses the namespace

When I select a namespace, i can see all the data in that namespace.
When I then click on the tableheader to change the order, the namespace resets back to the default namespace.

The /namespaces/namespaceID/ part in the url seems to be missing.
When I manually add this namespace part to the url, is see the expected data in the expected order.

I just noticed: The same issue seem to occur when clicking on the next/previous buttons or selecting a different rows per page.

Thank you for creating this great tool. This really is the best tool I found.

DSAdmin crashes when changing namespace from default

Hi! Thanks for making this killer application.

We're trying to use it with the datastore emulator at my company, but we're running into a problem when switching namespaces. The entire application simply crashes.

Let me know what information you need to debug this and I'll happily provide:)

Screenshot 2023-08-01 at 10 43 31

Keep getting Error: Could no load default credential

I'm sure this is something that I'm doing wrong but I'm having issues getting this to work. I was able to use docker-compose to start both the dsadmin and datastore services. I can view it running on the ui and make changes fine. When I start my web app in development it seems like it is still trying to reach out to the production datastore and not the emulator. I'm assuming that I'm not setting environment variables correctly, I set them to match what was in the docker-compose file. Any suggestions

Adding basepath

Is there any way you can add basepath support for reverse proxying? The script includes on the index.html are hardcoded to the root.

triggerUncaughtException while running command

Steps:

  1. Running command npx dsadmin --project=my-datastore-project --datastore-emulator-host=localhost:8081
  2. Project - https://github.com/oppia/oppia/
npx dsadmin --project=my-datastore-project --datastore-emulator-host=localhost:8081 
dsadmin (project my-datastore-project) listening on http://localhost:8080
node:internal/process/promises:227
          triggerUncaughtException(err, true /* fromPromise */);
          ^

Error: connect ECONNREFUSED 127.0.0.1:8081
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1139:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 8081,
  statusCode: 503,
  connectedSocket: false,
  reusedSocket: false
}
npm ERR! code 1
npm ERR! path /Desktop/opensource/oppia
npm ERR! command failed
npm ERR! command sh -c dsadmin "--project=my-datastore-project" "--datastore-emulator-host=localhost:8081"

npm ERR! A complete log of this run can be found in:
npm ERR!     /.npm/_logs/2021-12-17T02_11_46_504Z-debug.log

Chrom console log

api.js:17 POST http://localhost:8080/v1/projects/my-datastore-project:runQuery net::ERR_EMPTY_RESPONSE
Wu @ api.js:17
id @ api.js:30
(anonymous) @ api.js:65
P @ react-query.js:1050
E @ react-query.js:620
ww @ react-query.js:680
t.fetch @ react-query.js:1081
n.executeFetch @ react-query.js:2336
n.onSubscribe @ react-query.js:2189
t.subscribe @ react-query.js:34
(anonymous) @ react-query.js:2960
o5 @ index-3eae4d6e.js:276
t.unstable_runWithPriority @ index-3eae4d6e.js:14
ho @ index-3eae4d6e.js:136
Ri @ index-3eae4d6e.js:275
(anonymous) @ index-3eae4d6e.js:275
Fe @ index-3eae4d6e.js:12
I.port1.onmessage @ index-3eae4d6e.js:8
react-query.js:1107 TypeError: Failed to fetch
    at Wu (api.js:17)
    at id (api.js:30)
    at Object.queryFn (api.js:65)
    at Object.P [as fn] (react-query.js:1050)
    at E (react-query.js:620)
    at new ww (react-query.js:680)
    at e.t.fetch (react-query.js:1081)
    at t.n.executeFetch (react-query.js:2336)
    at t.n.onSubscribe (react-query.js:2189)
    at t.subscribe (react-query.js:34)
onError @ react-query.js:1107
f @ react-query.js:592
(anonymous) @ react-query.js:656
Promise.catch (async)
E @ react-query.js:640
ww @ react-query.js:680
t.fetch @ react-query.js:1081
n.executeFetch @ react-query.js:2336
n.onSubscribe @ react-query.js:2189
t.subscribe @ react-query.js:34
(anonymous) @ react-query.js:2960
o5 @ index-3eae4d6e.js:276
t.unstable_runWithPriority @ index-3eae4d6e.js:14
ho @ index-3eae4d6e.js:136
Ri @ index-3eae4d6e.js:275
(anonymous) @ index-3eae4d6e.js:275
Fe @ index-3eae4d6e.js:12
I.port1.onmessage @ index-3eae4d6e.js:8
api.js:17 POST http://localhost:8080/v1/projects/my-datastore-project:runQuery net::ERR_CONNECTION_REFUSED
Wu @ api.js:17
id @ api.js:30
(anonymous) @ api.js:50
P @ react-query.js:1050
E @ react-query.js:620
ww @ react-query.js:680
t.fetch @ react-query.js:1081
n.executeFetch @ react-query.js:2336
n.onSubscribe @ react-query.js:2189
t.subscribe @ react-query.js:34
(anonymous) @ react-query.js:2960
o5 @ index-3eae4d6e.js:276
t.unstable_runWithPriority @ index-3eae4d6e.js:14
ho @ index-3eae4d6e.js:136
Ri @ index-3eae4d6e.js:275
(anonymous) @ index-3eae4d6e.js:275
Fe @ index-3eae4d6e.js:12
I.port1.onmessage @ index-3eae4d6e.js:8
react-query.js:1107 TypeError: Failed to fetch
    at Wu (api.js:17)
    at id (api.js:30)
    at Object.queryFn (api.js:50)
    at Object.P [as fn] (react-query.js:1050)
    at E (react-query.js:620)
    at new ww (react-query.js:680)
    at e.t.fetch (react-query.js:1081)
    at t.n.executeFetch (react-query.js:2336)
    at t.n.onSubscribe (react-query.js:2189)
    at t.subscribe (react-query.js:34)
onError @ react-query.js:1107
f @ react-query.js:592
(anonymous) @ react-query.js:656
Promise.catch (async)
E @ react-query.js:640
ww @ react-query.js:680
t.fetch @ react-query.js:1081
n.executeFetch @ react-query.js:2336
n.onSubscribe @ react-query.js:2189
t.subscribe @ react-query.js:34
(anonymous) @ react-query.js:2960
o5 @ index-3eae4d6e.js:276
t.unstable_runWithPriority @ index-3eae4d6e.js:14
ho @ index-3eae4d6e.js:136
Ri @ index-3eae4d6e.js:275
(anonymous) @ index-3eae4d6e.js:275
Fe @ index-3eae4d6e.js:12
I.port1.onmessage @ index-3eae4d6e.js:8
:8080/favicon.ico:1 GET http://localhost:8080/favicon.ico net::ERR_CONNECTION_REFUSED

Screenshot 2021-12-17 at 07 46 44

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.