List Info

Thread: What to do when changing SQLite version?




What to do when changing SQLite version?
user name
2007-01-04 12:38:01
On Thu, 4 Jan 2007 16:14:00 +1100, Richard Jones
<richardcommonground.com.au> wrote:

>>   File
"C:ProgramsPythonlibsite-packagesroundupdate.py&q
uot;, line
>> 302, in pretty
>>     str = time.strftime(format, (self.year,
self.month, self.day,
>> ValueError: day of year out of range
>>
>> Seems like some problems concerning the dates (from
the database???).
>
>Nope, it's a Python 2.4 problem. Replace the pretty
method in roundup/ 
>date.py with the code from the most recent version:

OK, I copied the pretty code from date.py in release 1.3.2
and then
started the tracker again. Now I could log in without
problem. 

However the whole graphics design of the tracker seems to
have been
changed..
Most of the display is now text only, no table borders to be
seen
anywhere and my logo does not display either.
If I open an issue then the entry boxes do appear but the
"Change
Note" heading for the entry textbox is centered
vertically to the left
of the box instead of being at the top.

One note:
The logo does not appear so I just looked at the page source
in the
client browser to find it to be specified as <img
src="_file/Logo.png"
alt="Logo" border="0"
width="132">
I also saw that the stylesheet is defined as
href="_file/style.css"

Could my problem come from the roundup-server not being able
to handle
the _file/ part of the URL and therefore I am not getting
any style
info?

How can this be fixed? (Is it python version related too?)

info:
Tracker is a direct copy of all of the files in the active
tracker
that I want to migrate.
Roundup is installed from the HEAD of the CVS release 0-6
version. I
don't now which actual version is used (how can one find
out?)
Python is ActiveState 2.4.1-245
pysqlite is pysqlite-1.0.1.win32-py2.4
I am testing with the standalone server "roundup-server
software=<path>"

On the production server the Python version is probably 2.3
(don't
have access now so I can't check) and the pysqlite is some
version
0.5.something

It looked like pysqlite 1.0.1 managed to fix the database
access
problems just fine so I now have access to the tracker using
Python
2.4. It is just the display differences that worry me right
now. What
can they be caused by?



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Roundup-users mailing list
Roundup-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/roundup-u
sers
What to do when changing SQLite version?
user name
2007-01-07 21:21:51
On Thursday 04 January 2007 23:38, Bo Berglund wrote:
> The logo does not appear so I just looked at the page
source in the
> client browser to find it to be specified as <img
src="_file/Logo.png"
> alt="Logo" border="0"
width="132">
> I also saw that the stylesheet is defined as
href="_file/style.css"

Newer templates use "file" instead of
"_file", though both will work when 
served by roundup-server.


> Could my problem come from the roundup-server not being
able to handle
> the _file/ part of the URL and therefore I am not
getting any style
> info?

What happens when you try to view one of those files?


    Richard

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Roundup-users mailing list
Roundup-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/roundup-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )