utils.py issue

5 views
Skip to first unread message

Boris ( Mario Pozzo )

unread,
Nov 22, 2012, 8:13:00 AM11/22/12
to aranduka...@googlegroups.com
Hi,

I've cloned the git repo and I was trying to test aranduka on osx.

I can't run the project because of this error:

Lion:src leopard$ python main.py
Traceback (most recent call last):
File "main.py", line 5, in <module>
import models
File "/Users/leopard/desarrollo/pruebas/aranduka/src/models.py",
line 10, in <module>
import utils
File "/Users/leopard/desarrollo/pruebas/aranduka/src/utils.py", line
75, in <module>
os.makedir(P)
AttributeError: 'module' object has no attribute 'makedir'

I've checked the line in utils.py and it is:

os.makedir(P)

I went to os doc to see if there is something special about osx that I
should take care of but I can't find "makedir" function, there is
"makedirs" and "mkdir"
http://docs.python.org/2/library/os.html

I have python 2.7.1.

Regards

Mario

Ramiro Algozino

unread,
Nov 22, 2012, 8:24:22 AM11/22/12
to aranduka...@googlegroups.com
Hello Mario,

 I can confirm this issue on Linux (Ubuntu 12.04 based) too, having the same error on integrate branch, the others work as espected. I know Andrés has been working on that branch, maybe he has some kind of fix.

 You can try other branch meanwhile, like the issue59 branch with this command:

git checkout issue59

Regards,


2012/11/22 Boris ( Mario Pozzo ) <camb...@gmail.com>

--
Ramiro

Andrés Gattinoni

unread,
Nov 22, 2012, 8:25:36 AM11/22/12
to aranduka...@googlegroups.com
My bad, I broke it :)
I have just pushed the fix to the integrate branch.

Boris ( Mario Pozzo )

unread,
Nov 22, 2012, 8:27:45 AM11/22/12
to aranduka...@googlegroups.com
Great, It works ok now.

I'll keep fighting with pyqt on osx and report back.

Regards

Mario
Reply all
Reply to author
Forward
0 new messages