| Summary: | app-portage/metagen-0.5.1 fails to import metagenerator | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ai Locke Shinseiko (Wizzleby) <Wizzleby> |
| Component: | Current packages | Assignee: | Jesus Rivero (RETIRED) <neurogeek> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | rion4ik |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | metagen-0.5.1-frommetagenimport.patch | ||
Created attachment 226525 [details, diff]
metagen-0.5.1-frommetagenimport.patch
instead of 'import metagenerator', 'from metagen import metagenerator'
Hi Wizzleby, Could you reinstall and retry? I can't reproduce this and its pretty weird that you get this error as site-packages/metagen should be the first dir in sys.path, therefore it should find metagenerator. I'm closing the bug, please re-open if you still get issues with this. Best regards and thanks for the report. i'm sure something wrong /usr/bin/metagen wrapper, since /usr/bin/metagen-2.6 works fine I've commented out this line in the wrapper script os.execv(python_interpreter_path, [python_interpreter_path] + sys.argv) and it started working |
when running metagen, traceback occurs: Traceback (most recent call last): File "/usr/bin/metagen-2.6", line 26, in <module> import metagenerator ImportError: No module named metagenerator