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

Bad traceback #10

Closed
Blissbill opened this issue Jun 5, 2024 · 6 comments
Closed

Bad traceback #10

Blissbill opened this issue Jun 5, 2024 · 6 comments

Comments

@Blissbill
Copy link

Hi
I am using your package in my django project. When importing from geoip2fast import GeoIP2Fast you set sys.tracebacklimit = 0, which causes errors in some djnago calls. For example, the debug page stops displaying. This causes discomfort. Could you please fix it? I'm using a temporary solution of sys.tracebacklimit = None after importing your package, but it seems too dirty.

@rabuchaim
Copy link
Owner

Hi Blissbill!

Thank you for your comment.. I will remove this line from the next versions, it is unnecessary.

@Blissbill
Copy link
Author

Thanks for the quick response
Can you tell me when to expect the next version?

@rabuchaim
Copy link
Owner

Well... maybe this week. Last week I added some new things to the code and I'm going to remove this line and test everything properly.

I was working on a new file structure (#8) that takes up much less memory, but I lost all the code... I had my laptops and backup hard drives stolen, I had I had to rewrite a lot of codes for my work and I was quite busy and didn't update GeoIP2Fast as I would have liked.

There are new things that I want to launch in the next few days... I also made a version that accepts MMDB files and I'm thinking about how to launch... maybe a "GeoIP2Fast for MMDB". And I also made the GeoIP2Fast Server that accepts dat.gz and any MMDB file (displays latitude and longitude). It was really cool, fast and very stable (0.0001 + Network Latency), with rate limit, DoS protection, and completely customizable. I'm testing it thoroughly to be able to release it. Here's a preview of it.

01-abuchaim-2024-06-05 15_11_10

02-abuchaim-2024-06-05 15_29_46

03-abuchaim-2024-06-05 15_20_56

04-abuchaim-2024-06-05 15_24_15

@Blissbill
Copy link
Author

It's really sad that stuff was stolen. Your work looks really cool. Looking forward to the next release.

@rabuchaim
Copy link
Owner

@Blissbill

Sorry for the delay, the new version is now available with the removal of the sys.tracebacklimit line.

https://pypi.org/project/geoip2fast/1.2.2/

Please let me know if there are any problems.

-- Ricardo

@rabuchaim
Copy link
Owner

rabuchaim commented Jun 21, 2024

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

2 participants