The firstrun wizard breaks on OS X

Bug #220090 reported by Yashka Oreza
4
Affects Status Importance Assigned to Milestone
LottaNZB
Fix Released
Medium
LottaNZB Development Team

Bug Description

One of the objects created by the first run wizard checks whether the hellanzb daemon is running - it does this by using the /proc filesystem - which doesn't exist on OS X - causing it to choke.

in utils.py, the objects Process and ProcessList use the /proc filesysem

If I comment out these in firstrun.py to get past the firstrun wizard, it works really well as a remote frontend for my linux nzb server.

Revision history for this message
Sander Tuit (avirulence) wrote :

Hi Yashka,

Thanks for reporting this! It would be good to have OS X support, we've been planning this for a while. However, none of us have an OS X system to test on. I couldn't use it in a virtual machine either.

Would you mind helping us with squasing the OS X bugs?

Changed in lottanzb:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Andrew Williams (nikdoof) wrote :

This is not just a OSX thing, as it would affect anyone running Darwin and some BSD distributions. We need some simple platform detection within the first-start and hella process management.

Yashka, are you using the GTK/PyGTK packages from DarwinPorts or another source?

Changed in lottanzb:
assignee: nobody → nikdoof
Revision history for this message
Yashka Oreza (yashka) wrote :

I'd be happy to help - I'm using the Imendio build system for GTK+ quartz/PyGTK

Unfortunately, there aren't packages yet and this is pretty annoying to build. Also, python applications aren't yet packagable so I'm running it from the terminal.

Revision history for this message
Severin H (severinh) wrote :

We finally got rid of the whole Process and ProcessList stuff in revision http://bazaar.launchpad.net/~lottanzb/lottanzb/main/revision/312 . So the next version of LottaNZB will probably run out of the box on Mac OS X.

Changed in lottanzb:
status: Triaged → In Progress
Revision history for this message
Severin H (severinh) wrote :

LottaNZB 0.3 is out now. The code responsible for breaking LottaNZB on OS X has gone. Wonder if the newest version does better.

Changed in lottanzb:
assignee: nikdoof → lottanzb
milestone: none → 0.3
status: In Progress → Fix Released
Revision history for this message
Yashka Oreza (yashka) wrote :

I just upgraded to 0.3 - confirmed that Lotta now works on OS X (as a remote frontend) with no problems at all!

Now all we need are a GTK/Quartz and pyGTK that we don't have to compile ourselves first! But that is most certainly not your problem :)

Revision history for this message
Severin H (severinh) wrote :

Hi Yashka Oreza,

this is great news! Would you mind writing a short guide on how to get LottaNZB working on OS X once there are proper GTK/Quartz and pyGTK packages for OS X? I guess it's requires quite a lot of work right now. And would it possible to run HellaNZB on OS X? It doesn't have many dependencies.

I'd really like to see a screenshot of LottaNZB running on OS X! :-D

Revision history for this message
Yashka Oreza (yashka) wrote :

Actually, I didn't even install it. I just ran 'python lottanzb.py' and it worked this time.
OS X is one of Hella's officially supported platforms, so there's no problem there.

Here's your screenshot!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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