-
Notifications
You must be signed in to change notification settings - Fork 110
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
Parser Issue. #2
Comments
Can you provide some details about your OS? If you're able to run an Ubuntu VM, you can use the following script to do all the installation and setup for you: https://gist.github.com/williballenthin/c14c4f960e25b8ab1cff Otherwise, I can try to help ensure you have the environment setup correctly. |
Hello, Thanks for getting back to me so quick. I'm running a, sort of, custom build of Debian Linux 8.2 (Jessie). Any thoughts on that? All the best, Liam P. Callaghan
|
Ok, then there's a good chance that the script should work. I'd recommend copy/pasting the commands into a terminal one by one and ensuring they all complete successfully. Things to watch out for:
|
FreePatriot, did you get this resolved? @williballenthin - I am having the same error as FreePatriot. I'm running Ubuntu 14.04 x64, with Python 2.7.6. I have used the script you posted above, and am browsing to /home/user/flare-wmi/python-cim, then running: sudo python cim.py win7 /path/to/wbem Precise error is: Traceback (most recent call last): Lines 10 and 11 of cim.py: from .common import h What should I amend these to in order for this to work for me? Cheers! A |
@BannersSecret cim.py is not a standalone script, and it's code is not meant to be run outside of a package. What happens if you run:
|
Thanks for coming back to me so quickly. When I run that, I get:
The 'wbem' folder contains all the files extracted from that folder on the suspect machine. Have I done that right.....? Thanks again for your help. |
Ok, great. If you're getting this error, that means the package is at least installed correctly. That's the good news. The new error is a different issue. I'm going to migrate this question to a new issue since to separate the questions and answers provided here on GitHub. Here's the new issue: #5 |
So I'm getting some issues with the application when I try to run it. After installation and setup, I browse to the folder where "cim.py" is held. After putting in:
I'm getting the error "ValueError: Attempted relative import in non-package"
So, I try python 3. Same command as above, except i use python3 instead. Then I get the error "ImportError: No module named 'funcy'". After reviewing the code of the parser, it looks like there is, in fact, a module named 'funcy'. Any thoughts as to how to get it working? Thanks!
The text was updated successfully, but these errors were encountered: