View Single Post
Posts: 13 | Thanked: 12 times | Joined on Mar 2010
#558
Originally Posted by electristan View Post
any help would be great
In your N900, you have to modify the file:
Code:
/opt/maemo/usr/share/erminig/erminig_core.py
replace the lines 264-265:
Code:
			start_time += time.timezone
			end_time += time.timezone
by these ones:
Code:
			tz = time.timezone
			if (time.daylight):
				tz = time.altzone
			start_time += tz
			end_time += tz
			#start_time += time.timezone
			#end_time += time.timezone
I join to this post the modified file, so you can:
1- make a copy of the current file
2- overwrite it by the new one

The easiest way is to use ssh from another computer, but perhaps this can be not really friendly if this computer is not under Linux.

The other way is to install rootsh in the N900, and perform all the task from the terminal:

- download the file in your N900, and choose to put it in your main folder, not a sub-directory.

-then open a terminal, and go to the good directory:
Code:
cd MyDocs
- if you have put the file in a sub-directory, go into it:
Code:
cd mysub/folder/
- extract the file from the archive
Code:
tar -zxf erminig_bug12064.tar.gz
- now become root:
Code:
root
-make a copy of the current file of erminig
Code:
cp /opt/maemo/usr/share/erminig/erminig_core.py /opt/maemo/usr/share/erminig/erminig_core.py.bak
- go to the directory wich contains the new version:
Code:
cd /home/user/MyDoc
- and overwrite the file
Code:
cp -f erminig_core.py /opt/maemo/usr/share/erminig/erminig_core.py
Hope this help .
Attached Files
File Type: gz erminig_bug12064.tar.gz (4.4 KB, 141 views)

Last edited by joliclic; 2011-04-30 at 10:29.
 

The Following 5 Users Say Thank You to joliclic For This Useful Post: