question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'NoneType' object has no attribute 'EC_GROUP_new_by_curve_name'

See original GitHub issue

He,

just installed petlib and now trying to create a new EcGroup instance the following exception occurs. Any recommendations to make it work?

Python 2.7.10 (default, Oct 23 2015, 19:19:21) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import petlib
>>> from petlib.ec import EcGroup
Support not loading the library to build docs without compiling.
>>> G = EcGroup()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/sebastian/Developer/.envs/pet/lib/python2.7/site-packages/petlib/ec.py", line 62, in __init__
    self.ecg = _C.EC_GROUP_new_by_curve_name(nid)
AttributeError: 'NoneType' object has no attribute 'EC_GROUP_new_by_curve_name'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gdaneziscommented, Jan 18, 2017

I now received a contribution from Panos Louridas, patching building for OSX. Would you like to try again installing petlib from the repository?

0reactions
gdaneziscommented, Jan 26, 2017

Awesome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I get AttributeError: 'NoneType' object has no attribute ...
I keep getting an error that says AttributeError: 'NoneType' object has no attribute 'something'.
Read more >
AttributeError: 'NoneType' object has no attribute ... - GitHub
i am running into the same issue "'NoneType' object has no attribute '_free_weak_ref'" while training yolov5 model on custom data. Any update on ......
Read more >
'NoneType' object has no attribute 'GetLayer' geoPDF
AttributeError: 'NoneType' object has no attribute 'GetLayer'. As I understand the above error it means that the proj variable is empty.
Read more >
AttributeError: 'NoneType' object has no attribute 'parents'
Thread.run(self) AttributeError: 'NoneType' object has no attribute 'parents' Additional info: addons: com_redhat_kdump cmdline: ...
Read more >
AttributeError: 'NoneType' object has no attribute 'AsValueString
Trying to create a simple script but getting this error. Don't understand why because i can clearly see the value in it. “AttributeError: ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found