Update on openZilla development

Hi,

Today when I was looking into the code of the openzilla it was looking too long for me.

I was thinking how i have make this all together code? I am planning to separate the code by their functionality.

Today I have done this for the window which is doing new bug posting thing. Written that part of the code in a file called new_bug.py . Updated the bug posting functionality with some bug fixes.

One problem I am facing today is I want to disconnect some of the gtk signals with the source code. I was doing this by opening the glade file and deactivating signal associated with the item I wanted to.

But for some signals I could not find where is the item connected to it. Suppose, one call back

on_cancel_clicked()

some operation on it

I want to write the call backs manually and connect them manually.

self.cancel_btn = self.builder.get_object(“cancel”)
self.cancel_btn.connect(‘clicked’,self.on_cancel_clicked)

So i want to deactivate the signal created by glade file,but I am unable to find out the signal, so forcefully I had to write the call backs which i did not want.I want some method in the glade designer which will search for some signal connected to some item. search for some item is possible now but search for some signal is not possible(AFAK).

I am looking for solution to this problem and will update on getting this. trying to get openzilla up 🙂

Openzilla development resumed

Hi,

Development of openzilla got paused, since few days I am thinking to continue the development of openzilla once again. After college completed joined the companies and got busy with work. Everyday I think about the open source contribution, but could not make my time for it.

Now I have got a little time to work with open source again, so finally resuming openzilla development. Few days back I installed the openzilla, but it is not working properly. I found there is some problem with the pybugz ( a dependency of openzilla and python interface for bugzilla systems).

I am presently working for the solution of this problem. I think I will solve it quickly 🙂

One more thing is going on in my mind since few days back I am looking into the transifex and thinking to contribute in this project.

this is all about my present days, and its a nice feeling to be back with the open source.

thanks!

Extracting String from PHP Application

Yesterday I was looking for a method how I can get or extract one String from a PHP application.

I wanted to find out that there is some variable in the web page (or may be more than one variable)

and they are having their associated values.

Now I have to find out whether there is the variable in my case no_of_comment and if it is there then what are the values associated with them.

As a solution I got a nice function in php.net,

extract(array_variable,extract_type,prefix_value)

here, array_variable is an array or a key value pair, where keys are treated as variable name and values as variable values.

extract_type: this determines what to do if there is more than one value or there is no variable in that name at all. means how the value to be taken to the out put.

prefix_value: this is to determine the default value which is given adding one underscore with the variable name.

Here is how it worked for me

<?php
$comment = “this is for getting the values “;
$var_array = array(“name” => “estimatingFunction”,
“type” => “humanNurology”,
“$comment” => “estimating the road crossing”);
extract($var_array,EXTR_PREFIX_SAME,”page”);
echo “$name,$type,$comment,$page_comment\n”;
?>

out put:

estimatingFuction,humanNurology,estimating the road crossing, this is for getting the values.

extract converts all the arrays and key value pairs to a list of variables and there values. Here the page is global variable so comment associated with this is the first comment, and gives the out put as the first comment.

thanks 🙂

Recover image data from corrupted memory card

Yesterday memory card of my camera got error. Whenever  I am entering it to the camera it was saying not formatted format?

I got shocked! It was having the images which I will not get back again if I loose.

I entered the the memory card in the computer in windows it was detecting the card but was saying not formatted you need to format.

After searching in the net I got one software which retrieves the data lost in memory card. But it costs too much around $145. I thought gone I will not get the images back again.

After that I tried using linux. The memory card was in /dev but not getting mounted

.After searching around one hour I got one method to recover the data using linux. Though I had to make some changes  in that method but it worked for me.

at first did a low level copy of the data into hard drive to a dat file.

dd  if =/dev/sdb1 of=memcard.dat

then I got the whole data in memcard.dat

After that I extracted data from that dat file using formost which I got by doing

yum install foremost

then using for most

foremost -dva -t jpeg -o /pace/for/keeping/pictures -i memcard.dat

I got all the image files. Though all the video files also got splitted into jpg images.

It saved me from a tension 🙂

Long time to back in work again

Its been a long time I touch my computer for coding… Final semester it was of very busy days.

From the first day of the final semester there was a pressure to get a job for that memorize all those big big words which I have never seen before. Frankly speaking it seems to be very odd to me that we all are memorizing all the things which will never come in work. Hm.. at last got a job which is very much appropriate for me.

Now exam is over and time to come in work again… I have lot of works remaining. I think I will be continuing the “Openzilla” and get it fully developed.

After all I have completed my B.Tech though result is not out yet.

Help Page for Openzilla added

After a long time I have got time to do something my self.Yesterday I added help page for Openzilla. I have added it as a web page. If anyone clicks on the help then it will open the help page in his default web browser.

Help -> Help

The Help

http://bamachrn.fedorapeople.org/openzilla/openzilla_help.html

Please feel free for any advise or change

Thanks 🙂 🙂

Openzilla search in the bugs added

I have added search feature to the openzilla,

on the top there is one entry panel where one can enter word or character to be searched. As the words or characters will be given it will show a list of bugs which have matching word or character in there detail.

Search can also done with bugid

For search one can go to menu search and click search it will give one popup window with entry box. There after entering the word searching for if ok pressed, then it will show the bugs having the matching word.

it will give the bug list having the matching word.

To install the openZilla

1.Download  openzilla.repo to /etc/yum.repos.d/

2.As root do : yum install openzilla

*To install openzilla on any other linux OS:

1) download openzilla-0.1.tar.gz
2) Untar it: $tar xvf openzilla-0.1.tar.gz
3) Change directory to openzilla-0.1: $cd openzilla-0.1
4) As root, install from setup.py:
$su
#python setup.py install

Feel free to report any bugs, new feature request or suggestions.

Thanks.

Openzilla version-0.1 released

Today I have released the second release for openZilla previous version was with the features

1.At first one has to enter the User name, password the base URL means the web address of the bugzilla site (like https://bugzilla.redhat.com/). After that he has to enter the topic on which he is Interested to work on.

2. Then once the user is authenticated to the bugzilla server account the bugs will be downloaded and shown one can search the bugs depending on the field.

3.One can create new bugs from the New button or the new bug menu (Bugs->New)

Features added in this version are

1. Base URL of the login screen is now in drop down combo box from where user can select the site url.

2. After Login one window with product list will come and user can select one or more product(s) from that list, or all the products.

3. Bug modification: Bugs can be modified after selecting the bug, new comments can be added, the fields can be updated.

To install the openZilla

1.Download  openzilla.repo to /etc/yum.repos.d/

2.As root do : yum install openzilla

*To install openzilla on any other linux OS:

2) Untar it: $tar xvf openzilla-0.1.tar.gz
3) Change directory to openzilla-0.1: $cd openzilla-0.1b
4) As root, install from setup.py:
$su
#python setup.py install

Feel free to report any bugs, new feature request or suggestions.

Thanks.

Login screen changed and modify option added to Openzilla

I have Changed the login screen previously it was taking input User name, password, Base URL and topic or product as

Now at first User has to give the base URL which can be selected from one drop down box, and User name and password. like

After clicking login it will login to the base URL and if success full then it will go to the product selection page.

Then clicking the finish button it will load the bugs for first run depending on the selected product and continue with a screen

Once the bugs are loaded then and next run onwords it will go to the main window which will show the list of bugs already downloaded.

I have added the modify option to it if one bug is selected from the list of the bugs it can be modified with their fields and comments can be added.

Thaks.:)

Openzilla v-0.1b Released

Today I have released the first version for openZilla with the features

1.At first one has to enter the User name, password the base URL means the web address of the bugzilla site (like https://bugzilla.redhat.com/). After that he has to enter the topic on which he is Interested to work on.

2. Then once the user is authenticated to the bugzilla server account the bugs will be downloaded and shown one can search the bugs depending on the field.

3.One can create new bugs from the New button or the new bug menu (Bugs->New)

To install the openZilla

1.Download  http://rtnpro.fedorapeople.org/bama/bamachrn.repo to /etc/yum.repos.d/

2.As root do : yum install openzilla

*To install openzilla on any other linux OS:

1) download http://rtnpro.fedorapeople.org/bama/openzilla/openzilla-0.1b.tar.gz
2) Untar it: $tar xvf openzilla-0.1b.tar.gz
3) Change directory to openzilla-0.1b: $cd openzilla-0.1b
4) As root, install from setup.py:
$su
#python setup.py install

Feel free to report any bugs, new feature request or suggestions.

Thanks.

Previous Older Entries