This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250340 - Building egg fails with IOException: No such file or directory
Summary: Building egg fails with IOException: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Projects (show other bugs)
Version: 8.1
Hardware: PC All
: P2 normal (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
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
Exception Reporter:


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.