foss-np / batti

:bulb: load-shedding schedule for terminal!
Other
19 stars 12 forks source link

Problem in downloading new schedule #11

Closed krazedkrish closed 11 years ago

krazedkrish commented 11 years ago

the time for saturday is empty

samundra commented 11 years ago

To download new schedule one has to manually following remove listed files in /tmp folder

use command

cd /tmp
rm nea.pdf part.txt raw.txt sunmon.txt table.txt uni.txt wedfri.txt

After deleting those files try to update the schedule again. ./main.sh -u

The above command will download the schedule.

@rhoit I am also having the same issue, no schedule for friday and saturday shown. See the screenshot.

Batti Schedule Problem

rhoit commented 11 years ago

@samundra you don't need to remove all those stuff! :D its in temp!

krazedkrish commented 11 years ago

@zerOnepal can you come with some algorithm for extracting the first row and doing rotation for each group, the same idea that was implemented in the beginning, but that can survive the updates

rhoit commented 11 years ago

@zerOnepal you got deadline till 7pm! I can do the quick fix! +1 if you wouldn't be able to make it!

samundra commented 11 years ago

@rhoit while trying to get the update I got the no-change message for the file. and I still have some useful information in temp, so I prefer to delete them manually :) @zerOnepal deadline :dart: good luck.

krazedkrish commented 11 years ago

@rhoit dai @zerOnepal and I are working together tara you know we (including you) are busy today so extend till 8:00am tomorrow hai

thapakazi commented 11 years ago

sorry for the trouble guyz, I will try my best to get it done fixed by 2day... but I gotta return backhome where I don't have internet SO, updates could be late ...

krazedkrish commented 11 years ago

me and @zerOnepal have worked on a new idea i.e. downloading the routine from http://loadshedding.sparrowsms.com/ because the format is more consistent in the mean time @rhoit did not approve, because he claims we should download from the actual source rather than some middle man and he is right because loadshedding.sparrowsms.com downloads new routine only after nea.org.np updates so the update from loadshedding.sparrowsms.com may not give the latest routine.

Therefore the users can switch to sparrow branch. Then they will be able to update using ./main.sh -s or

samundra commented 11 years ago

merged the changes from https://github.com/foss-np/batti/ works smooth. again @rhoit you are superman.