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 153688 - file open commands give ValueError not seen in shell
Summary: file open commands give ValueError not seen in shell
Status: CLOSED WORKSFORME
Alias: None
Product: python
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: ardavis26
URL: http://www.code-itch.com
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 01:02 UTC by Peter Lam
Modified: 2017-06-23 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-11-22 01:02:21 UTC
Transferred from https://nbpython.dev.java.net/issues/show_bug.cgi?id=25

The code
self.dfile = open(self.ddefilename , "read")
Gives error

    self.dfile = open(self.ddef , "read")
ValueError: Must have exactly one of read/write/append mode

This line Gives an error when run in nbpython but not when run externally using
python from a shell
Comment 1 Jenselme 2017-06-22 21:41:01 UTC
Not sure it is still relevant with the current version. Closing this as old bug. If this is still a thing, please reopen and accept my apologies.
Comment 2 Jiri Kovalsky 2017-06-23 08:06:33 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.