Code Monkey home page Code Monkey logo

Comments (6)

clausnagel avatar clausnagel commented on July 18, 2024

Go to "Preferences -> General -> Logging" and choose DEBUG as log level for the console. Afterwards, try and connect to the database again. The console window should then contain a stack trace of the connection error.

from importer-exporter.

9lovingly avatar 9lovingly commented on July 18, 2024

Thanks @clausnagel ,I try it,and the error followed as:
Check the following stack trace for details:
java.sql.SQLException: Failed to retrieve version information from the 3D City Database instance.
at org.citydb.database.adapter.postgis.UtilAdapter.getCityDBVersion(Unknown Source)
at org.citydb.database.adapter.AbstractUtilAdapter.getDatabaseInfo(Unknown Source)
at org.citydb.database.DatabaseConnectionPool.connect(Unknown Source)
at org.citydb.database.DatabaseControllerImpl.connect(Unknown Source)
at org.citydb.modules.database.gui.view.DatabasePanel.connect(Unknown Source)
at org.citydb.modules.database.gui.view.DatabasePanel$6$1.run(Unknown Source)
Caused by: org.postgresql.util.PSQLException: 错误: 模式 "citydb_pkg" 不存在
位置:15
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2476)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2189)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:300)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:428)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:354)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:301)
at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:287)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:264)
at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114)
at com.sun.proxy.$Proxy44.executeQuery(Unknown Source)
... 6 more

from importer-exporter.

clausnagel avatar clausnagel commented on July 18, 2024

It seems your 3DCityDB database instance is not set up correctly. At least the function citydb_version() in the schema citydb_pkg cannot be correctly executed. Have you followed the steps in the manual when setting up the 3DCityDB?

from importer-exporter.

9lovingly avatar 9lovingly commented on July 18, 2024

Thanks,you are so nice.I didn't find the manual,could you give me the manual url?Thanks a lot.

from importer-exporter.

clausnagel avatar clausnagel commented on July 18, 2024

Check the Documentation folder in the 3DCityDB repository https://github.com/3dcitydb/3dcitydb

from importer-exporter.

clausnagel avatar clausnagel commented on July 18, 2024

Seems like this has been solved, so closing this issue.

from importer-exporter.

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.