Menu

#8 Error importing cars - assert errors

v1.0_(example)
closed
nobody
None
2
2015-03-08
2015-02-09
Anonymous
No

Hello,

with the current version of pyars I get errors on importing cars.

from pyars import cars
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/pyars/cars.py", line 242, in <module>
exec('from _cars%s%s import *' % (dllVersion, postfixP3k))
File "<string>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/pyars/_cars81.py", line 22, in <module>
assert sizeof(ARUserLicenseList) == 8, sizeof(ARUserLicenseList)
AssertionError: 16</module></module></string></module></module></stdin>

For starters I changed the assert value from 8 to 16 and then I got the error on the next assert. Looks like all the values are all off.

System is a 64 bit RHEL6 machine with python 2.6, Libraries are the current 811 from ARAPI download page.

Any idea, what might be the cause? 64bit instead of 32bit?

Discussion

  • Ergorion

    Ergorion - 2015-03-08

    This is a duplicate of another bug Report. Should be fixed in pyARS 1.8.2.

     
  • Ergorion

    Ergorion - 2015-03-08

    Ticket moved from /p/pyars/feature-requests/6/

     
  • Ergorion

    Ergorion - 2015-03-08
    • status: open --> closed
    • Group: Next_Release_(example) --> v1.0_(example)
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB