Forums : Technical Issue Help

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

no recognizable code from netmon

netmon code is not parsed by ohloh. Is this because of no file extension?

Cedric Girard over 12 years ago
 

Cedric,

The line counting software should recognize that as Python but there's always a possibility of a bug. If you like, look at https://github.com/blackducksw/ohcount (it's mainly in Ruby) and see if we missed something important in our Python recognition routines. Ordinarily we don't need to rely on an extension but that code may not have been updated for years and slip-ups do happen. In the meantime I'll point management to the issue and hopefully one of you or them will take up the case.

Thanks!

ssnow-blackduck over 12 years ago
 

Looks like #!/usr/bin/env python is an unrecognized modeline.
I have created a test project with 3 python files containing 3 different modelines and a one line hello world.

Only 2 files are recognized. I guess these are the one with #!/usr/bin/python and #!/usr/bin/python2.

Cedric Girard over 12 years ago
 

Cedric,

I like the detective work! I'll pass that on to the developers to assist them in their quest. Pity you don't know Ruby since all pull requests cheerfully accepted!

P.S. The /usr/bin/env python is recommended practice and I'm surprised we don't accept it...

Thanks!

ssnow-blackduck over 12 years ago
 

I do know Ruby but I don't have time currently to get into the code. Sorry.

Cedric Girard over 12 years ago
 

Cedric,

Just a friendly nudge from your local Noodge! No commitment. I'll suggest they consider adding it to all languages where it works.

Thanks!

ssnow-blackduck over 12 years ago