bugpokersource - Bugs: bug #13704, poker-network doesn't upgrade db...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #13704: poker-network doesn't upgrade db on etch, dbconfig-common broken ?

Submitted by:  Johan Euphrosine <proppy>
Submitted on:  Tue 16 Jun 2009 09:23:22 AM UTC  
 
Category: build-system-poker-networkSeverity: 3 - Normal
Priority: 1 - LaterStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

Tue 23 Feb 2010 05:46:19 PM UTC, comment #1:

Does this also happen with lenny ?

Johan Euphrosine <proppy>
Project Member
Tue 16 Jun 2009 09:23:22 AM UTC, original submission:

pokertest:~# apt-get install python-poker-network
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
munin-node
The following packages will be upgraded:
python-poker-network
1 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
Need to get 0B/325kB of archives.
After unpacking 45.1kB disk space will be freed.
WARNING: The following packages cannot be authenticated!
python-poker-network
Install these packages without verification [y/N]? y
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
(Reading database ... 26709 files and directories currently installed.)
Preparing to replace python-poker-network 1.7.4-2 (using .../python-poker-network_1.7.5-1_all.deb) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Stopping poker server ...start-stop-daemon: warning: failed to kill 7325: No such process
done.
Unpacking replacement python-poker-network ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Setting up python-poker-network (1.7.5-1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
/usr/bin/rsync --exclude CVS -a -v --ignore-existing /usr/share/poker-network/conf/ /etc/poker-network/
building file list ... done
./

sent 121 bytes received 26 bytes 294.00 bytes/sec
total size is 13999 speedup is 95.23
Config::checkVersion: /etc/poker-network/poker.bot.xml: launch upgrade from 1.7.4 to 1.7.5 using repository /usr/share/poker-network/upgrades/poker.bot
Config::checkVersion: /etc/poker-network/poker.client.xml: launch upgrade from 1.7.4 to 1.7.5 using repository /usr/share/poker-network/upgrades/poker.client
Config::checkVersion: /etc/poker-network/poker.server.xml: launch upgrade from 1.7.4 to 1.7.5 using repository /usr/share/poker-network/upgrades/poker.server
dbconfig-common: writing config to /etc/dbconfig-common/python-poker-network.conf
Configuration file `/etc/poker-network/poker.server.xml'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
S : show the side-by-side differences between the versions
Z : start a new shell to examine the situation
The default action is to keep your current version.

      • poker.server.xml (Y/I/N/O/D/Z) [default=N] ?Y

Replacing config file /etc/poker-network/poker.server.xml with new version
dbconfig-common: flushing administrative password
/var/lib/python-support/python2.5/simplejson/scanner.py:6: DeprecationWarning: The sre module is deprecated, please import re.
from sre import VERBOSE, MULTILINE, DOTALL
Python SOAP module not available
/usr/lib/python2.5/site-packages/twisted/manhole/telnet.py:8: DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is deprecated. See twisted.conch.telnet for the current, supported API.
from twisted.protocols import telnet
Starting poker server : /var/lib/python-support/python2.5/simplejson/scanner.py:6: DeprecationWarning: The sre module is deprecated, please import re.
from sre import VERBOSE, MULTILINE, DOTALL
Python SOAP module not available
/usr/lib/python2.5/site-packages/twisted/manhole/telnet.py:8: DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is deprecated. See twisted.conch.telnet for the current, supported API.
from twisted.protocols import telnet
Removing stale pidfile /var/run/poker-network-server.pid
SOAP service not available
Bots are disabled, edit /etc/default/python-poker-network to enable them.
poker-network

pokertest:~# mysql -u root pythonpokernetwork
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 737
Server version: 5.0.67-1~orbus0-log (Debian)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> describe tourneys;
+-------------------+------------------+------+-----+-------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+------------------+------+-----+-------------+----------------+
| serial | int(10) unsigned | NO | PRI | NULL | auto_increment |
| resthost_serial | int(10) unsigned | NO | | 0 | |
| name | varchar(200) | YES | | NULL | |
| description_short | varchar(64) | YES | | NULL | |
| description_long | text | YES | | NULL | |
| players_quota | int(11) | YES | | 10 | |
| players_min | int(11) | YES | | 2 | |
| variant | varchar(32) | YES | | NULL | |
| betting_structure | varchar(32) | YES | | NULL | |
| seats_per_game | int(11) | YES | | 10 | |
| player_timeout | int(11) | YES | | 60 | |
| currency_serial | int(11) | YES | | NULL | |
| prize_min | int(11) | YES | | 0 | |
| bailor_serial | int(11) | YES | | 0 | |
| buy_in | int(11) | YES | | 0 | |
| rake | int(11) | YES | | 0 | |
| sit_n_go | char(1) | YES | | y | |
| breaks_first | int(11) | YES | | 7200 | |
| breaks_interval | int(11) | YES | | 3600 | |
| breaks_duration | int(11) | YES | | 300 | |
| rebuy_delay | int(11) | YES | | 0 | |
| add_on | int(11) | YES | | 0 | |
| add_on_delay | int(11) | YES | | 60 | |
| start_time | int(11) | YES | MUL | 0 | |
| finish_time | int(11) | YES | | 0 | |
| state | varchar(16) | YES | MUL | registering | |
| schedule_serial | int(11) | YES | | NULL | |
| add_on_count | int(11) | YES | | 0 | |
| rebuy_count | int(11) | YES | | 0 | |
+-------------------+------------------+------+-----+-------------+----------------+
29 rows in set (0.00 sec)

Johan Euphrosine <proppy>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by proppy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Feb 2010 05:46:28 PM UTCproppyCategoryNone=>build-system-poker-network
    Tue 23 Feb 2010 05:46:19 PM UTCproppyStatusNone=>Need Info
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup