Closed 183amir closed 9 years ago
How did you run the program? What command exactly? and in which directory?
I just ran starcal2 (which is in /usr/bin) from my home directory.
On Sun, Dec 21, 2014 at 4:19 PM, Saeed Rasooli notifications@github.com wrote:
How did you run the program? What command exactly? and in which directory?
Reply to this email directly or view it on GitHub https://github.com/ilius/starcal/issues/11#issuecomment-67771817.
Do you have master at tag 2.4.0? How did you install it?
It is at the lastest commit which is 2.4.0.
git clone https://github.com/ilius/starcal.git
cd starcal
./install-archlinux
cd ~
starcal2
Traceback (most recent call last):
File "/usr/share/starcal2/scal2/ui_gtk/starcal2.py", line 48, in <module>
from scal2 import core
File "/usr/share/starcal2/scal2/core.py", line 62, in <module>
localTz = get_localzone()
File "/usr/share/starcal2/natz/local.py", line 98, in get_localzone
return natz.tzfile.build_tzinfo('local', tzfile)
AttributeError: 'module' object has no attribute 'tzfile'
and here is the output of ./install-archlinux: http://pastebin.com/M0rX2SXM
Please check if "./starcal2" in the source directory works or not
If I add from . import tzfile
to starcal/natz/__init__.py
, it will run.
I pushed a commit, please pull and check again
Thanks, It is fixed now.
And thank you for reporting the bug
I tried installing in Archlinux with ./install-archlinux script. I am on the latest commit in master branch.