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

sqlite3.ProgrammingError: Recursive use of cursors not allowed #131

Open
2424004764 opened this issue Jul 6, 2023 · 8 comments
Open

sqlite3.ProgrammingError: Recursive use of cursors not allowed #131

2424004764 opened this issue Jul 6, 2023 · 8 comments

Comments

@2424004764
Copy link

image

@parholmdahl
Copy link

I have the same issue..

@parholmdahl
Copy link

Feels like this repo is left alone?

Can anyone do a release of the fix for this issue?

@2424004764
Copy link
Author

@parholmdahl Hello, have you resolved your problem

@muatik
Copy link
Owner

muatik commented Jul 10, 2023

Hey @2424004764 if you can prepare a pr, I can take care of it.

@2424004764
Copy link
Author

@muatik Hello, what documents do I need to prepare for you?

@muatik
Copy link
Owner

muatik commented Jul 11, 2023

@2424004764 you can prepare a pr and explain the change in the commit messages, this should be enough.

@2424004764
Copy link
Author

@muatik Sorry, I don't know how to resolve this error yet

@ZhenningLang
Copy link

ZhenningLang commented Jul 27, 2023

Step 1. modify the config, change sqlite to sqlalchemy based sqlite

    "storage": {
        "engine": "sqlalchemy",
        "db_url": "sqlite:///profile.db"
    }

Step 2. modify sql_alchemy.py:254 to

#  rows = [datetime.utcfromtimestamp(row[0]).strftime(dateFormat) for row in rows]
rows = [datetime.utcfromtimestamp(int(row[0])).strftime(dateFormat) for row in rows]

(To fix another problem)

Then the profiler could run well.

However, some exceptions still occur, but they could be ignored.

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

No branches or pull requests

4 participants