Opened 12 years ago

Closed 12 years ago

#3240 closed defect (fixed)

Log: looks for activities and log files in /home/olpc and not in the user directory

Reported by: godiard Owned by: humitos
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Log Version: Unspecified
Severity: Unspecified Keywords: 12.1.0, easy-hack, patch
Cc: humitos Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

The log collector prepare a list of the installed activities and include all the log files but using /home/olpc, not the user directory, then this is not right for users different to olpc.

Attachments (3)

0001-pep8-ized-logcollect.py.patch (20.0 KB) - added by humitos 12 years ago.
0002-Log-collector-adds-user-s-logs-and-list-installed-ac.patch (2.0 KB) - added by humitos 12 years ago.
0001-Collector-adds-user-s-logs-and-activities-SL-3240.patch (1.9 KB) - added by humitos 12 years ago.
Version withtout applying the pep8 patch before

Download all attachments as: .zip

Change History (12)

comment:1 Changed 12 years ago by godiard

  • Keywords easy-hack added

comment:2 Changed 12 years ago by godiard

  • Keywords 12.1.0 added

comment:3 Changed 12 years ago by godiard

  • Owner changed from wadeb to godiard
  • Status changed from new to assigned

comment:4 Changed 12 years ago by humitos

  • Cc humitos added

I'm not sure to understand the ticket description, can you clarify this a bit more?

comment:5 Changed 12 years ago by humitos

  • Owner changed from godiard to humitos
  • Status changed from assigned to accepted

comment:6 Changed 12 years ago by humitos

OK

I talked with Gonzalo about this ticket and he helped me to understand the problem.

These are the steps to reproduce the error:

  1. Open Log activity
  2. Click on the Log Activity Icon on the toolbar
  3. Click on "Log collector: capture information"
  4. Go to the Journal
  5. Drag and drop the "log-*.zip" file to the "Documents" icon (at the bottom of the frame)
  6. Go to the Terminal and "cd" into "~/Documents" and unzip it

Issue:

  • the info.txt doesn't list the activities installed on ~/Activities
  • all the logs inside ~/.sugar/default/logs are not added to the .zip

Expected behavior:

  • list the activities installed
  • attach the activities log in the .zip file

Changed 12 years ago by humitos

comment:7 Changed 12 years ago by humitos

  • Keywords patch added

comment:8 Changed 12 years ago by sascha_silbe

  • Summary changed from Log: look for activities and log files in /home/olpc and not in the user directory to Log: looks for activities and log files in /home/olpc and not in the user directory

Changed 12 years ago by humitos

Version withtout applying the pep8 patch before

comment:9 Changed 12 years ago by godiard

  • Resolution set to fixed
  • Status changed from accepted to closed

Pushed, will be available in Log 29

Note: See TracTickets for help on using tickets.