Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
positron
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Xiph.Org
  • positron
  • Issues
  • #408

Closed
Open
Opened Jul 12, 2003 by Gitlab Bot@GitlabBotDeveloper

Lines containing only the newline '\n' in ~/.positron/deleted cause sync to fail.

If a line exists inside the ~/.positron/deleted file that contains only a newline, syncing 
with positron will fail with the following error. 
 
Error: Neuros path does not start with C: or D: 
 
To reproduce just add som empty lines inside the deleted file by deleting, hitting enter 
etc..., and then running positron sync. 
 
 
Replacing the line: 
	return [trim_newline(item) for item in l if item != "" or item == "\n"] 
from the _get_list function of config.py with: 
	return [trim_newline(item) for item in l if item != "" and item != "\n"] 
fixes this problem for me.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/positron#408