ox icon indicating copy to clipboard operation
ox copied to clipboard

[Windows] The system cannot find the path specified.

Open Techassi opened this issue 5 years ago • 3 comments

Describe the bug On Windows Im unable to use/open ox with the following error The system cannot find the path specified.

To Reproduce Steps to reproduce the behavior:

  1. Try to execute ox

Expected behavior Ox opens.

Stack Trace

thread 'main' panicked at 'Err(Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." })', src\main.rs:65:5
stack backtrace:
   0:     0x7ff79fedb82d - <unknown>
   1:     0x7ff79fe564bb - <unknown>
   2:     0x7ff79feda571 - <unknown>
   3:     0x7ff79fed9cec - <unknown>
   4:     0x7ff79fee0daa - <unknown>
   5:     0x7ff79fee0d77 - <unknown>
   6:     0x7ff79fee0d1f - <unknown>
   7:     0x7ff79fee0ce0 - <unknown>
   8:     0x7ff79fdf5875 - <unknown>
   9:     0x7ff79fda38f6 - <unknown>
  10:     0x7ff79fe01a96 - <unknown>
  11:     0x7ff79fef6824 - <unknown>
  12:     0x7ffa94027034 - BaseThreadInitThunk
  13:     0x7ffa949fcec1 - RtlUserThreadStart

Desktop (please complete the following information):

  • OS: Windows
  • Ox version: 0.2.7

It seems like ox is trying to open /tmp/ox.log which sadly doesn't exist on Windows. Maybe you should use the system-wide temporary directory (maybe via std::env::temp_dir). Note: Im not a Rust developer, I just did some quick googling

Techassi avatar Dec 01 '20 16:12 Techassi

Any update on this @curlpipe ?

Techassi avatar Feb 01 '21 00:02 Techassi

yes, apologies for the late response, I've been rewriting ox recently and this problem is no longer present, I've been very busy recently but it is going well.

curlpipe avatar Feb 01 '21 00:02 curlpipe

Okay great to hear. I'm curious to check out the new version!

Techassi avatar Feb 01 '21 00:02 Techassi