.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old October 22nd, 2006, 07:58 PM

Cheezeninja Cheezeninja is offline
Sergeant
 
Join Date: Mar 2004
Location: cali
Posts: 325
Thanks: 0
Thanked 0 Times in 0 Posts
Cheezeninja is on a distinguished road
Default Re: Dom-III PBEM manager

I installed libgmail, I even managed to access the gmail account to make sure it worked, but I'm unsure what you mean by "run import libgmail" I don't see any import options, and doing a index search of the help documentation brings up a whole bunch of stuff I don't understand.
Reply With Quote
  #2  
Old October 22nd, 2006, 08:34 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Dom-III PBEM manager

I mean do the following.

1. start->run->cmd, should open up dos shell.

2. print:
python
and press enter, this should start python, you should see the prompt as >>>.

3. print:
import libgmail.

This should work with no messages. If you do get messages it means that installation of the lib has failed.
Reply With Quote
  #3  
Old October 22nd, 2006, 09:57 PM

Cheezeninja Cheezeninja is offline
Sergeant
 
Join Date: Mar 2004
Location: cali
Posts: 325
Thanks: 0
Thanked 0 Times in 0 Posts
Cheezeninja is on a distinguished road
Default Re: Dom-III PBEM manager

Yea, I get an error message that says there is no module named libgmail. I ran the setup.py file though, is there a specific folder I should put the libgmail files in?

Edit: I got it to not give me an error message by putting the libgmail files in the "libs" folder, but the pbem manager module still gives me the same error message.
Reply With Quote
  #4  
Old October 23rd, 2006, 05:12 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Dom-III PBEM manager

you should run:
$ python setup.py install

You shouldn't do anything manually with the lib. Install takes care of everything. After that you should be able to get the "import libgmail" to work. If you are there and still get errors when running the PBEM manager please give me the exact error.
Reply With Quote
  #5  
Old October 25th, 2006, 06:38 PM
Beorne's Avatar

Beorne Beorne is offline
Sergeant
 
Join Date: Apr 2004
Location: Forlì, Italy
Posts: 322
Thanks: 15
Thanked 0 Times in 0 Posts
Beorne is on a distinguished road
Default Re: Dom-III PBEM manager

I've had this error:

------------------------------------------------------------
Dom III PBEM Manager Interactive mode.
initing class...
Loading class configuration
section found: test1
section items: [('sent_turns_msg', '<message that will be added to the turn dis
tribution email>'), ('players', '<list of players in the following format: playe
r1_emaillayer1_nation, player2_emaillayer2_nation etc.\nExample: player@gmai
l.com:mid_oceania, 2nd_player@yahoo.com:mid_pythium, etc>')]
section found: GAMES
section items: [('games', '<list of games seperated by ,>')]
section found: GENERAL
section items: [('backup_path', 'D:\\temp\\domIII'), ('host_pwd', '<your passwo
rd>'), ('host_email', '<your gmail address>'), ('dom_path', 'D:\\Program Files\\
dominions3'), ('temp_turns_path', 'D:\\temp'), ('sig_msg', 'Thanks, <your name>'
), ('active_game', '<default for currently active game>')]
item in general: backup_path value: D:\temp\domIII
setting value of backup turns path to: D:\temp\domIII
item in general: host_pwd value: <your password>
setting value of host password
item in general: host_email value: <your gmail address>
setting value of host email to: <your gmail address>
item in general: dom_path value: D:\Program Files\dominions3
setting value of dominions path to: D:\Program Files\dominions3
item in general: temp_turns_path value: D:\temp
setting value of temporary turns path to: D:\temp
item in general: sig_msg value: Thanks, <your name>
setting value of signature to: Thanks, <your name>
item in general: active_game value: <default for currently active game>
setting value of active game to: [ <default for currently active game> ]
item in games: games value: <list of games seperated by ,>
loaded game name list: ['<list of games seperated by ', '>']
Traceback (most recent call last):
File "C:\Program Files\459268-PBEM_Util\domIII_PBEM_utils.py", line 784, in <m
odule>
ineractive_mode()
File "C:\Program Files\459268-PBEM_Util\domIII_PBEM_utils.py", line 756, in in
eractive_mode
mgr = DomIIPbemMgr()
File "C:\Program Files\459268-PBEM_Util\domIII_PBEM_utils.py", line 116, in __
init__
self.loadConf()
File "C:\Program Files\459268-PBEM_Util\domIII_PBEM_utils.py", line 250, in lo
adConf
game_item = self.config.items(game_name.strip())
File "C:\Program Files\Python25\lib\ConfigParser.py", line 544, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: '<list of games seperated by'
------------------------------------------------------------
Reply With Quote
  #6  
Old October 25th, 2006, 07:05 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Dom-III PBEM manager

@Beorne, first nice to see that you've switched the debug on
The error stems for the fact that the configuration file is an example and not a working configuration file. A value that you should fill is indicated by <> braces, you should replace this including the braces with your values.

Try it yourself, create a new game with, say, two or more players, fill in the blanks in the configuration file and check if this works for you.
Reply With Quote
  #7  
Old October 26th, 2006, 04:37 AM
Beorne's Avatar

Beorne Beorne is offline
Sergeant
 
Join Date: Apr 2004
Location: Forlì, Italy
Posts: 322
Thanks: 15
Thanked 0 Times in 0 Posts
Beorne is on a distinguished road
Default Re: Dom-III PBEM manager

And I'm a professonal programmer ... what a pity.
Thank you, I'll try.

I'd liked very much to learn Python, but now for me at work is the time of C#, a very good prog language even if is M$. The dark side is Visual studio, a thin layer of complexity and mess covering all.
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 08:02 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.