Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TelegramParser : "no such table: users" #2295

Open
aberenguel opened this issue Aug 16, 2024 · 1 comment
Open

TelegramParser : "no such table: users" #2295

aberenguel opened this issue Aug 16, 2024 · 1 comment
Labels

Comments

@aberenguel
Copy link
Contributor

Using master branch processing an UFDR file generated by PA 10.3:

org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: users)
	at org.sqlite.core.DB.newSQLException(DB.java:1012)
	at org.sqlite.core.DB.newSQLException(DB.java:1024)
	at org.sqlite.core.DB.throwex(DB.java:989)
	at org.sqlite.core.NativeDB.prepare_utf8(Native Method)
	at org.sqlite.core.NativeDB.prepare(NativeDB.java:134)
	at org.sqlite.core.DB.prepare(DB.java:257)
	at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:45)
	at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:30)
	at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:25)
	at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:35)
	at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:241)
	at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:205)
	at iped.parsers.util.DelegatingConnection.prepareStatement(DelegatingConnection.java:196)
	at iped.parsers.telegram.Extractor.extractContacts(Extractor.java:471)
	at iped.parsers.telegram.TelegramParser.parseTelegramDBAndroid(TelegramParser.java:138)
	at iped.parsers.telegram.TelegramParser.parse(TelegramParser.java:480)
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
	at iped.parsers.standard.StandardParser.parse(StandardParser.java:245)
	at iped.engine.io.ParsingReader$BackgroundParsing.run(ParsingReader.java:247)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
@aberenguel
Copy link
Contributor Author

Just checked. The "cache4.db" file has no table.
In such case the file has 4096 bytes. When I created a simple table, the file increased to 8192 bytes.
The file size could be checked before start the parsing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants