-
Notifications
You must be signed in to change notification settings - Fork 40
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
module discovery is slightly broken on Windows #142
Comments
I don't understand much of what's going on in there, my python fu is weak, but I believe the error is related to replacing the dir separator
results in Pyscripter interactive interpreter:
Note printed path differs from stored path:
|
Basically I try to import a module by path using the If the filename is b:/code/acrylamid\acrylamid\views\search__init_.py_, the module name is not My Windows-foo is still very limited, but I'll try to fix this as fast as possible. |
Pushed to master and legacy/0.6 (as version 0.6.7). If you want to test the search with the provided command line: $ acrylamid compile --search
$ python misc/search.py blog/output/search/p.js python
exact match: [0, 2, 3, 133, 8, 14, 15, 16, 19, 20, 22 ... ]
partial match: [19, 85, 158, 58, 39, 22, 23] |
Many thanks Martin! I confirm that with 0.6.7 the search files are created:
However
I found it in on the master branch, and can confirm that that does work on my system:
|
https://github.com/posativ/acrylamid/blob/master/acrylamid/helpers.py#L411 may not return the Acrylamid module but rather (if any) something else. This only applies to modules in a subdirectory (like the search view).
The text was updated successfully, but these errors were encountered: