#80 closed defect (invalid)
Problems installing bitten on win2k
Reported by: | anonymous | Owned by: | cmlenz |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | General | Version: | dev |
Keywords: | database | Cc: | |
Operating System: | Windows |
Description (last modified by cmlenz)
Hi Christopher,
I am trying to install bitten on my win2k system. Trac runs just fine on sqlite and apache. Setuptools installs, bitten installs. The upgrade command says everything is fine, but no Bitten. What next?
D:\Install>trac-admin d:\vc_dsl\trac\dsl upgrade Database is up to date, no upgrade necessary. D:\Install>bitten-master --verbose --log d:\logfiles\bittend d:\vc_dsl\trac\dsl Environment at d:\vc_dsl\trac\dsl needs to be upgraded None of the specified environments has support for Bitten D:\Install>trac-admin d:\vc_dsl\trac\dsl upgrade Database is up to date, no upgrade necessary.
Trac 0.9 and Bitten 0.5
Attachments (1)
Change History (17)
comment:1 Changed 19 years ago by anonymous
- Operating System set to Windows
comment:2 Changed 19 years ago by anonymous
comment:3 Changed 19 years ago by cmlenz
I think you're missing the step of enabling the Bitten plugin… which I forgot to document on the Bitten Install page :-/
I've added it now, please see the second paragraph of the build master configuration section.
comment:4 Changed 19 years ago by ilja heitlager
That explains a lot. I have tried it. but due to all the version I ran into a lot of problems. In the end it even messed up my project completely. I think Trac doesn't like to add a project on an existing SVN repository.
Anyway after some installing/deinstalling I finally restored trac to 0.9.1 and installed Bitten-0.5 but I am afraid somewhere done the line there is still some persistent setting that stop me from installing bitten succesfully. How can I remove the reference to Bitten-0.6?
D:\Install>trac-admin d:\vc_dsl\trac\dsl upgrade C:\Python23\lib\site-packages\trac\loader.py:73: User Warning?: Module bitten was already imported from c:\python23\lib\site-packages\bitten-0.5-py2.3.egg\bitten\ init.pyc, but c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg is being added to sys.path
egg.activate()
Database is up to date, no upgrade necessary.
D:\Install>python Python 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information.
import sys sys.path
[, 'C:
WINNT
system32
python23.zip', 'D:
Install', 'c:
python23
DLLs', '
c:
python23
lib', 'c:
python23
lib
plat-win', 'c:
python23
lib
lib-tk',
'c:
python23', 'c:
python23
lib
site-packages', 'c:
python23
lib
site-pac
kages
setuptools-0.6a8-py2.3.egg', 'c:
python23
lib
site-packages
bitten-0.
5-py2.3.egg', 'c:
python23
lib
site-packages
win32', 'c:
python23
lib
sit
e-packages
win32
lib', 'c:
python23
lib
site-packages
Pythonwin']
exit
'Use Ctrl-Z plus Return to exit.'
Z
D:\Install>trac-admin d:\vc_dsl\trac\dsl permission add ilja BUILD_ADMIN C:\Python23\lib\site-packages\trac\loader.py:73: User Warning?: Module bitten was already imported from c:\python23\lib\site-packages\bitten-0.5-py2.3.egg\bitten\ init.pyc, but c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg is being added to sys.path
egg.activate()
Command failed: BUILD_ADMIN is not a valid action.
comment:5 Changed 19 years ago by ilja heitlager
- Summary changed from Problems installing bitton on win2k to Problems installing bitten on win2k
I was able to remove the Bitten-0.6 egg (sorry I am new to the eggs). But still no luck.
Components INI is added. Bitten-0.5 installed, Trac 0.9.1 installed (and working). upgrade not required anymore. (The trac/project/VERSION file says TRAC 1 as does the env.py file)
C:\Documents and Settings\ilja>trac-admin d:\vc_dsl\trac\dsl permission add ilja BUILD_ADMIN Command failed: BUILD_ADMIN is not a valid action.
comment:6 Changed 19 years ago by ilja heitlager
Trying to persist. Removed Bitten-0.5 installed Bitten-0.6r331. No luck, database does not allow itself to be updated, but I cannot run bitten-master since database is out of date......
however 2 tests failed this time:
test_output_error_streams (bitten.build.tests.api.Command Line Test Case?) ... FAIL test_single_argument (bitten.build.tests.api.Command Line Test Case?) ... ok test_timeout (bitten.build.tests.api.Command Line Test Case?) ... FAIL
comment:7 Changed 19 years ago by anonymous
- Version changed from 0.5 to dev
comment:8 Changed 19 years ago by cmlenz
Those tests are currently expected to fail on Windows, so that's not really critical.
Can you please enable DEBUG level logging in Trac, and report the results here (and please put the results in a preformatted block for better readability).
In particular, any entries from [trac.loader] are of interest for this.
comment:9 Changed 19 years ago by cmlenz
- Description modified (diff)
comment:10 Changed 19 years ago by ilja heitlager
22:24:23 Trac[loader] DEBUG: Loading plugin bitten.main from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 22:24:23 Trac[loader] DEBUG: Loading plugin bitten.web_ui from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 22:24:23 Trac[loader] DEBUG: Loading plugin bitten.summarizers from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 22:24:23 Trac[loader] DEBUG: Loading plugin bitten.charts from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 22:25:01 Trac[loader] DEBUG: Loading plugin bitten.main from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 22:25:02 Trac[loader] DEBUG: Loading plugin bitten.web_ui from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 22:25:02 Trac[loader] DEBUG: Loading plugin bitten.summarizers from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 22:25:02 Trac[loader] DEBUG: Loading plugin bitten.charts from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg
C:\>trac-admin d:\vc_dsl\trac\dsl upgrade Database is up to date, no upgrade necessary. C:\>trac-admin d:\vc_dsl\trac\dsl permission add ilja BUILD_ADMIN Command failed: BUILD_ADMIN is not a valid action.
comment:11 Changed 19 years ago by anonymous
- Priority changed from major to blocker
comment:12 Changed 19 years ago by cmlenz
Maybe this is related to a bug fixed in Trac 0.9.1:
Can you try upgrading Trac (if you haven't already)?
comment:13 Changed 19 years ago by ilja heitlager
I did already update to 0.9.1. I have checked the code and the specific fragments are there. But it got me thinking. I installed the webadmin plugin. That worked after restarting. With the webadmin tool I could enable the Bitten modules. I can now see a button, but as I see it something is stoping the trac-admin tool from upgrading the database (it misses the bitten_config table). Maybe you can tell me how I can 'fake' newer verion for bitten, such that the database update is enforced. The issue is that trac is currently version 0.9.1, bitten 0.6xx, but the sqlite database might be version trac 1.xx.dev
comment:14 Changed 19 years ago by ilja heitlager
I think it is resolved!!! After installing the webadmin and tags functionality somehow Trac finally figured it had to upgrade the database. For tags I had to run trac-admin upgrade
23:18:37 Trac[loader] DEBUG: Loading plugin bitten.main from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 23:18:37 Trac[loader] DEBUG: Loading plugin bitten.web_ui from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 23:18:37 Trac[loader] DEBUG: Loading plugin bitten.summarizers from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 23:18:38 Trac[loader] DEBUG: Loading plugin bitten.charts from c:\python23\lib\site-packages\bitten-0.6dev_r331-py2.3.egg 23:18:38 Trac[loader] DEBUG: Loading plugin tracwebadmin from c:\python23\lib\site-packages\tracwebadmin-0.1dev_r2440-py2.3.egg 23:18:38 Trac[loader] DEBUG: Loading plugin tractags from c:\python23\lib\site-packages\tractags-0.1-py2.3.egg 23:18:38 Trac[env] WARNING: Component <bitten.trac_ext.main.BuildSystem object at 0x00B64450> requires environment upgrade
comment:15 Changed 19 years ago by ilja heitlager
I feel to stupid to admit this but it is true. I had installed the package with
[modules] bitten = *.enabled
instead of
[modules] bitten.* = enabled
This explains why it all of a sudden installed after installing the webadmin (thereby enabling the modules) and tractags (thereby running a trac-admin update
I think case is closed. Let's have a bite.
comment:16 Changed 19 years ago by cmlenz
- Resolution set to invalid
- Status changed from new to closed
Heh. Okay.
Argh still no success. I have upgraded to Trac-1.0dev and bitten-trunk (r331).
D:\Install>trac-admin d:\vc_dsl\trac\dsl permission add ilja BUILD_ADMIN Command failed: BUILD_ADMIN is not a valid action.
D:\Install>bitten-master --verbose --log=d:\logfiles\bittend d:\vc_dsl\trac\dsl Environment at d:\vc_dsl\trac\dsl needs to be upgraded None of the specified environments has support for Bitten
D:\Install>trac-admin d:\vc_dsl\trac\dsl upgrade Database is up to date, no upgrade necessary.