Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCODOC_R6A06
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jean-Marie Place
SCODOC_R6A06
Commits
eef00649
Commit
eef00649
authored
4 months ago
by
Emmanuel Viennet
Browse files
Options
Downloads
Patches
Plain Diff
Ameliore affichage diagnostic erreur export Apogée
parent
9387b7a5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/scodoc/sco_apogee_csv.py
+18
-15
18 additions, 15 deletions
app/scodoc/sco_apogee_csv.py
sco_version.py
+1
-1
1 addition, 1 deletion
sco_version.py
with
19 additions
and
16 deletions
app/scodoc/sco_apogee_csv.py
+
18
−
15
View file @
eef00649
...
...
@@ -793,25 +793,28 @@ class ApoData:
self
.
cur_semestre_id
==
s
[
"
semestre_id
"
]
for
s
in
self
.
sems_periode
):
# debugging information
log
(
msg
=
[
f
"""
*** ApoData.set() error !
ApoData( periode=
{
self
.
periode
}
, annee_scolaire=
{
self
.
annee_scolaire
}
, cur_semestre_id=
{
self
.
cur_semestre_id
}
)
{
len
(
self
.
sems_periode
)
}
semestres dans la periode:
"""
)
}
, cur_semestre_id=
{
self
.
cur_semestre_id
}
)
"""
,
f
"""
{
len
(
self
.
sems_periode
)
}
semestres dans la periode:
"""
,
]
for
s
in
self
.
sems_periode
:
log
(
pprint
.
pformat
(
s
))
msg
.
append
(
pprint
.
pformat
(
s
))
log
(
"
\n
"
.
join
(
msg
))
msg_htm
=
"
<br>
"
.
join
(
msg
)
raise
ScoValueError
(
f
"""
Incohérence détectée !
Les semestres de la période n
'
ont pas tous le même indice.
Période:
{
self
.
periode
}
. Indice courant:
{
self
.
cur_semestre_id
}
f
"""
Incohérence détectée !<br>
<br>
Les semestres de la période n
'
ont pas tous le même indice.<br>
Période:
{
self
.
periode
}
. Indice courant:
{
self
.
cur_semestre_id
}
<br>
<br>
{
msg_htm
}
<br>
<br>
(au besoin, contacter l
'
assistance sur
{
scu
.
SCO_DISCORD_ASSISTANCE
}
)
"""
"""
,
safe
=
True
,
)
# Cette condition sera inadaptée si semestres décalés
# (mais ils n'ont pas d'étape annuelle, espérons!)
...
...
This diff is collapsed.
Click to expand it.
sco_version.py
+
1
−
1
View file @
eef00649
...
...
@@ -3,7 +3,7 @@
"
Infos sur version ScoDoc
"
SCOVERSION
=
"
9.7.6
4
"
SCOVERSION
=
"
9.7.6
5
"
SCONAME
=
"
ScoDoc
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment