Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#29822 - [pypy] Does not run
Attached to Project:
Community Packages
Opened by Felix Yan (felixonmars) - Wednesday, 09 May 2012, 22:04 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 11 May 2012, 22:44 GMT
Opened by Felix Yan (felixonmars) - Wednesday, 09 May 2012, 22:04 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 11 May 2012, 22:44 GMT
|
DetailsDescription:
I am getting this when run /usr/bin/pypy: $ pypy 'import site' failed Python 2.7.2 (2346207d99463f299f09f3e151c9d5fa9158f71b, May 09 2012, 13:41:18) [PyPy 1.8.0 with GCC 4.7.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. debug: OperationError: debug: operror-type: AttributeError debug: operror-value: 'module' object has no attribute 'warn' I tried the package in repo and a self-compiled one (from ABS PKGBUILD), both results in the same. Additional info: * package version(s) $ yaourt -Q pypy community/pypy 1.8-1 |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 11 May 2012, 22:44 GMT
Reason for closing: None
Additional comments about closing: Seems to work now.
Friday, 11 May 2012, 22:44 GMT
Reason for closing: None
Additional comments about closing: Seems to work now.
pypy /opt/pypy/lib-python/2.7/site-packages/
pypy /opt/pypy/lib-python/2.7/site-packages/README
pypy /opt/pypy/lib-python/2.7/site.py
pypy /opt/pypy/lib-python/2.7/test/test_site.py
pypy /opt/pypy/lib-python/modified-2.7/site.py
pypy /opt/pypy/lib-python/modified-2.7/test/test_site.py
also pacman -Q pypy makes you look like you know what you are doing
pacman -Syu pypy works fine for me
I've checked all of files above, they are all there.
and pacman -Q pypy shows
pypy 1.8-1
too :)
It's libreoffice who set my $PYTHONPATH to ":/usr/lib/libreoffice/program:/usr/lib/libreoffice/program".
after an unset pypy works well.
Should this be a bug report to libreoffice's or the pypy package?
$ cat /etc/profile.d/libreoffice-common.sh
export PYTHONPATH="$PYTHONPATH:/usr/lib/libreoffice/program"
$ pacman -Qo /etc/profile.d/libreoffice-common.sh
/etc/profile.d/libreoffice-common.sh is owned by libreoffice-common 3.5.2-1
Thanks, I'll be careful next time.