Coder Social home page Coder Social logo

Comments (6)

sosedoff avatar sosedoff commented on August 16, 2024

What pgweb version? Are you using docker image or running natively? Check the logs?

from pgweb.

YangLiuMZ avatar YangLiuMZ commented on August 16, 2024

什么pgweb版本?您是使用docker映像还是原生运行?检查日志?

The version I use is Pgweb v0.14.0, which runs natively on Windows and Mac. When exporting sql, errors will be reported, but other export methods can succeed. The log is: 'WARN [0257] http_ request duration=1.157375ms duration_ ms=1 method=GET path=/api/export remote_ addr=127.0.0.1 status=400'

from pgweb.

sosedoff avatar sosedoff commented on August 16, 2024

Hard to say what went wrong on your end, but you could try adding a debug flag --debug to further troubleshoot the code, let me know if that helps. I dont have access to a Windows machine, so have no idea if this specific error only appears on Windows.

from pgweb.

YangLiuMZ avatar YangLiuMZ commented on August 16, 2024

很难说您那边出了什么问题,但您可以尝试添加调试标志--debug以进一步排除代码故障,如果这有帮助,请告诉我。我无法访问Windows机器,所以不知道这个特定错误是否只出现在Windows上。

This problem also occurred when I installed pgweb on my Mac computer. I asked others to help me with the test, but it also made a mistake. Is this not a common problem? Or for pg_ Dump has other things to pay attention to, because debug also does not prompt valuable information.

from pgweb.

sosedoff avatar sosedoff commented on August 16, 2024

Ah right, the --debug flag is not very useful at the moment. I totally forgot about that by now.

Though, if pg_dump is the real culprit, you should be able to see something like this in the console?

ERRO[0011] pg_dump command failed                        error="error: exit status 1. output: pg_dump: error: no matching tables were found

^ Thats when you try to dump the table that does not exist.

from pgweb.

sosedoff avatar sosedoff commented on August 16, 2024

@YangLiuMZ im gonna close for now. If you have any specific instructions on how to reproduce - drop them in here and i'll try my best to address any issues, if there are any.

from pgweb.

Related Issues (20)

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.