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

[WIP] Roadtools #2940

Closed
wants to merge 2 commits into from
Closed

[WIP] Roadtools #2940

wants to merge 2 commits into from

Conversation

noraj
Copy link
Contributor

@noraj noraj commented Dec 6, 2020

close #2885

Still having this error while running

$ roadrecon -h
Package roadrecon-39.4929c9d-1-any.pkg.tar.zst installed correctly! Testing it now...                                                                                                                                                        
[root@blackarch /]# roadrecon -h                                                                                                                                                                                                             
Traceback (most recent call last):                                                                                                                                                                                                           
  File "/usr/bin/roadrecon", line 33, in <module>                                                                                                                                                                                            
    sys.exit(load_entry_point('roadrecon==0.9.0', 'console_scripts', 'roadrecon')())                                                                                                                                                         
  File "/usr/bin/roadrecon", line 25, in importlib_load_entry_point                                                                                                                                                                          
    return next(matches).load()                                                                                                                                                                                                              
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load                                                                                                                                                                          
    module = import_module(match.group('module'))                                                                                                                                                                                            
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module                                                                                                                                                                
    return _bootstrap._gcd_import(name[level:], package, level)                                                                                                                                                                              
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import                                                                                                                                                                            
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load                                                                                                                                                                         
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked                                                                                                                                                                 
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed                                                                                                                                                               
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import                                                                                                                                                                            
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load                                                                                                                                                                         
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked                                                                                                                                                                 
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed                                                                                                                                                               
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import                                                                                                                                                                            
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load                                                                                                                                                                         
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked                                                                                                                                                                 
ModuleNotFoundError: No module named 'roadtools'

@noraj noraj self-assigned this Dec 6, 2020
@noraj
Copy link
Contributor Author

noraj commented Dec 6, 2020

@noptrix need help to finish this one

@Edu4rdSHL Edu4rdSHL marked this pull request as draft March 11, 2021 05:13
@pwnfoo pwnfoo mentioned this pull request Jul 20, 2021
@Prijey

This comment was marked as spam.

@D3vil0p3r
Copy link
Contributor

There is something wrong somewhere... On /usr/lib/python-3.1x/site-packages/roadxxx I don't see the libs... just egg-info. It's normal it cannot identify roadtools lib... it does not actually exist. Same for other roadxxx

@D3vil0p3r
Copy link
Contributor

D3vil0p3r commented Oct 4, 2024

Investigated the issue. I tested roadlib directly from source: the setup.py install libs in /usr/lib/python3.12/site-packages/roadlib-0.27.0-py3.12.egg/roadtools/roadlib/. It is wrong. The setup must create two separated:

/usr/lib/python3.12/site-packages/roadlib-0.27.0-py3.12.egg
/usr/lib/python3.12/site-packages/roadlib/ or /usr/lib/python3.12/site-packages/roadtools/roadlib/

In the upstream manner the PKGBUILD does not create the roadtools/roadlib/subfolder.

Opened an issue upstream: dirkjanm/ROADtools#104

@D3vil0p3r
Copy link
Contributor

To not bother you, I created a new PR with fixed PKGBUILD: #4366

@D3vil0p3r
Copy link
Contributor

To not bother you, I created a new PR with fixed PKGBUILD: #4366

The mentioned PR has been merged. Can you close the current one and also #2885 ?

@noptrix noptrix closed this Nov 24, 2024
@noptrix noptrix deleted the ROADtools branch November 24, 2024 00:37
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

Successfully merging this pull request may close these issues.

[Tool Request] ROADtools
4 participants