New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Running Windows (or anything else) on your Mac Discussion of Classic or running Windows, Linux and other OSes on the Mac.

Other - gcalcli and macports


Post Reply New Thread Subscribe

 
Thread Tools
aarnclayt

 
Member Since: Jul 05, 2007
Posts: 88
aarnclayt is on a distinguished road
Mac Specs: MacBook 1.83 GHz intel c2d, 2gb ram, xp and os x.6

aarnclayt is offline
I'm trying to put the agenda from my google calendar on my desktop via geektool, but I'm having trouble getting gcalcli to recognize the dependencies. According to the site, gcalcli requires python, dateutil, elementtree and gdata. I installed all of these via macports but when I try and run gcalcli it says gdata is missing.

I have a feeling I may have two versions of python on my computer. One installed by xcode (py23) and the one I installed by macports (py24).
QUOTE Thanks
lifeafter2am

 
lifeafter2am's Avatar
 
Member Since: Aug 25, 2006
Location: Central Florida
Posts: 1,395
lifeafter2am is a jewel in the roughlifeafter2am is a jewel in the rough
Mac Specs: MacBook Pro Unibody

lifeafter2am is offline
Did you install gcalcli using macports as well?

And yes you will have multiple versions of python installed. This is the way that macports handles things. All of the dependancies for the programs it installs are handled internally.

masakatsu agatsu

@lifeafter2am
QUOTE Thanks
aarnclayt

 
Member Since: Jul 05, 2007
Posts: 88
aarnclayt is on a distinguished road
Mac Specs: MacBook 1.83 GHz intel c2d, 2gb ram, xp and os x.6

aarnclayt is offline
Quote:
Originally Posted by lifeafter2am View Post
Did you install gcalcli using macports as well?
No, I tried but I didn't see it as a port. If there is one, what is it called? and how do I get it?
QUOTE Thanks
lifeafter2am

 
lifeafter2am's Avatar
 
Member Since: Aug 25, 2006
Location: Central Florida
Posts: 1,395
lifeafter2am is a jewel in the roughlifeafter2am is a jewel in the rough
Mac Specs: MacBook Pro Unibody

lifeafter2am is offline
See, the thing is, as I said, MacPorts and the other programs like it handle all those things internally, so your program probably isn't looking in the right place for those programs. You can try modifying your $PATH to include those areas in which the MacPorts stuff is installed, that should work.

masakatsu agatsu

@lifeafter2am
QUOTE Thanks
aarnclayt

 
Member Since: Jul 05, 2007
Posts: 88
aarnclayt is on a distinguished road
Mac Specs: MacBook 1.83 GHz intel c2d, 2gb ram, xp and os x.6

aarnclayt is offline
right. that makes sense. I should have thought of that. thanks.
QUOTE Thanks
lifeafter2am

 
lifeafter2am's Avatar
 
Member Since: Aug 25, 2006
Location: Central Florida
Posts: 1,395
lifeafter2am is a jewel in the roughlifeafter2am is a jewel in the rough
Mac Specs: MacBook Pro Unibody

lifeafter2am is offline
Quote:
Originally Posted by aarnclayt View Post
right. that makes sense. I should have thought of that. thanks.
No problem! Let us know how it goes.

masakatsu agatsu

@lifeafter2am
QUOTE Thanks
aarnclayt

 
Member Since: Jul 05, 2007
Posts: 88
aarnclayt is on a distinguished road
Mac Specs: MacBook 1.83 GHz intel c2d, 2gb ram, xp and os x.6

aarnclayt is offline
I changed my PYTHONPATH in ~/.profile to /opt/local/lib/python2.4 which is where the macports python is installed, but when I run gcalcli I get this:

Code:
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/Users/awclayton/.scripts/gcalcli", line 55, in ?
    import inspect
  File "/opt/local/lib/python2.4/inspect.py", line 31, in ?
    import sys, os, types, string, re, dis, imp, tokenize, linecache
  File "/opt/local/lib/python2.4/os.py", line 133
    from os.path import (curdir, pardir, sep, pathsep, defpath, extsep, altsep,
                        ^
SyntaxError: invalid syntax
QUOTE Thanks

Post Reply New Thread Subscribe


« Trouble installing Classic - System Folder issue | Bootcamp killed my iMac!! »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 05:23 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?