can't run in ubuntu 9.04

Bug #423115 reported by Muhammad Bashir Al-Noimi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Keryx
Fix Released
Undecided
Unassigned

Bug Description

I tried to run it in ubuntu 9.40 but it gave me the an error message (see the attachment plz), in addition to that I couldn't create a new project through command line by --create!

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :
Revision history for this message
Chris Oliver (excid3) wrote :

Can you paste your keryx.conf file inside the directory? It sounds like you have a typo in your config file.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :
Revision history for this message
Chris Oliver (excid3) wrote :

Did you edit the file by chance? It sounds according to the error that it might be caused by a line ending problem almost.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

I didn't edit it, I just extract the zipped file then tried to run Keryx.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

You can test this problem by yourself, just extract zipped file to see.

Revision history for this message
Chris Oliver (excid3) wrote :

I had already tested that to see if that was what was causing the issue and it ran fine for me on Ubuntu. That's interesting. What you can do is to delete the file and to create your own making sure the line endings are entirely in one format whether it's Linux(\n) or Windows (\n\r) and it should work. You don't necessarily need the conf file, but it helps to keep the project files in a single folder between the Linux and Windows versions.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

<blockquote>it ran fine for me on Ubuntu</blockquote>
I'm using ubuntu too, but it gives me the above error message!

<blockquote>What you can do is to delete the file and to create your own making sure the line endings are entirely in one format whether it's Linux(\n) or Windows (\n\r) and it should work</blockquote>
This is not a practical solution, any respect program must fix this issue. This is absolutely a big weak point in Keryx.

Anyway, all what I can do is reporting about this bug, because I don't have in experience in Python.

Revision history for this message
mac9416 (mac9416) wrote :

"This is not a practical solution"

It's not a permanent fix, but you have to start somewhere. Chris and I haven't had this problem, so it makes it hard for us to debug it. That's why it's important for users who discover bugs to provide us with as much information as possible so we can fix the problem.

All you have to do is rename keryx.conf to keryx.conf.bak, then make a new file called keryx.conf. Then you will need to hand-type the original keryx.conf into the new one. Save the file, then run Keryx again.

Thanks
-mac

Revision history for this message
Chris Oliver (excid3) wrote :

M. Bashir Al-Noimi,

I understand your situation and you must take the time to understand ours. We have tested this multiple times and are unable to recreate the error in any manner. Without being able to recreate it to play with possible fixes, we cannot do any other than to give suggestions.

I'm sorry that we have no immediate fix for you and you should also understand that this is provide free of charge. You are not paying for Keryx so you are not out anything at all if you chose to move to some other software so there is no reason to be rude. Much like yourself I'm sure, we are very busy too between school and work. This is not our job, it is a hobby, a project that we are working on in our free time out of our own free will. It's open source, so if you don't like it, there are alternatives. We are trying our best so please be patient with us. Hopefully we can get this issue fixed soon for you.

Revision history for this message
mac9416 (mac9416) wrote :

So you don't have to bother with it, I re-created keryx.conf myself. Just download it and replace your current ones with it. Let us know how it goes.

Good luck
-mac

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

Oh Chris,

I didn't mean to be rude as you thought, so if you felt that my words was rude I apologize.

I know exactly what's open source mean because I'm believing in it. Most of us writes open source softwares without getting any pence so it's normal that noone expect to get professional support such as commercial companies.

Any way, after writing keryx.conf manually I got same error message (you can preview my conf file).

mac9416,

I tried your file, the problem still exist!!!

P.S.
I'm using:
Ubuntu 9.04
gedit 2.26.1

Revision history for this message
mac9416 (mac9416) wrote :

Bashir,

Sorry it has taken us so long to help you. I would have bet my last dime that that keryx.conf would have worked! Hang with us, and we'll figure this out.

I've edited config.py so that it should work no matter what crazy newline characters are in keryx.conf. Download the attachment and replace the current config.py in /linux/lib/ with it. Then try again. :-)

I assume that you are running keryx.py instead of keryx.exe each time? I think you have been, but it can't hurt to make sure.

Good luck!
-mac

Revision history for this message
Chris Oliver (excid3) wrote :

Bashir,

Sorry for the confusion! Hopefully mac's patched config.py should fix the issue. I'm still unsure of what could be causing the issue other than the line endings... :\

Revision history for this message
Chris Oliver (excid3) wrote :

Bashir,

Are you using a different language than English? One thing ayuthia mentioned was that it might be caused by an issue with that as it's one of the only things that is different than our test machines.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote : Re: [Bug 423115] Re: can't run in ubuntu 9.04

mac9416 wrote:

> Bashir,
>
> Sorry it has taken us so long to help you. I would have bet my last dime
> that that keryx.conf would have worked! Hang with us, and we'll figure
> this out.
>
never mind, you're working hard enough thanks.
> I've edited config.py so that it should work no matter what crazy
> newline characters are in keryx.conf. Download the attachment and
> replace the current config.py in /linux/lib/ with it. Then try again.
> :-)
>
unfortunately, I'm still getting errors! see the attachment plz.
> I assume that you are running keryx.py instead of keryx.exe each time? I
> think you have been, but it can't hurt to make sure.
>
till now I don't need to run keryx.exe because I've to run keryx.py in
ubuntu before (just for creating then project), then when I go to the
Internet coffee I must run keryx.exe for downloading updates and needed
packages.

-----
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net/

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

Chris Oliver wrote:

> Bashir,
>
> Are you using a different language than English?
No.

-----
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net/

Revision history for this message
Chris Oliver (excid3) wrote :

Are you able to use the default projects packaged with Keryx? This would at least let you be able to skip the step of creating a project so that Keryx would be usable for you for the time being.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

Chris Oliver wrote:
> Are you able to use the default projects packaged with Keryx?
Yes, in windows only.

> This would at least let you be able to skip the step of creating a project so that
> Keryx would be usable for you for the time being.
For me, default projects aren't suitable enough ! I've many third party
repositories.

-----
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net/

Revision history for this message
Chris Oliver (excid3) wrote :

That's okay. You can copy your /var/lib/dpkg/status file over the default project's status file and your /etc/apt/sources.list over the project's one and you will have your own project. :D

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

Chris Oliver wrote:
> That's okay. You can copy your /var/lib/dpkg/status file over the
> default project's status file and your /etc/apt/sources.list over the
> project's one and you will have your own project. :D
>
Why you didn't send this solution before, it's too easy and will fix my
issue temporarily until you fix file modification in keryx.

Any way thanks, keryx is working fine now.

I know this isn't a forum, but what happen for multi-languages
supporting? is there any progress? I've updated Arabic language since
months ago.

-----
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net/

Revision history for this message
Chris Oliver (excid3) wrote :

Haha, I just plain forgot about the default projects. Glad that worked for you.

You should be able to use different languages in Keryx but we have not made much progress on the 0.92 branch because we have all been fairly busy and focusing on 1.0. We have patched 0.92 a couple times while we continue to work on 1.0 so that we still have releases going out.

As for your new error with delayed result in there, check out this thread on the forums: http://keryxproject.org/forums/index.php?topic=3&limit=1#p3

Revision history for this message
mac9416 (mac9416) wrote :

It's been a while, but I believe we fixed this. If the problem resurfaces, I'll change the bug status back.

Changed in keryx:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.