v4 pickle not respecting read-only disk

Bug #1315134 reported by Zachary Marshall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Unassigned

Bug Description

Hi,

We have ReadWrite=False in our __init__.py file because the common installations are on a read-only disk. Still, it looks like the pickle command in madgraph/iolibs/import_v4.py L77 in v2.1.1 doesn't respect that setting and tries to pickle up the model no matter what. That line should be disabled when ReadWrite=False, or the model should be pickled elsewhere.

Thanks,
Zach

Related branches

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1315134] [NEW] v4 pickle not respecting read-only disk

Thanks Zach,

this is corrected in the development version of 2.1.2.

Cheers,

Olivier
On May 1, 2014, at 9:03 PM, Zachary Marshall <email address hidden> wrote:

> Public bug reported:
>
> Hi,
>
> We have ReadWrite=False in our __init__.py file because the common
> installations are on a read-only disk. Still, it looks like the pickle
> command in madgraph/iolibs/import_v4.py L77 in v2.1.1 doesn't respect
> that setting and tries to pickle up the model no matter what. That line
> should be disabled when ReadWrite=False, or the model should be pickled
> elsewhere.
>
>
> Thanks,
> Zach
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> MadGraph5_aMC@NLO.
> https://bugs.launchpad.net/bugs/1315134
>
> Title:
> v4 pickle not respecting read-only disk
>
> Status in MadGraph5_aMC@NLO Generator:
> New
>
> Bug description:
> Hi,
>
> We have ReadWrite=False in our __init__.py file because the common
> installations are on a read-only disk. Still, it looks like the
> pickle command in madgraph/iolibs/import_v4.py L77 in v2.1.1 doesn't
> respect that setting and tries to pickle up the model no matter what.
> That line should be disabled when ReadWrite=False, or the model should
> be pickled elsewhere.
>
>
> Thanks,
> Zach
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mg5amcnlo/+bug/1315134/+subscriptions

Changed in mg5amcnlo:
status: New → Fix Committed
Changed in mg5amcnlo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.