genfromdta() fails under Win7

Bug #602426 reported by Kyle Foreman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
statsmodels
Fix Committed
Undecided
Unassigned

Bug Description

genfromdta() (in both statsmodels release 0.2.0 and the trunk as of July 6, 2010) fail when reading in files under Windows 7. Same script with same data file works fine on Linux. The test file I've been using is attached, code (for release 0.2.0) is below:

import scikits.statsmodels
scikits.statsmodels.lib.io.genfromdta('./genfromdta_test.dta')
# error: unpack requires a string argument of length 4 (line 349 of io.pyc)

Revision history for this message
Kyle Foreman (kfor) wrote :
Revision history for this message
Skipper Seabold (jsseabold) wrote :

Thanks for reporting. Fix committed.

Changed in statsmodels:
status: New → Fix Committed
Revision history for this message
Kyle Foreman (kfor) wrote :

Confirmed working in Win7, thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.