Author Topic: (Not) Bug while opening a network resource  (Read 6482 times)

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
(Not) Bug while opening a network resource
« on: 2007 February 15 08:29:15 »
I'm not able to reproduce this anymore but, just in case someone has a network and wants to try...

Open PixInsight Standard, go to File -> Open and in the text box type two slashes followed by the name of one of the hosts in your network (for example "//host"). When I did this, a dialog informed me about an exception in PixInsight. But today, I just get a "File not found" message.

I'm playing with using the name or the IP, using forward or backslashes...  but there's no apparent way to reproduce this :evil: . Version 01.00.10.0248, Win XP Pro SP2 (under VMWare).
--
 David Serrano

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
(Not) Bug while opening a network resource
« Reply #1 on: 2007 February 15 09:48:47 »
Hola David

Thank you for the report.

As far as I can test on my local network right now (4 machines), UNC path names work seamlessly on (real) XP SP2. Must be an VMWare issue...

Try using the open command from the console, e.g.:

   open //host/foo/bar.jpg

There is a possibility that you've discovered a problem with Qt's file dialogs running on virtual environments. In this case, since the open command doesn't use Qt code at all, it should work. Otherwise, it's quite probably a problem with VMWare.

By the way, are you running VMWare on a Linux box? What distro?

Cheers,
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
(Not) Bug while opening a network resource
« Reply #2 on: 2007 February 15 16:02:00 »
Quote from: "juan_conejero"
Must be an VMWare issue...


Maybe, but I would be greatly surprised if it were so.

Finally I got it :^).

This network share is protected by a password. When I go to File -> Open and type "//genus", I get the mentioned "File not found" error. Then I browse to the remote host with windows explorer, enter the user/password combo and from that moment on, PixInsight works as expected and recognizes "//genus" as a remote path, showing me its contents.

However, if I reboot windows, browse to the remote host, enter the password, run PixInsight, do File -> Open and type "//genus", I get:

Code: [Select]
At address 007AB053 with exception code C0000005 :
Access violation: invalid memory read operation at address 00000000


Honestly I have no idea about who's to blame: PixInsight, windows, VMWare... In any case, accepting the error dialog and trying again works as expected.

Quote from: "juan_conejero"
Try using the open command from the console, e.g.:

   open //host/foo/bar.jpg


Did it ("open //genus/pix0rz/200702-m63-jim-misty/02-color-nr.fit"), and got:

Code: [Select]
open
No image files were loaded.


This happens even when I can go to //genus successfully via the Open dialog.

Quote from: "juan_conejero"
By the way, are you running VMWare on a Linux box? What distro?


Yup. VMWare Workstation 5.5.1 on a Debian unstable, Linux 2.6.14 system, running samba 3 for SMB communication.

I'm looking forward to see some Linux release of PixInsight soon (even an alpha one), and would be glad to help debugging it. I feel comfortable reading the output of strace and know how to use some basic gdb commands.
--
 David Serrano