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

Import Error: .../WPG/wpg/srwlpy.so: undefined symbol: PyString_AsString #5

Open
samoylv opened this issue Jul 27, 2016 · 2 comments
Open

Comments

@samoylv
Copy link
Collaborator

samoylv commented Jul 27, 2016

when Example 14 is running with afs server installation

@samoylv
Copy link
Collaborator Author

samoylv commented Jul 27, 2016

maybe caused by using gedit: after saving the modified python file, with python 2.7 it also started to complain on usage of Unicode instead of char on lines like
srwl.ResizeElecField(wfr,'f',...)
using str('f') helps

@samoylv
Copy link
Collaborator Author

samoylv commented Jul 31, 2016

not really. it looks like something 'unsicher' with the new lines:
main branch from afs installation latest/ generates no import errors

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

No branches or pull requests

1 participant