Ticket #2 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

MemoryError in FreeBSD (Cairo issue?)

Reported by: Alexander Owned by: lgs
Priority: minor Milestone:
Component: component1 Version:
Keywords: Cc:

Description

Hello. I have two identical configurations -- Ubuntu Fiesty/Python 2.5/Cairo + python cairo bindings and FreeBSD 6.2/Python 2.5/Cairo + python cairo bindings. In linux: pycha-0.2.0/examples# python barchart.py succeeds, and in FreeBSD fails:

pycha-0.2.0/examples# python barchart.py
Traceback (most recent call last):
  File "barchart.py", line 63, in <module>
    barChart('v' + output, pycha.bar.VerticalBarChart)
  File "barchart.py", line 57, in barChart
    chart.render()
  File "build/bdist.freebsd-6.2-RELEASE-p1-i386/egg/pycha/chart.py", line 94, in render
  File "build/bdist.freebsd-6.2-RELEASE-p1-i386/egg/pycha/chart.py", line 330, in _renderAxis
  File "build/bdist.freebsd-6.2-RELEASE-p1-i386/egg/pycha/chart.py", line 321, in drawYLabel
MemoryError

:`(

Change History

follow-up: ↓ 8   Changed 4 years ago by lgs

  • owner changed from somebody to lgs
  • status changed from new to assigned

Are you using a 64 bits processor? I've seen some memory errors in Python 2.5 with 64 bits processors in other projects I work in.

If not, I'll try to give you a small test case to see if this is a (py)Cairo issue or not.

Thanks for reporting.

  Changed 4 years ago by anonymous

I have this problem too (on OS X, which is also BSD based), and I'm indeed on a 64-bit machine.

follow-up: ↓ 4   Changed 4 years ago by scott.benjamin@…

I am also getting this on OpenSolaris? 11 32bit.

in reply to: ↑ 3   Changed 4 years ago by anonymous

Replying to scott.benjamin@gmail.com:

I am also getting this on OpenSolaris? 11 32bit.

Also using Python 2.4.4

  Changed 4 years ago by scott.benjamin@…

I've solved this problem by reinstalling pycairo from source rather than relying on what was fetched via easy_install.

  Changed 4 years ago by anonymous

I'm seeing MemoryError? in OpenBSD when using Cairo.

in reply to: ↑ 1   Changed 4 years ago by normand@…

Replying to lgs:

Are you using a 64 bits processor? I've seen some memory errors in Python 2.5 with 64 bits processors in other projects I work in. If not, I'll try to give you a small test case to see if this is a (py)Cairo issue or not. Thanks for reporting.

I am using FreeBSD 6.3 / 32 bit. May I have this test case to see if it is a (py)Cairo issue?

Note: See TracTickets for help on using tickets.