Bug 250340 - Building egg fails with IOException: No such file or directory
Building egg fails with IOException: No such file or directory
Status: RESOLVED FIXED
Product: python
Classification: Unclassified
Component: Projects
8.1
PC All
: P2 (vote)
: TBD
Assigned To: Lou Dasaro
issues@python
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-10 12:41 UTC by ratanak
Modified: 2017-06-25 16:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
Use method that actually gets the path (895 bytes, patch)
2015-02-10 12:41 UTC, ratanak
Details | Diff
Patch for Clean and Build action (969 bytes, patch)
2015-02-10 12:42 UTC, ratanak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ratanak 2015-02-10 12:41:26 UTC
Created attachment 151922 [details]
Use method that actually gets the path

I was trying out the Python plugin and had an issue with building eggs. Apparently, the plugin is trying to set the working directory to the string representation of a FileObject (which is not the same as a path). Using the proper FileObject method getPath() solves the issue. Patch attached.
Comment 1 ratanak 2015-02-10 12:42:15 UTC
Created attachment 151923 [details]
Patch for Clean and Build action
Comment 2 Jenselme 2017-06-25 16:19:08 UTC
Solved in:
changeset:   18498:1520ed2e78e3
bookmark:    main
tag:         tip
parent:      18492:fcbdc73e2a68
user:        Julien Enselme <jenselme@netbeans.org>
date:        Sun Jun 25 18:17:37 2017 +0200
summary:     #250340: Building egg fails with IOException: No such file or directory

Thanks for providing the patch.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo